[Dart-dev] [5459] DART/branches/development/models/cam/shell_scripts/pmo.ned.csh: configured to be good on both hopper and bluefire

nancy at ucar.edu nancy at ucar.edu
Fri Dec 16 11:48:40 MST 2011


Revision: 5459
Author:   thoar
Date:     2011-12-16 11:48:40 -0700 (Fri, 16 Dec 2011)
Log Message:
-----------
configured to be good on both hopper and bluefire

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

Property Changed:
----------------
    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 17:54:15 UTC (rev 5458)
+++ DART/branches/development/models/cam/shell_scripts/pmo.ned.csh	2011-12-16 18:48:40 UTC (rev 5459)
@@ -4,7 +4,7 @@
 # provided by UCAR, "as is", without charge, subject to all terms of use at
 # http://www.image.ucar.edu/DAReS/DART/DART_download
 #
-# $Id: assimilate.hopper.csh 5403 2011-11-16 15:20:05Z nancy $
+# $Id$
 
 # The FORCE options are not optional. 
 # the VERBOSE options are useful for debugging.
@@ -50,10 +50,19 @@
 set DARTROOT = ${HOME}/devel
 set DARTDIR = ${DARTROOT}/models/cam/work
 
-# FIXME: different on hopper
 set DART_OBS_DIR = UVT_skeleton_12H
-set  OBSDIR = /scratch/scratchdirs/nscollin/Synthetic/${DART_OBS_DIR}
 
+switch ( "`hostname`" )
+   case be*:
+      set OBSDIR = /glade/proj3/image/Observations/Synthetic/${DART_OBS_DIR}
+      set PHISLOC = /glade/proj3/DART/raeder/FV1deg_4.0
+   breaksw
+   default:
+      set OBSDIR = /scratch/scratchdirs/nscollin/Synthetic/${DART_OBS_DIR}
+      set PHISLOC = ${HOME}
+   breaksw
+endsw
+
 #-------------------------------------------------------------------------
 # DART COPY BLOCK
 # Populate a run-time directory with the bits needed to run DART 
@@ -71,7 +80,7 @@
 ${COPY} input_pmo.nml input.nml
 
 # surface height data
-${COPY} $HOME/cam_phis.nc .
+${COPY} ${PHISLOC}/cam_phis.nc .
 
 #-------------------------------------------------------------------------
 # Block 1: convert 1 cam restart files to DART initial conditions file
@@ -201,7 +210,7 @@
 exit 0
 
 # <next few lines under version control, do not edit>
-# $URL: https://proxy.subversion.ucar.edu/DAReS/DART/branches/development/models/cam/shell_scripts/assimilate.hopper.csh $
-# $Revision: 5403 $
-# $Date: 2011-11-16 07:20:05 -0800 (Wed, 16 Nov 2011) $
+# $URL$
+# $Revision$
+# $Date$
 


Property changes on: DART/branches/development/models/cam/shell_scripts/pmo.ned.csh
___________________________________________________________________
Added: svn:keywords
   + Date Revision Author HeadURL Id


More information about the Dart-dev mailing list