[Dart-dev] [4693] DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh: comments starting with '; ' are removed from tiegcm.nml
nancy at ucar.edu
nancy at ucar.edu
Thu Feb 3 12:33:59 MST 2011
Revision: 4693
Author: tmatsuo
Date: 2011-02-03 12:33:59 -0700 (Thu, 03 Feb 2011)
Log Message:
-----------
comments starting with ';' are removed from tiegcm.nml
so that read_TIEGCM_namelist can handle it.
Modified Paths:
--------------
DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh
-------------- next part --------------
Modified: DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh 2011-02-03 19:08:41 UTC (rev 4692)
+++ DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh 2011-02-03 19:33:59 UTC (rev 4693)
@@ -36,7 +36,7 @@
#BSUB -P 35071364
#BSUB -q debug
#BSUB -n 1
-#BSUB -W 1:00
+#BSUB -W 6:00
#BSUB -N -u ${USER}@ucar.edu
#----------------------------------------------------------------------
@@ -120,7 +120,7 @@
set DARTDIR = /blhome/tmatsuo/DART/models/tiegcm
set TIEGCMDIR = /blhome/tmatsuo/DART/models/tiegcm/tiegcm_files
-set EXPERIMENT = /ptmp/tmatsuo/DART/tiegcm/2002_03_28/initial/perfect
+set EXPERIMENT = /ptmp/tmatsuo/DART/tiegcm/2002_03_28
#-----------------------------------------------------------------------------
# Get the DART executables, scripts, and input files
@@ -136,7 +136,7 @@
${COPY} ${DARTDIR}/shell_scripts/advance_model.csh .
# data files
- ${COPY} ${EXPERIMENT}/obs_seq.in .
+ ${COPY} ${EXPERIMENT}/initial/obs_seq.in .
${COPY} ${DARTDIR}/work/input.nml .
#-----------------------------------------------------------------------------
@@ -146,11 +146,17 @@
${COPY} ${TIEGCMDIR}/tiegcm-nompi tiegcm
#${COPY} ${TIEGCMDIR}/tiegcm .
- ${COPY} ${EXPERIMENT}/tiegcm_restart_p.nc .
- ${COPY} ${EXPERIMENT}/tiegcm_s.nc .
- ${COPY} ${EXPERIMENT}/tiegcm.nml .
+ ${COPY} ${EXPERIMENT}/initial/tiegcm_restart_p.nc .
+ ${COPY} ${EXPERIMENT}/initial/tiegcm_s.nc .
+ ${COPY} ${EXPERIMENT}/initial/tiegcm.nml tiegcm.nml.original
#-----------------------------------------------------------------------------
+# Remove all the comments that follow (;) symbol from tiegcm.nml namelist file
+#-----------------------------------------------------------------------------
+
+sed -e 's/;.*//' -e '/^$/ d' tiegcm.nml.original >! tiegcm.nml
+
+#-----------------------------------------------------------------------------
# Check that everything moved OK, and the table is set.
# Convert a TIEGCM file 'tiegcm_restart.nc' to a DART ics file 'perfect_ics'
# 'model_to_dart' has a hardwired output filename of 'temp_ud' ...
@@ -188,20 +194,17 @@
exit
-${MOVE} tiegcm_s.nc* ${experiment}/tiegcm
-${MOVE} tiegcm_restart_p.nc* ${experiment}/tiegcm
-${MOVE} tiegcm_out_* ${experiment}/tiegcm
+${MOVE} tiegcm_s.nc.0001 ${EXPERIMENT}/perfect/tiegcm_s.nc
+${MOVE} tiegcm_restart_p.nc.0001 ${EXPERIMENT}/perfect/tiegcm_restart_p.nc
+${MOVE} tiegcm.nml ${EXPERIMENT}/perfect
+${MOVE} obs_seq.out ${EXPERIMENT}/perfect
+${MOVE} True_State.nc ${EXPERIMENT}/perfect
+${MOVE} perfect_restart ${EXPERIMENT}/perfect
-${MOVE} filter_restart* ${experiment}/DART
-${MOVE} assim_model_state_ud[1-9]* ${experiment}/DART
-${MOVE} assim_model_state_ic[1-9]* ${experiment}/DART
-${MOVE} Posterior_Diag.nc ${experiment}/DART
-${MOVE} Prior_Diag.nc ${experiment}/DART
-${MOVE} obs_seq.final ${experiment}/DART
-${MOVE} dart_log.out ${experiment}/DART
-
+${MOVE} tiegcm_out_1 ${EXPERIMENT}/perfect/tiegcm_out
+${MOVE} dart_log.out ${EXPERIMENT}/perfect
+${MOVE} dart_log.nml ${EXPERIMENT}/perfect
# Good style dictates that you save the scripts so you can see what worked.
-
${COPY} input.nml ${experiment}/DART
${COPY} *.csh ${experiment}/DART
${COPY} $myname ${experiment}/DART
More information about the Dart-dev
mailing list