[Dart-dev] [5478] DART/branches/development/models/cam/shell_scripts/clm.cpl7.template : fixed problem with nrevsn

nancy at ucar.edu nancy at ucar.edu
Fri Jan 6 09:49:50 MST 2012


Revision: 5478
Author:   thoar
Date:     2012-01-06 09:49:49 -0700 (Fri, 06 Jan 2012)
Log Message:
-----------
fixed problem with nrevsn

Modified Paths:
--------------
    DART/branches/development/models/cam/shell_scripts/clm.cpl7.template

-------------- next part --------------
Modified: DART/branches/development/models/cam/shell_scripts/clm.cpl7.template
===================================================================
--- DART/branches/development/models/cam/shell_scripts/clm.cpl7.template	2012-01-05 22:34:49 UTC (rev 5477)
+++ DART/branches/development/models/cam/shell_scripts/clm.cpl7.template	2012-01-06 16:49:49 UTC (rev 5478)
@@ -41,24 +41,26 @@
 # BUT -- we don't have CLM datasets available for these resolutions
 setenv CLM_RTM_RES "R05"
 
-set nrevsn = " "
-if ($RUN_TYPE == branch) set nrevsn  = " nrevsn  = '${RUN_REFCASE}.clm2.r.${RUN_REFDATE}-${RUN_REFTOD}.nc'"
-
 @ clm_dtime  = ( 3600 * 24 ) / $LND_NCPL
 
 set rtm_tstep = " -rtm_tstep 10800 "             # RTM time-step every 3 hours
 set rtm_res   = " -rtm_res $CLM_RTM_RES"
 set co2ppmv   = " -co2_ppmv $CCSM_CO2_PPMV"
-set co2type   = " co2_type  =  '$CLM_CO2_TYPE'"
+set co2type   = " '$CLM_CO2_TYPE'"
 
 cat >> $cfgdir/cesm_namelist << EOF1
  &clm_inparm
  dtime            =  $clm_dtime
  fatmlndfrc       =  '${LND_DOMAIN_PATH}/${LND_DOMAIN_FILE}'
-$co2type
-$nrevsn
+ co2_type         =  $co2type
 EOF1
 
+if ($RUN_TYPE == branch ) then
+cat >> $cfgdir/cesm_namelist << EOF1
+ nrevsn  = '${RUN_REFCASE}.clm2.r.${RUN_REFDATE}-${RUN_REFTOD}.nc'
+EOF1
+endif
+
 if ($RUN_TYPE == hybrid ) then
 cat >> $cfgdir/cesm_namelist << EOF1
  finidat = '\${RUN_REFCASE}.clm2_\${lnd_inst_string}.r.\${RUN_REFDATE}-\${RUN_REFTOD}.nc' 
@@ -69,7 +71,6 @@
 /
 EOF1
 
-
 # Allow the user to supply namelist values by putting them in the file
 # $CASEROOT/user_nl_clm.  The file should contain
 # a valid namelist.


More information about the Dart-dev mailing list