[Dart-dev] DART/branches Revision: 10859

dart at ucar.edu dart at ucar.edu
Tue Jan 3 10:58:57 MST 2017


thoar at ucar.edu
2017-01-03 10:58:55 -0700 (Tue, 03 Jan 2017)
393
Reintegrating the rma_cice branch to the rma_trunk.
Note: the io_filenames_mod.f90 is in such a state of flux that it cannot be consistent
for all models currently useful on the rma_trunk, so I'm not changing it.
This means the models/cice scripting is not consistent with what is on the rma_trunk.
When the file names are solidified, the scripting for many models will need to be
revisited.




Modified: DART/branches/rma_trunk/models/cice/shell_scripts/CESM1_5_DART_config
===================================================================
--- DART/branches/rma_trunk/models/cice/shell_scripts/CESM1_5_DART_config	2017-01-03 16:59:58 UTC (rev 10858)
+++ DART/branches/rma_trunk/models/cice/shell_scripts/CESM1_5_DART_config	2017-01-03 17:58:55 UTC (rev 10859)
@@ -13,21 +13,16 @@
 # This script integrates DART with a pre-existing CESM multi-instance case.
 # It must be run from a valid CASEROOT directory and some environment variables
 # must be set (as in CESM#_#_setup_YYY). If the case was created
-# using one of the DART scripts, this script should be staged in the
+# using one of the DART scripts, a copy of this script  be staged in the
 # CASEROOT directory automatically, and DARTROOT is set at that time.
 #
-# CAM is the only active model component.
-# CESM starts and stops to allow for CAM to assimilate every 6 hours.
+# CICE is the only active model component.
+# CESM starts and stops to allow for CICE to assimilate every 24 hours.
 #
 # This script will build the DART executables if they are not found.
 #
-# There are many CESM binary files in big-endian format, and DART reads
-# some of them, so you MUST compile DART accordingly e.g.,
-# ifort -convert big_endian
-# Contact dart at ucar.edu if you want to use another compiler.
-#
 # ---------------------
-# How to set up the script
+# How to configure this script
 # ---------------------
 #
 # -- Ensure DARTROOT references a valid DART directory.
@@ -37,7 +32,7 @@
 #       sampling error correction
 # -- Run this script.
 # -- Edit the DART input.nml that appears in the ${CASEROOT} directory.
-# -- Submit the job using ${CASEROOT}/${CASE}.submit
+# -- Submit the job using ${CASEROOT}/case.submit
 #
 # ==============================================================================
 # Get the environment of the case - defines number of instances/ensemble size ...
@@ -49,22 +44,32 @@
    exit -1
 endif
 
-setenv CASE      `./xmlquery CASE           -value`
-setenv CASEROOT  `./xmlquery CASEROOT       -value`
-setenv COMPSET   `./xmlquery COMPSET        -value`
-setenv EXEROOT   `./xmlquery EXEROOT        -value`
-setenv RUNDIR    `./xmlquery RUNDIR         -value`
-setenv NINST_ICE `./xmlquery NINST_ICE      -value`
+setenv CASE          `./xmlquery CASE       -value`
+setenv CASEROOT      `./xmlquery CASEROOT   -value`
+setenv COMPSET       `./xmlquery COMPSET    -value`
+setenv EXEROOT       `./xmlquery EXEROOT    -value`
+setenv RUNDIR        `./xmlquery RUNDIR     -value`
+setenv NINST_ICE     `./xmlquery NINST_ICE  -value`
+setenv ICE_COMPONENT `./xmlquery COMP_ICE   -value`
 
+# Check to make sure we are running what we are supporting
+
+if ( $ICE_COMPONENT != 'cice' ) then
+   echo "ERROR: This configuration file is specifically for _CICE_."
+   echo "ERROR: the ice component for this case is _${ICE_COMPONENT}_"
+   exit 1
+endif
+
 set num_instances = $NINST_ICE
 
 ./xmlchange DATA_ASSIMILATION=TRUE
 ./xmlchange DATA_ASSIMILATION_CYCLES=1
 ./xmlchange DATA_ASSIMILATION_SCRIPT=${CASEROOT}/assimilate.csh
 
-# DARTROOT is set by the DART CESM_configure scripts. Under certain
-# situations, you may need to set this manually. It should reference the
-# base portion of the DART code tree.
+# BOGUS_DART_ROOT_STRING and BOGUS_DART_OBS_STRING are replaced by useful
+# values by the CESM_configure script.
+# It should reference the
+# base portion of the DART code tree. 
 
 setenv DARTROOT  BOGUS_DART_ROOT_STRING
 setenv OBSROOT   BOGUS_DART_OBS_STRING
@@ -257,6 +262,24 @@
 ./update_dart_namelists || exit -9
 
 #=========================================================================
+# things to think about as pertains archiving.
+#=========================================================================
+#
+# The env_archive.xml file does not natively support the cice archiving
+# and must be changed and augmented
+#
+# Existing:
+#  <file_extension regex_suffix="cam_\w*pr\w*inflate_restart\w*">
+#  <file_extension regex_suffix="cam_\w*po\w*inflate_restart\w*">
+#  <file_extension regex_suffix="clm_\w*pr\w*inflate_restart\w*">
+#  <file_extension regex_suffix="clm_\w*po\w*inflate_restart\w*">
+#  <file_extension regex_suffix="pop_\w*pr\w*inflate_restart\w*">
+#  <file_extension regex_suffix="pop_\w*po\w*inflate_restart\w*">
+#
+# Proposed .... TBD
+


More information about the Dart-dev mailing list