Skip to content

Commit

Permalink
Merge pull request #427 from martynpclark/bugFix/stability
Browse files Browse the repository at this point in the history
add the choice of soil and veg tables to the global attributes
  • Loading branch information
bartnijssen authored Sep 16, 2020
2 parents cf6177f + 4057d85 commit d9d5dd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/source/engine/mDecisions.f90
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ subroutine mDecisions(err,message)
OPT_RAD=3 ! option for canopy radiation
OPT_ALB=2 ! option for snow albedo

! set zero option for thee category tables
! NOTE: we want to keep track of these decisions, but not used in the physics routines
model_decisions(iLookDECISIONS%soilCatTbl)%iDecision = 0
model_decisions(iLookDECISIONS%vegeParTbl)%iDecision = 0

! identify the choice of function for the soil moisture control on stomatal resistance
select case(trim(model_decisions(iLookDECISIONS%soilStress)%cDecision))
case('NoahType'); model_decisions(iLookDECISIONS%soilStress)%iDecision = NoahType ! thresholded linear function of volumetric liquid water content
Expand Down

0 comments on commit d9d5dd8

Please sign in to comment.