[Dart-dev] DART/branches Revision: 12534
dart at ucar.edu
dart at ucar.edu
Wed Apr 18 15:27:10 MDT 2018
thoar at ucar.edu
2018-04-18 15:27:10 -0600 (Wed, 18 Apr 2018)
56
Do not need assimilate.csh ... untested run_filter.csh
Deleted: DART/branches/openggcm/models/openggcm/shell_scripts/assimilate.csh
===================================================================
--- DART/branches/openggcm/models/openggcm/shell_scripts/assimilate.csh 2018-04-18 19:18:15 UTC (rev 12533)
+++ DART/branches/openggcm/models/openggcm/shell_scripts/assimilate.csh 2018-04-18 21:27:10 UTC (rev 12534)
@@ -1,509 +0,0 @@
-#!/bin/csh
-#
-# DART software - Copyright UCAR. This open source software is provided
-# by UCAR, "as is", without charge, subject to all terms of use at
-# http://www.image.ucar.edu/DAReS/DART/DART_download
-#
-# DART $Id$
-
-# This block is an attempt to localize all the machine-specific
-# changes to this script such that the same script can be used
-# on multiple platforms. This will help us maintain the script.
-
-echo "`date` -- BEGIN POP_ASSIMILATE"
-
-set nonomatch # suppress "rm" warnings if wildcard does not match anything
-
-# The FORCE options are not optional.
-# The VERBOSE options are useful for debugging though
-# some systems don't like the -v option to any of the following
-switch ("`hostname`")
- case be*:
- # NCAR "bluefire"
- set MOVE = '/usr/local/bin/mv -fv'
- set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
- set LINK = '/usr/local/bin/ln -fvs'
- set REMOVE = '/usr/local/bin/rm -fr'
-
- set BASEOBSDIR = /glade/proj3/image/Observations/WOD09
- set LAUNCHCMD = mpirun.lsf
- breaksw
-
- case ys*:
- # NCAR "yellowstone"
- set MOVE = 'mv -fv'
- set COPY = 'cp -fv --preserve=timestamps'
- set LINK = 'ln -fvs'
- set REMOVE = 'rm -fr'
- set TASKS_PER_NODE = `echo $LSB_SUB_RES_REQ | sed -ne '/ptile/s#.*\[ptile=\([0-9][0-9]*\)]#\1#p'`
- setenv MP_DEBUG_NOTIMEOUT yes
-
- set BASEOBSDIR = /glade/p/image/Observations/WOD09
- set LAUNCHCMD = mpirun.lsf
- breaksw
-
- default:
- # NERSC "hopper"
- set MOVE = 'mv -fv'
- set COPY = 'cp -fv --preserve=timestamps'
- set LINK = 'ln -fvs'
- set REMOVE = 'rm -fr'
-
- set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
- set LAUNCHCMD = "aprun -n $NTASKS"
- breaksw
-endsw
-
-set ensemble_size = ${NINST_OCN}
-
-#-------------------------------------------------------------------------
-# Determine time of model state ... from file name of first member
-# of the form "./${CASE}.pop_${ensemble_member}.r.2000-01-06-00000.nc"
-#
-# Piping stuff through 'bc' strips off any preceeding zeros.
-#-------------------------------------------------------------------------
-
-set FILE = `head -n 1 rpointer.ocn_0001.restart`
-set FILE = $FILE:r
-set OCN_DATE_EXT = `echo $FILE:e`
-set OCN_DATE = `echo $FILE:e | sed -e "s#-# #g"`
-set OCN_YEAR = `echo $OCN_DATE[1] | bc`
-set OCN_MONTH = `echo $OCN_DATE[2] | bc`
-set OCN_DAY = `echo $OCN_DATE[3] | bc`
-set OCN_SECONDS = `echo $OCN_DATE[4] | bc`
-set OCN_HOUR = `echo $OCN_DATE[4] / 3600 | bc`
-
-echo "valid time of model is $OCN_YEAR $OCN_MONTH $OCN_DAY $OCN_SECONDS (seconds)"
-echo "valid time of model is $OCN_YEAR $OCN_MONTH $OCN_DAY $OCN_HOUR (hours)"
-
-#-------------------------------------------------------------------------
-# Create temporary working directory for the assimilation and go there
-#-------------------------------------------------------------------------
-
-set temp_dir = assimilate_pop
-echo "temp_dir is $temp_dir"
-
-if ( -d $temp_dir ) then
- ${REMOVE} $temp_dir/*
-else
- mkdir -p $temp_dir
-endif
-cd $temp_dir
-
-#-----------------------------------------------------------------------------
-# Get observation sequence file ... or die right away.
-# The observation file names have a time that matches the stopping time of POP.
-#-----------------------------------------------------------------------------
More information about the Dart-dev
mailing list