[Dart-dev] [5476] DART/branches/development/models/cam/shell_scripts/st_archive.sh: Fixed typo in cam_initial.nc filename ...

nancy at ucar.edu nancy at ucar.edu
Wed Jan 4 17:02:44 MST 2012


Revision: 5476
Author:   thoar
Date:     2012-01-04 17:02:44 -0700 (Wed, 04 Jan 2012)
Log Message:
-----------
Fixed typo in cam_initial.nc filename ... the cam_initial_N.nc files
get archived and restaged correctly now.

Modified Paths:
--------------
    DART/branches/development/models/cam/shell_scripts/st_archive.sh

-------------- next part --------------
Modified: DART/branches/development/models/cam/shell_scripts/st_archive.sh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/st_archive.sh	2012-01-04 22:48:33 UTC (rev 5475)
+++ DART/branches/development/models/cam/shell_scripts/st_archive.sh	2012-01-05 00:02:44 UTC (rev 5476)
@@ -179,7 +179,7 @@
     set ${CASE}.cam${inst_suffix}.h5.*;                                                                                            dispose ifiles_n ${sta}/atm/hist $*
     set ${CASE}.cam${inst_suffix}.hs.*;                                                                                            dispose ifiles_n ${sta}/atm/hist $*
     set ${CASE}.cam${inst_suffix}.i.*;                                                                                             dispose ifiles_y ${sta}/atm/init $*
-    set cam_inital_${IDX}.nc;             latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_y ${sta}/atm/init $*
+    set cam_initial_${IDX}.nc;            latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_n ${sta}/atm/init $*
     set ${CASE}.camice${inst_suffix}.r.*;                                                                                          dispose ifiles_y ${sta}/ice/rest $*
     set ${CASE}.camdom${inst_suffix}.r.*;                                                                                          dispose ifiles_y ${sta}/ocn/rest $*
     set ${CASE}.camsom${inst_suffix}.r.*;                                                                                          dispose ifiles_y ${sta}/ocn/rest $*
@@ -195,7 +195,7 @@
 do
     get_inst_suffix $IDX $NINST_LND
     set lnd${inst_suffix}.log.*;                                                                                                   dispose ifiles_n ${sta}/lnd/logs $*
-    set clm_restart_${IDX}.nc;            latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_y ${sta}/lnd/rest $*
+    set clm_restart_${IDX}.nc;            latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_n ${sta}/lnd/rest $*
     set ${CASE}.clm?${inst_suffix}.r.*;                                                                                            dispose ifiles_y ${sta}/lnd/rest $*
     set ${CASE}.clm?${inst_suffix}.rh0.*;                                                                                          dispose ifiles_y ${sta}/lnd/rest $*
     set ${CASE}.clm?${inst_suffix}.rh1.*;                                                                                          dispose ifiles_y ${sta}/lnd/rest $*
@@ -223,7 +223,7 @@
 do
     get_inst_suffix $IDX $NINST_ICE
     set ice${inst_suffix}.log.*;                                                                                                      dispose ifiles_n ${sta}/ice/logs $*
-    set ice_restart_${IDX}.nc;               latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_y ${sta}/ice/rest $*
+    set ice_restart_${IDX}.nc;               latest=`ls -rt $* 2> /dev/null | tail -1`; mv $latest ${sta}/rest/${dname} 2> /dev/null; dispose ifiles_n ${sta}/ice/rest $*
     set ${CASE}.cice${inst_suffix}.r.[0-9]*;                                                                                          dispose ifiles_y ${sta}/ice/rest $*
     set ${CASE}.cice${inst_suffix}.r.volpn*;                                                                                          dispose ifiles_y ${sta}/ice/rest $*
     set ${CASE}.cice${inst_suffix}.r.dEdd*;                                                                                           dispose ifiles_y ${sta}/ice/rest $*


More information about the Dart-dev mailing list