[Dart-dev] [7946] DART/trunk/models/cam/shell_scripts: minor change to a comment in the assimilate.csh script.

nancy at ucar.edu nancy at ucar.edu
Thu Apr 30 15:11:34 MDT 2015


Revision: 7946
Author:   nancy
Date:     2015-04-30 15:11:34 -0600 (Thu, 30 Apr 2015)
Log Message:
-----------
minor change to a comment in the assimilate.csh script.

add the required smaller dtime for WACCM in the CESM
setup scripts. also a couple minor changes to keep them
more in sync with each other.  Should NOT have any 
executable code changes other than the WACCM timestep.

Modified Paths:
--------------
    DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_advanced
    DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_hybrid
    DART/trunk/models/cam/shell_scripts/assimilate.csh

-------------- next part --------------
Modified: DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_advanced
===================================================================
--- DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_advanced	2015-04-30 20:52:00 UTC (rev 7945)
+++ DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_advanced	2015-04-30 21:11:34 UTC (rev 7946)
@@ -875,17 +875,25 @@
    echo " nhtfrq        = -$stop_n "                      >> ${fname}
    echo " mfilt         = 1 "                             >> ${fname}
 
-   # CAM forcing files.
-   # Some of the files specified here are because the default files only
-   # contain data through 2005 and we are interested in timeframes after that.
 
-   # CAM5 does prognostic aerosols by default (which is expensive).
-   # Specifying the following causes CAM to use prescribed aerosols, which is cheaper.
-   # Prescribed aerosols on the timescales of interest to assimilation are acceptable.
-   # WACCM5 should not have these set.
+   # Settings that differ between regular CAM and the WACCM version:
 
-   if ($waccm == false ) then
+   if ($waccm == true ) then
 
+    # WACCM requires a reduced time step for stability.
+    echo "dtime = 900"                                    >> ${fname}
+
+   else
+
+      # CAM forcing files.
+      # Some of the files specified here are because the default files only
+      # contain data through 2005 and we are interested in timeframes after that.
+
+      # CAM5 does prognostic aerosols by default (which is expensive).
+      # Specifying the following causes CAM to use prescribed aerosols, which is cheaper.
+      # Prescribed aerosols on the timescales of interest to assimilation are acceptable.
+      # WACCM5 should not have these set.
+
       set chem_datapath = "${cesmdata}/atm/cam/chem/trop_mozart_aero"
 
       echo "prescribed_ozone_file = 'ozone_1.9x2.5_L26_1850-2015_rcp45_c101108.nc'"                   >> ${fname}
@@ -897,6 +905,7 @@
       echo "aerodep_flx_cycle_yr   = 2000"                                                            >> ${fname}
 
       if ($start_year > 2005 && $start_year <= 2010) then
+
          # As of April 2015, the default files only run through 2005.
          # Specifying non-default files for assimilation for years 2006-2010.
          # Update as needed and newer files become available.

Modified: DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_hybrid
===================================================================
--- DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_hybrid	2015-04-30 20:52:00 UTC (rev 7945)
+++ DART/trunk/models/cam/shell_scripts/CESM1_2_1_setup_hybrid	2015-04-30 21:11:34 UTC (rev 7946)
@@ -231,7 +231,7 @@
 #      less than 10 minutes on yellowstone using 1800 pes (120 nodes)
 # ==============================================================================
 
-setenv ACCOUNT      ZZZZZZZZ
+setenv ACCOUNT      NIMGxxxx
 setenv queue        economy
 setenv timewall     0:20
 
@@ -552,7 +552,7 @@
    echo "ERROR - No SourceMods for this case."
    echo "ERROR - No SourceMods for this case."
    echo "DART requires modifications to several src files."
-   echo "Download the appropriate files for CESM 1_2_1 from:"
+   echo "Download the appropriate files for "$cesmtag" from:"
    echo "http://www.image.ucar.edu/pub/DART/CESM"
    echo "untar these into your HOME directory - they will create a"
    echo "~/cesm1_2_1  directory with the appropriate SourceMods structure."
@@ -598,7 +598,7 @@
 
 # Need to know if we are using WACCM (aka WCCM) for several reasons.
 # Mostly file managment issues.
-set waccm = `echo $CCSM_COMPSET | grep WCCM`
+set waccm = `echo $CCSM_COMPSET | grep CCM`
 if ($status == 0) then
    set waccm = true
 else
@@ -731,17 +731,25 @@
    echo " nhtfrq        = -$stop_n "                      >> ${fname}
    echo " mfilt         = 1 "                             >> ${fname}
 
-   # CAM forcing files.
-   # Some of the files specified here are because the default files only
-   # contain data through 2005 and we are interested in timeframes after that.
 
-   # CAM5 does prognostic aerosols by default (which is expensive).
-   # Specifying the following causes CAM to use prescribed aerosols, which is cheaper.
-   # Prescribed aerosols on the timescales of interest to assimilation are acceptable.
-   # WACCM5 should not have these set.
+   # Settings that differ between regular CAM and the WACCM version:
 
-   if ($waccm == false ) then
+   if ($waccm == true ) then
 
+    # WACCM requires a reduced time step for stability.
+    echo "dtime = 900"                                    >> ${fname}
+
+   else
+
+    # CAM forcing files.
+    # Some of the files specified here are because the default files only
+    # contain data through 2005 and we are interested in timeframes after that.
+
+    # CAM5 does prognostic aerosols by default (which is expensive).
+    # Specifying the following causes CAM to use prescribed aerosols, which is cheaper.
+    # Prescribed aerosols on the timescales of interest to assimilation are acceptable.
+    # WACCM5 should not have these set.
+
     set chem_datapath = "${cesmdata}/atm/cam/chem/trop_mozart_aero"
 
     echo " prescribed_ozone_file = 'ozone_1.9x2.5_L26_1850-2015_rcp45_c101108.nc'"               >> ${fname}
@@ -752,6 +760,10 @@
     echo "aerodep_flx_type       = 'CYCLICAL'"                                                   >> ${fname}
     echo "aerodep_flx_cycle_yr   = 2000"                                                         >> ${fname}
 
+    # As of April 2015, the default files only run through 2005.
+    # Specifying non-default files for assimilation for years 2006-2010.
+    # Update as needed and newer files become available.
+
     echo " ext_frc_specifier     = "                                                             >> ${fname}
     echo " 'SO2    -> ${chem_datapath}/emis/ar5_mam3_so2_elev_1850-2010_c20100902_v12.nc',"      >> ${fname}
     echo " 'bc_a1  -> ${chem_datapath}/emis/ar5_mam3_bc_elev_1850-2010_c20100902_v12.nc',"       >> ${fname}

Modified: DART/trunk/models/cam/shell_scripts/assimilate.csh
===================================================================
--- DART/trunk/models/cam/shell_scripts/assimilate.csh	2015-04-30 20:52:00 UTC (rev 7945)
+++ DART/trunk/models/cam/shell_scripts/assimilate.csh	2015-04-30 21:11:34 UTC (rev 7946)
@@ -182,7 +182,7 @@
 # The inflation values change through time and should be archived.
 #
 # This file is only relevant if 'inflation' is turned on -
-# i.e. if inf_flavor(1) /= 0 AND inf_initial_from_restart = .TRUE.
+# i.e. if inf_flavor(:) /= 0 AND inf_initial_from_restart = .TRUE.
 #
 # filter_nml
 # inf_flavor                  = 2,                       0,


More information about the Dart-dev mailing list