[Dart-dev] [4161] DART/trunk/observations/gps/work/cosmic_to_obsseq.csh: The date converter program reads stdin, not arg list,
nancy at ucar.edu
nancy at ucar.edu
Wed Nov 25 11:06:28 MST 2009
Revision: 4161
Author: nancy
Date: 2009-11-25 11:06:28 -0700 (Wed, 25 Nov 2009)
Log Message:
-----------
The date converter program reads stdin, not arg list,
so fix to be compatible.
Modified Paths:
--------------
DART/trunk/observations/gps/work/cosmic_to_obsseq.csh
-------------- next part --------------
Modified: DART/trunk/observations/gps/work/cosmic_to_obsseq.csh
===================================================================
--- DART/trunk/observations/gps/work/cosmic_to_obsseq.csh 2009-11-25 17:10:39 UTC (rev 4160)
+++ DART/trunk/observations/gps/work/cosmic_to_obsseq.csh 2009-11-25 18:06:28 UTC (rev 4161)
@@ -124,7 +124,7 @@
set yyyy = `echo $datef | cut -b1-4`
set hh = `echo $datef | cut -b9-10`
- set jyyyydd = `./${DATE_PROG} $datef 0 -j`
+ set jyyyydd = `echo $datef 0 -j | ./${DATE_PROG}`
@ mday = $jyyyydd[2] + 1000 ; set mday = `echo $mday | cut -b2-4`
/bin/ls ${dates}/*.${yyyy}.${mday}.${hh}.*_nc >>! flist
More information about the Dart-dev
mailing list