Skip to content

Commit

Permalink
use gddmin as minimum GDD requirement if generate_crop_gdds true.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Jan 3, 2023
1 parent 8a18ea8 commit f78a19c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/biogeochem/CNPhenologyMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2610,6 +2610,10 @@ subroutine PlantCrop(p, leafcn_in, jday, kyr, do_plant_normal, &
gddmaturity(p) = min(gdd020(p), hybgdd(ivt(p)))
end if

if (generate_crop_gdds) then
gddmaturity(p) = max(gddmaturity(p), gddmin(ivt(p)))
endif

endif

end associate
Expand Down

0 comments on commit f78a19c

Please sign in to comment.