[Dart-dev] [6225] DART/branches/development/models/CESM/shell_scripts/clm_assimilate. csh: Changed the yellowstone observation directory to point to the directory

nancy at ucar.edu nancy at ucar.edu
Tue Jun 4 11:07:55 MDT 2013


Revision: 6225
Author:   thoar
Date:     2013-06-04 11:07:53 -0600 (Tue, 04 Jun 2013)
Log Message:
-----------
Changed the yellowstone observation directory to point to the directory
that has both MODIS and Ameriflux observations combined into 6hourly files.
The MODIS obs are available at midnight only, the Ameriflux obs are
available every 30 min ... but we block them into 6hour files (and 24-hour files).
The CLM-only observations are usually every 24 hours, the multiple component 
assimilations are usually every 6 hours.

Modified Paths:
--------------
    DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh

-------------- next part --------------
Modified: DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh	2013-06-04 03:52:34 UTC (rev 6224)
+++ DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh	2013-06-04 17:07:53 UTC (rev 6225)
@@ -38,7 +38,7 @@
       set   LINK = 'ln -fvs'
       set REMOVE = 'rm -fr'
 
-      set BASEOBSDIR = /glade/p/image/Observations/FluxTower
+      set BASEOBSDIR = /glade/p/image/Observations/land
       set DARTDIR    = ${HOME}/svn/DART/dev
       set LAUNCHCMD  = mpirun.lsf
    breaksw
@@ -268,7 +268,7 @@
       echo "inf_flavor(1) = $PRIOR_INF, using namelist values."
    else
       # Look for the output from the previous assimilation
-      (ls -rt1 ../clm_${PRIOR_INF_OFNAME}.* | tail -1 >! latestfile) > & /dev/null
+      (ls -rt1 ../clm_${PRIOR_INF_OFNAME}.* | tail -n 1 >! latestfile) > & /dev/null
       set nfiles = `cat latestfile | wc -l`
 
       # If one exists, use it as input for this assimilation
@@ -295,7 +295,7 @@
    else
 
       # Look for the output from the previous assimilation
-      (ls -rt1 ../clm_${POSTE_INF_OFNAME}.* | tail -1 >! latestfile) > & /dev/null
+      (ls -rt1 ../clm_${POSTE_INF_OFNAME}.* | tail -n 1 >! latestfile) > & /dev/null
       set nfiles = `cat latestfile | wc -l`
 
       # If one exists, use it as input for this assimilation


More information about the Dart-dev mailing list