From 4057d855b19bb1f340775da7a468d971b1282204 Mon Sep 17 00:00:00 2001 From: Martyn Clark Date: Wed, 16 Sep 2020 17:11:32 -0600 Subject: [PATCH] output the choice of soil and veg tables as global attributes --- build/source/engine/mDecisions.f90 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/source/engine/mDecisions.f90 b/build/source/engine/mDecisions.f90 index eaabef181..684250027 100755 --- a/build/source/engine/mDecisions.f90 +++ b/build/source/engine/mDecisions.f90 @@ -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