Read/Write to/from Crop info to CLM restart file.
USES:
use shr_kind_mod, only : r8 => shr_kind_r8 use spmdMod , only : masterproc use abortutils , only : endrunPUBLIC TYPES:
implicit none private savePUBLIC MEMBER FUNCTIONS:
public :: CropRest ! Restart prognostic crop model public :: CropRestYear ! Get the number of years crop has spunup public :: CropRestIncYear ! Increment the crop spinup yearsREVISION HISTORY:
Module created by slevis following CNRestMod by Peter Thornton !PRIVATE DATA MEMBERS: integer, parameter :: unset = -999 ! Flag that restart year is not set integer :: restyear = unset ! Restart year from the initial conditions file