Erik Kluzek < erik > - 2016-11-09 13:14:01 -0700Bugzilla Id:2372Bugzilla CC: rfisher,
The following shouldn't depend on readvar for unrelated variables...
Index: CropType.F90
===================================================================
--- CropType.F90 (revision 81586)
+++ CropType.F90 (working copy)
@@ -429,8 +429,10 @@
dim1name='pft', long_name='crop phenology phase', &
units='0-not planted, 1-planted, 2-leaf emerge, 3-grain fill, 4-harvest', &
interpinic_flag='interp', readvar=readvar, data=this%cphase_patch)
- if (flag=='read' .and. readvar) then
- call this%checkDates( )
+ if (flag=='read' )then
+ call this%checkDates( ) ! Check that restart date is same calendar date (even if year is different)
+ ! This is so that it properly goes through
+ ! the crop phases
end if
end if
Erik Kluzek < erik > - 2016-11-09 13:14:01 -0700 Bugzilla Id: 2372 Bugzilla CC: rfisher,
The following shouldn't depend on readvar for unrelated variables...