[Dart-dev] [6304] DART/trunk/models/CESM/shell_scripts: this script doesn' t have ensemble_size as a variable (all the
nancy at ucar.edu
nancy at ucar.edu
Fri Jul 12 14:19:05 MDT 2013
Revision: 6304
Author: nancy
Date: 2013-07-12 14:19:05 -0600 (Fri, 12 Jul 2013)
Log Message:
-----------
this script doesn't have ensemble_size as a variable (all the
assimilate scripts use that). it has num_instances instead.
fix the sampling error correction section to use the right vars.
Modified Paths:
--------------
DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh
DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh
-------------- next part --------------
Modified: DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh
===================================================================
--- DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh 2013-07-12 17:54:03 UTC (rev 6303)
+++ DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh 2013-07-12 20:19:05 UTC (rev 6304)
@@ -976,7 +976,7 @@
set SECSTRING = `echo $MYSTRING[2] | tr '[:upper:]' '[:lower:]'`
if ( $SECSTRING == true ) then
- set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${ensemble_size}
+ set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${num_instances}
if ( -e ${SAMP_ERR_FILE} ) then
${COPY} ${SAMP_ERR_FILE} .
break # we only need to copy it once if anyone has SEC on.
@@ -996,18 +996,18 @@
# (i'm thinking that if they don't intend to use it, they shouldn't
# have to generate one, but if they turn this option on, we should have
# a copy of the file here where it's expected.)
-if ( ! -e ./final_full.${ensemble_size} ) then
+if ( ! -e ./final_full.${num_instances} ) then
# SEC is false, but go ahead and try to copy one over
- set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${ensemble_size}
+ set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${num_instances}
if ( -e ${SAMP_ERR_FILE} ) then
${COPY} ${SAMP_ERR_FILE} .
else
- echo "WARNING: no final_full.xx file found for an ensemble size of ${ensemble_size}"
+ echo "WARNING: no final_full.xx file found for an ensemble size of ${num_instances}"
echo "WARNING: this file is NOT needed unless you want to turn on the"
echo "WARNING: sampling_error_correction feature in any of the models."
echo "WARNING: to use it, in addition to setting the namelist to .true., cd to:"
echo "WARNING: ${DARTroot}/system_simulation"
- echo "WARNING: and create a final_full.${ensemble_size} file"
+ echo "WARNING: and create a final_full.${num_instances} file"
echo "WARNING: one can be generated for any ensemble size; see docs"
echo "WARNING: Copy it into ${caseroot} before running."
endif
Modified: DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh
===================================================================
--- DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh 2013-07-12 17:54:03 UTC (rev 6303)
+++ DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh 2013-07-12 20:19:05 UTC (rev 6304)
@@ -994,7 +994,7 @@
set SECSTRING = `echo $MYSTRING[2] | tr '[:upper:]' '[:lower:]'`
if ( $SECSTRING == true ) then
- set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${ensemble_size}
+ set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${num_instances}
if ( -e ${SAMP_ERR_FILE} ) then
${COPY} ${SAMP_ERR_FILE} .
break # we only need to copy it once if anyone has SEC on.
@@ -1014,18 +1014,18 @@
# (i'm thinking that if they don't intend to use it, they shouldn't
# have to generate one, but if they turn this option on, we should have
# a copy of the file here where it's expected.)
-if ( ! -e ./final_full.${ensemble_size} ) then
+if ( ! -e ./final_full.${num_instances} ) then
# SEC is false, but go ahead and try to copy one over
- set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${ensemble_size}
+ set SAMP_ERR_FILE = ${DARTroot}/system_simulation/final_full_precomputed_tables/final_full.${num_instances}
if ( -e ${SAMP_ERR_FILE} ) then
${COPY} ${SAMP_ERR_FILE} .
else
- echo "WARNING: no final_full.xx file found for an ensemble size of ${ensemble_size}"
+ echo "WARNING: no final_full.xx file found for an ensemble size of ${num_instances}"
echo "WARNING: this file is NOT needed unless you want to turn on the"
echo "WARNING: sampling_error_correction feature in any of the models."
echo "WARNING: to use it, in addition to setting the namelist to .true., cd to:"
echo "WARNING: ${DARTroot}/system_simulation"
- echo "WARNING: and create a final_full.${ensemble_size} file"
+ echo "WARNING: and create a final_full.${num_instances} file"
echo "WARNING: one can be generated for any ensemble size; see docs"
echo "WARNING: Copy it into ${caseroot} before running."
endif
More information about the Dart-dev
mailing list