[Swift-commit] r6035 - SwiftApps/ParVis/HiRAMTools

tmoore at ci.uchicago.edu tmoore at ci.uchicago.edu
Tue Nov 13 17:37:09 CST 2012


Author: tmoore
Date: 2012-11-13 17:37:08 -0600 (Tue, 13 Nov 2012)
New Revision: 6035

Modified:
   SwiftApps/ParVis/HiRAMTools/makeyearly_semi.sh
Log:
fixed a problem with file lists

Modified: SwiftApps/ParVis/HiRAMTools/makeyearly_semi.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/makeyearly_semi.sh	2012-11-13 21:21:25 UTC (rev 6034)
+++ SwiftApps/ParVis/HiRAMTools/makeyearly_semi.sh	2012-11-13 23:37:08 UTC (rev 6035)
@@ -30,7 +30,7 @@
 export PATH=/soft/apps/nco-4.0.9/bin:$PATH
 export LD_LIBRARY_PATH=/soft/apps/intel-fc-11.0.074/lib/intel64:/soft/apps/intel-cc-11.0.074/lib/intel64:/soft/apps/netcdf-3.6.3/lib:/usr/lib:/usr/X11R6/lib:/usr/local/lib
 
-fname=$(basename $qtrdec1 .nc)
+fname=$(basename $qtrdec2 .nc)
 #file 2 should always be the target year
 firstyear=$(basename $(dirname $qtrdec2) | sed -e 's/....$//')
 
@@ -41,7 +41,7 @@
   # Merge 2 quarter-decade files into one half-decade file
 #for simplicity at this point, keep the script the same
 
-  ncrcat $qtrdec1 $qtrdec2 $qtrdec1 theyears.nc
+  ncrcat $qtrdec1 $qtrdec2 $qtrdec3 theyears.nc
 
   # Extract each year from the half-decade file
 




More information about the Swift-commit mailing list