next up previous contents
Next: Fortran: Module Interface DUSTMod Up: Fortran: Module Interface CropRestMod Previous: CropRestIncYear   Contents

checkDates


INTERFACE:

   subroutine checkDates( )
DESCRIPTION:

Make sure the dates are compatible. The date given to startup the model and the date on the restart file must be the same although years can be different. The dates need to be checked when the restart file is being read in for a startup or branch case (they are NOT allowed to be different for a restart case).

For the prognostic crop model the date of planting is tracked and growing degree days is tracked (with a 20 year mean) - so shifting the start dates messes up these bits of saved information.


USES:

ARGUMENTS:
     use clm_time_manager, only : get_driver_start_ymd, get_start_date
     use clm_varctl      , only : iulog
     use clm_varctl      , only : nsrest, nsrBranch, nsrStartup
REVISION HISTORY:
   Author: Erik Kluzek



Erik Kluzek 2011-06-15