[Dart-dev] [6078] DART/branches/development/models/cam/shell_scripts/advance_model.csh : Moving toward a more standard use of 'dart_restart' rather

nancy at ucar.edu nancy at ucar.edu
Wed Apr 24 16:29:27 MDT 2013


Revision: 6078
Author:   thoar
Date:     2013-04-24 16:29:27 -0600 (Wed, 24 Apr 2013)
Log Message:
-----------
Moving toward a more standard use of 'dart_restart' rather
than 'temp_ic' or something else for files created by DART.
Files that go into DART have '_ics', files that come out of DART
could/should have '_restart'

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

-------------- next part --------------
Modified: DART/branches/development/models/cam/shell_scripts/advance_model.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/advance_model.csh	2013-04-24 22:26:40 UTC (rev 6077)
+++ DART/branches/development/models/cam/shell_scripts/advance_model.csh	2013-04-24 22:29:27 UTC (rev 6078)
@@ -91,7 +91,7 @@
    echo "starting ${myname} for ens member $element at "`date` >> cam_out_temp
 
    # get model state initial conditions for this ensemble member
-   ${LINK} ${CENTRALDIR}/$input_file temp_ic
+   ${LINK} ${CENTRALDIR}/$input_file dart_restart
 
    # get filter namelists for use by cam
    ${COPY} ${CENTRALDIR}/input.nml input.nml
@@ -146,14 +146,14 @@
    # translate DART state vector into a CAM caminput.nc file, and create an
    # ascii 'times' file, which will be used to set the namelist for cam to tell
    # it how far to advance the model.
-   if (-e temp_ic && -e ${CENTRALDIR}/dart_to_cam) then
+   if (-e dart_restart && -e ${CENTRALDIR}/dart_to_cam) then
       echo ' '                                           >> cam_out_temp
       echo 'advance_model: executing dart_to_cam '`date` >> cam_out_temp
       ${CENTRALDIR}/dart_to_cam                          >> cam_out_temp
       ls -lt                                             >> cam_out_temp
       ${COPY} times ${CENTRALDIR}
    else
-      echo "ERROR: either temp_ic file for $element or dart_to_cam not available" >> cam_out_temp
+      echo "ERROR: either dart_restart file for $element or dart_to_cam not available" >> cam_out_temp
       exit -${element}
    endif
    


More information about the Dart-dev mailing list