INTERFACE:
subroutine restFile_write( file, nlend, noptr, rdate )DESCRIPTION:
Read/write CLM restart file.
USES:
use clm_time_manager , only : timemgr_restart_io, get_nstep
use subgridRestMod , only : SubgridRest
use BiogeophysRestMod, only : BiogeophysRest
#if (defined CN)
use CNRestMod , only : CNRest
use CropRestMod , only : CropRest
#endif
#if (defined RTM)
use RtmMod , only : RTMRest
#endif
#if (defined CASA)
use CASAMod , only : CASARest
#endif
use accumulMod , only : accumulRest
use histFileMod , only : hist_restart_ncd
ARGUMENTS:
implicit none
character(len=*) , intent(in) :: file ! output netcdf restart file
logical, intent(in) :: nlend ! if at the end of the simulation
character(len=*) , intent(in) :: rdate ! restart file time stamp for name
logical, intent(in), optional :: noptr ! if should NOT write to the restart pointer file
CALLED FROM:
subroutine clm_driver2REVISION HISTORY:
Author: Mariana VertensteinLOCAL VARIABLES: