INTERFACE:
subroutine initialize2( )DESCRIPTION:
Land model initialization. o Initializes run control variables via the [clm_inparm] namelist. o Reads surface data on model grid. o Defines the multiple plant types and fraction areas for each surface type. o Builds the appropriate subgrid <-> grid mapping indices and weights. o Set up parallel processing. o Initializes time constant variables. o Reads restart data for a restart or branch run. o Reads initial data and initializes the time variant variables for an initial run. o Initializes history file output. o Initializes river routing model. o Initializes accumulation variables.
USES:
use clm_atmlnd , only : init_atm2lnd_type, init_lnd2atm_type, & clm_a2l, clm_l2a, atm_a2l, atm_l2a, & init_adiag_type use initGridCellsMod, only : initGridCells use clm_varctl , only : finidat, fpftdyn, fndepdyn use clmtypeInitMod , only : initClmtype use domainMod , only : gatm use domainMod , only : ldomain, adomain use decompMod , only : adecomp,ldecomp use areaMod , only : map1dl_a2l, map1dl_l2a use areaMod , only : map_setmapsFM use decompMod , only : get_proc_clumps, get_clump_bounds, & get_proc_bounds, get_proc_bounds_atm use filterMod , only : allocFilters, setFilters use histFldsMod , only : hist_initFlds use histFileMod , only : hist_htapes_build use restFileMod , only : restFile_getfile, & restFile_open, restFile_close, & restFile_read, restFile_read_binary use accFldsMod , only : initAccFlds, initAccClmtype use mkarbinitMod , only : mkarbinit use ndepFileMod , only : ndepdyn_init, ndepdyn_interp use pftdynMod , only : pftdyn_init, pftdyn_interp #if (defined CNDV) use pftdynMod , only : pftwt_init, pftwt_interp use CNDVEcosystemDyniniMod, only : CNDVEcosystemDynini #elif (!defined CN) use STATICEcosysDynMod , only : EcosystemDynini, readAnnualVegetation #endif #if (defined DUST) use DustMod , only : Dustini #endif #if (defined CASA) use CASAMod , only : initCASA use CASAPhenologyMod, only : initCASAPhenology #if (defined CLAMP) use CASAiniTimeVarMod,only : CASAiniTimeVar #endif #endif #if (defined RTM) use RtmMod , only : Rtmini #endif use clm_time_manager, only : get_curr_date, get_nstep, advance_timestep, & timemgr_init, timemgr_restart_io, timemgr_restart use fileutils , only : getfil use UrbanMod , only : UrbanClumpInit use UrbanInitMod , only : UrbanInitTimeConst, UrbanInitTimeVar, UrbanInitAero use UrbanInputMod , only : UrbanInputREVISION HISTORY:
Created by Gordon Bonan, Sam Levis and Mariana VertensteinLOCAL VARIABLES: