[Dart-dev] [5462] DART/branches/development/models/cam/shell_scripts/pmo.ned.csh: Script now properly renames output files to expected static names.

nancy at ucar.edu nancy at ucar.edu
Fri Dec 16 14:07:15 MST 2011


Revision: 5462
Author:   thoar
Date:     2011-12-16 14:07:14 -0700 (Fri, 16 Dec 2011)
Log Message:
-----------
Script now properly renames output files to expected static names.
Through a 'sed' mishap, the same file was getting copied 3 times.

Modified Paths:
--------------
    DART/branches/development/models/cam/shell_scripts/pmo.ned.csh

-------------- next part --------------
Modified: DART/branches/development/models/cam/shell_scripts/pmo.ned.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/pmo.ned.csh	2011-12-16 20:30:52 UTC (rev 5461)
+++ DART/branches/development/models/cam/shell_scripts/pmo.ned.csh	2011-12-16 21:07:14 UTC (rev 5462)
@@ -178,8 +178,8 @@
 set ICE_POINTER_FILENAME = `printf rpointer.ice`
 
 set ATM_RESTART_FILENAME = `head -1 ../${ATM_POINTER_FILENAME}`
-set LND_RESTART_FILENAME = `echo ${ATM_RESTART_FILENAME} | sed "s#\.cam_#\.clm2_#"`
-set ICE_RESTART_FILENAME = `echo ${ATM_RESTART_FILENAME} | sed "s#\.cam_#\.cice_#"`
+set LND_RESTART_FILENAME = `echo ${ATM_RESTART_FILENAME} | sed "s#\.cam#\.clm2#"`
+set ICE_RESTART_FILENAME = `echo ${ATM_RESTART_FILENAME} | sed "s#\.cam#\.cice#"`
 
 set ATM_INITIAL_FILENAME = `echo ${ATM_RESTART_FILENAME} | sed "s#\.r\.#\.i\.#"`
 


More information about the Dart-dev mailing list