[Dart-dev] DART/branches Revision: 12394

dart at ucar.edu dart at ucar.edu
Fri Feb 2 11:50:08 MST 2018


thoar at ucar.edu
2018-02-02 11:50:08 -0700 (Fri, 02 Feb 2018)
48
First stab at a pmo script for CESM2_0 and CLM




Added: DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_pmo
===================================================================
--- DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_pmo	                        (rev 0)
+++ DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_pmo	2018-02-02 18:50:08 UTC (rev 12394)
@@ -0,0 +1,773 @@
+#!/bin/csh
+#
+# DART software - Copyright UCAR. This open source software is provided
+# provided by UCAR, "as is", without charge, subject to all terms of use at
+# http://www.image.ucar.edu/DAReS/DART/DART_download
+#
+# DART $Id: CESM1_2_1_setup_pmo 12355 2018-01-18 00:25:07Z thoar at ucar.edu $
+
+#-----------------------------------------------------------------------
+# Purpose, describe things here, etc.
+#-----------------------------------------------------------------------
+
+# ==============================================================================
+# Options defining the experiment:
+#
+# CASE          The value of "CASE" will be used many ways; directory and file
+#               names both locally and (possibly) on the HPSS, and script names;
+#               so consider its length and information content.
+# compset       Defines the vertical resolution and physics packages to be used.
+#               Must be a standard CESM compset; see the CESM documentation.
+# resolution    Defines the horizontal resolution and dynamics; see CESM docs.
+# cesmtag       The version of the CESM source code to use when building the code.
+# num_instances The number of ensemble members.
+# ==============================================================================
+# 2000_DATM%QIA_CLM40%CN_SICE_SOCN_RTM_SGLC_SWAV (I_2000_CN)       (ICN)
+# 2000_DATM%QIA_CLM45%CN_SICE_SOCN_RTM_SGLC_SWAV (I_2000_CLM45_CN) (ICLM45CN)
+# 2000_DATM%QIA_CLM45%BGC_SICE_SOCN_RTM_SGLC_SWAV (I_2000_CLM45_BGC) (ICLM45BGC)
+
+setenv CASE           clm45_startup
+setenv resolution     f09_g16
+setenv compset        I2000Clm50BgcCrop
+setenv compset        2000_DATM%GSWP3v1_CLM45%BGC-CROP_SICE_SOCN_MOSART_SGLC_SWAV
+setenv cesmtag        clm_dev_branch
+setenv num_instances  1
+
+# ==============================================================================
+# Directories:
+# cesmdata     Location of some supporting CESM data files.
+# cesmroot     Location of the CESM code base.  This version of the script
+#              only supports version cesm1_5_beta06c.
+# caseroot     Defines the CESM case directory - where the CESM+DART
+#              configuration files will be stored.  This should probably not
+#              be in scratch (on yellowstone, your 'work' partition is suggested).
+#              This script will delete any existing caseroot, so this script,
+#                 and other useful things should be kept elsewhere.
+# rundir          Defines the location of the CESM run directory.  Will need large
+#                 amounts of disk space, generally on a scratch partition.
+# exeroot         Defines the location of the CESM executable directory , where the
+#                 CESM executables will be built.  Medium amount of space
+#                 needed, generally on a scratch partition.
+# archdir         Defines the location of the CESM short-term archive directories.
+#                 Requires large amounts of disk space, may be on a scratch partition if
+#                 the long-term archiver is invoked to move these files to permanent storage.
+#                 Files will remain here until the long-term archiver moves it to permanent storage.
+# dartroot        Location of the root of _your_ DART installation
+# baseobsdir      Part of the directory name containing the obs_seq.out files to be used in the
+#                 assimilation. The year, month, and filename will be provided in assimilate.csh.
+#                 Will be inherited by CESM#_#_DART_config and inserted into assimilate.csh
+# ==============================================================================
+
+setenv project      P86850054
+setenv machine      cheyenne
+setenv cesmdata     /glade/p/cesm/cseg/inputdata
+setenv cesmroot     /glade/p/work/${USER}/CESM/$cesmtag
+setenv caseroot     /glade/p/work/${USER}/cases/$cesmtag/${CASE}
+setenv rundir       /glade/scratch/${USER}/$cesmtag/${CASE}/run
+setenv exeroot      /glade/scratch/${USER}/$cesmtag/${CASE}/bld
+setenv archdir      /glade/scratch/${USER}/$cesmtag/${CASE}/archive
+
+setenv dartroot     /glade/p/work/thoar/DART/cesm_clm
+setenv baseobsdir   /glade/p/image/Observations/land
+
+# ==============================================================================
+# configure settings:
+#
+# refcase    Name of the existing reference case that this run will start from.
+# refyear    The specific date/time-of-day in the reference case that this
+# refmon     run will start from.  (Also see 'runtime settings' below for
+# refday     start_year, start_mon, start_day and start_tod.)
+# reftod
+#
+# SingleInstanceRefcase
+#            Filenames from a multi-instance CESM run have an instance number
+#            in them.  Filenames from a single instance CESM run do not.
+#            Setting this helps the script figure out the right filenames to
+#            generate when copying files from the refernenc case:
+#               1 means the restart files have no instance numbers.
+#               0 means the restart files have strings like .0001. in their names.
+#
+# TRUTHinstance
+#            If SingleInstanceRefcase is 0, this must be set to select the
+#            specific instance you want to use when selecting one instance from
+#            a multi-instance run.  e.g. If you have a reference case run
+#            with 80 instances, 1<= TRUTHinstance <= 80. NO LEADING ZEROS.
+#
+# stagedir   The directory location of the reference case files.


More information about the Dart-dev mailing list