next up previous contents
Next: 7.6 Example 6. Generation Up: 7 Offline Mode Namelist Previous: 7.4 Example 4: Auxiliary   Contents

7.5 Example 5. Generation of regional grid surface dataset


A regular grid surface dataset can be generated at run time for a single gridcell or for gridcells comprising a regular regional or global domain. To generate a surface dataset for a regional run, the cpp tokens LSMLON and LSMLAT must be set to the desired resolution (e.g., LSMLON=1, LSMLAT=1 for a single point simulation) and the variables MKSRF_OFFLINE_EDGES, MKSRF_OFFLINE_EDGEN, MKSRF_OFFLINE_EDGEE, and MKSRF_OFFLINE_EDGEW and their values need to be added to the namelist. A surface dataset will be created with the name surface-data.LSMLONxLSMLAT.nc (e.g., for a single point simulation the file name will be surface-data.001x001.nc). The model can then be run for the single point or for the regional domain by following Example 1 where FSURDAT is set to the new surface dataset.

In the following example, a regional grid is created over the amazon. LSMLON and LSMLAT should be set to 15 and 11, respectively to obtain an regional surface dataset on a 3x3 grid.

 &clmexp     
 CASEID                 = 'create_regional_surfdat' 
 NSREST                 = 0 
 NESTEP                 = 2 
 START_YMD              = 19971231 
 DTIME                  = 1800 
 FSURDAT                = ' '   
 FRIVINP_RTM            = '$CSMDATA/rtmdata/rdirc.05' 
 FPFTCON                = '$CSMDATA/pftdata/pft-physiology' 
 OFFLINE_ATMDIR         = '$CSMDATA/NCEPDATA' 
 MKSRF_OFFLINE_FNAVYORO = '$CSMDATA/rawdata/mksrf_navyoro_20min.nc' 
 MKSRF_FVEGTYP          = '$CSMDATA/rawdata/mksrf_pft.nc' 
 MKSRF_FSOITEX          = '$CSMDATA/rawdata/mksrf_soitex.10level.nc' 
 MKSRF_FSOICOL          = '$CSMDATA/rawdata/mksrf_soicol_clm2.nc' 
 MKSRF_FLANWAT          = '$CSMDATA/rawdata/mksrf_lanwat.nc' 
 MKSRF_FGLACIER         = '$CSMDATA/rawdata/mksrf_glacier.nc' 
 MKSRF_FURBAN           = '$CSMDATA/rawdata/mksrf_urban.nc' 
 MKSRF_FLAI             = '$CSMDATA/rawdata/mksrf_lai.nc' 
 MKSRF_OFFLINE_EDGEN    =  12 
 MKSRF_OFFILNE_EDGES    = -21 
 MKSRF_OFFLINE_EDGEE    = -36 
 MKSRF_OFFLINE_EDGEW    = -81 
 /


FSURDAT = ' '
A surface dataset named surface-data.LSMLONXLSMLAT.nc will be created in the model executable directory. LSMLON and LSMLAT are defined in jobscript.csh (see 3.1.3).


MKSRF_OFFLINE_FNAVYORO = '$CSMDATA/rawdata/mksrf_navyoro_20min.nc'
Points to the orography dataset used to derive the model's land mask in offline mode. The environment variable $CSMDATA is explained in 3.1.1.


MKSRF_FVEGTYP, MKSRF_FSOITEX, MKSRF_FSOICOL, MKSRF_FLANWAT, MKSRF_FGLACIER, MKSRF_FURBAN, and MKSRF_FLAI
Specify the raw (usually high resolution) input datasets used to create the model surface dataset.


MKSRF_OFFLINE_EDGES, MKSRF_OFFLINE_EDGEN, MKSRF_OFFLINE_EDGEE, and MKSRF_OFFLINE_EDGEW
Must be defined for the desired model regional domain. The units are degrees north for edges and edgen and degrees east for edgee and edgew.


next up previous contents
Next: 7.6 Example 6. Generation Up: 7 Offline Mode Namelist Previous: 7.4 Example 4: Auxiliary   Contents
csm@ucar.edu