Skip to content

Commit

Permalink
Revert "To match old code, don't allow 'crop alive at beginning of ye…
Browse files Browse the repository at this point in the history
…ar' bug for winter wheat."

This reverts commit f9989a7.
  • Loading branch information
samsrabin committed Mar 22, 2022
1 parent f9989a7 commit 504807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biogeochem/CNPhenologyMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@ subroutine CropPhenology(num_pcropp, filter_pcropp , &

! Simplest case: It's the beginning of the Hyear and the crop is alive.
if ( jday == jdayyrstart(h) .and. mcsec == 0 ) then
if (croplive(p) .and. (.not. (ivt(p) == nwwheat .or. ivt(p) == nirrig_wwheat))) then
if (croplive(p)) then
crop_inst%croplive_beghemyr_patch(p) = 1
else
crop_inst%croplive_beghemyr_patch(p) = 0
Expand Down

0 comments on commit 504807d

Please sign in to comment.