[Swift-commit] r6519 - in SwiftApps/ParVis/HiRAMTools: . C90_to_360x180
tmoore at ci.uchicago.edu
tmoore at ci.uchicago.edu
Wed May 29 13:36:35 CDT 2013
Author: tmoore
Date: 2013-05-29 13:36:34 -0500 (Wed, 29 May 2013)
New Revision: 6519
Added:
SwiftApps/ParVis/HiRAMTools/C90_to_360x180/
SwiftApps/ParVis/HiRAMTools/C90_to_360x180/C90_to_360x180_remap_file.nc
SwiftApps/ParVis/HiRAMTools/C90_to_360x180_remap_file.nc
SwiftApps/ParVis/HiRAMTools/convertremapgrid.sh
SwiftApps/ParVis/HiRAMTools/genpfrepps1deg.sh
Modified:
SwiftApps/ParVis/HiRAMTools/combine_realization.sh
SwiftApps/ParVis/HiRAMTools/genpfrepps.sh
SwiftApps/ParVis/HiRAMTools/makeyearly_realization_2yr.sh
SwiftApps/ParVis/HiRAMTools/pfrepp.csh
SwiftApps/ParVis/HiRAMTools/runpfrepps.sh
Log:
modified to include hiram grid information for 360x180 cases, updated project name and wallclock times
Added: SwiftApps/ParVis/HiRAMTools/C90_to_360x180/C90_to_360x180_remap_file.nc
===================================================================
(Binary files differ)
Property changes on: SwiftApps/ParVis/HiRAMTools/C90_to_360x180/C90_to_360x180_remap_file.nc
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: SwiftApps/ParVis/HiRAMTools/C90_to_360x180_remap_file.nc
===================================================================
(Binary files differ)
Property changes on: SwiftApps/ParVis/HiRAMTools/C90_to_360x180_remap_file.nc
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: SwiftApps/ParVis/HiRAMTools/combine_realization.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/combine_realization.sh 2013-05-29 18:24:34 UTC (rev 6518)
+++ SwiftApps/ParVis/HiRAMTools/combine_realization.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -70,7 +70,7 @@
<!-- <profile namespace="globus" key="workerLoggingDirectory">/home/jonmon/Workspace/Swift/tests/catsnsleep</profile> -->
<profile namespace="globus" key="slots">32</profile>
<profile namespace="globus" key="maxTime">28000</profile> <!-- ~ 8hrs -->
- <profile namespace="globus" key="maxWallTime">03:20:00</profile>
+ <profile namespace="globus" key="maxWallTime">05:20:00</profile>
<profile namespace="globus" key="lowoverallocation">100</profile>
<profile namespace="globus" key="highoverallocation">100</profile>
<profile namespace="globus" key="nodeGranularity">1</profile>
Added: SwiftApps/ParVis/HiRAMTools/convertremapgrid.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/convertremapgrid.sh (rev 0)
+++ SwiftApps/ParVis/HiRAMTools/convertremapgrid.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# This script is designed to remap our low resolution remap grid to our target remap grid.
+cd C90_to_360x180
+
+/gpfs/home/ckerr/bin/fms/tools/x86_64/bin/fregrid.exe --input_mosaic /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/version1_C90_to_180x90/C90_mosaic.nc --interp_method conserve_order2 --nlon 360 --nlat 180 --remap_file C90_to_360x180_remap_file.nc
+
Property changes on: SwiftApps/ParVis/HiRAMTools/convertremapgrid.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: SwiftApps/ParVis/HiRAMTools/genpfrepps.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/genpfrepps.sh 2013-05-29 18:24:34 UTC (rev 6518)
+++ SwiftApps/ParVis/HiRAMTools/genpfrepps.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -13,9 +13,9 @@
-a $realdir \
-b $outdir/$realid \
-s 1950 \
- -i /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/C90_to_180x90/C90_mosaic.nc \
+ -i /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/version1_C90_to_180x90/C90_mosaic.nc \
-x 180 -y 90 \
- -r /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/C90_to_180x90/C90_to_180x90.nc \
+ -r /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/version1_C90_to_180x90/C90_to_180x90.nc \
-m 12 -n 50 -q \
-u
Added: SwiftApps/ParVis/HiRAMTools/genpfrepps1deg.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/genpfrepps1deg.sh (rev 0)
+++ SwiftApps/ParVis/HiRAMTools/genpfrepps1deg.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -0,0 +1,59 @@
+#! /bin/sh
+
+realid=$1
+realdir=$2
+outdir=$3
+scriptlist=$PWD/$4
+scriptfilter=$5
+
+mkdir -p $outdir/$realid/scripts
+cd $outdir/$realid/scripts
+
+tcsh /home/wilde/LZ/HiRAMTools/pfrepp.csh \
+ -a $realdir \
+ -b $outdir/$realid \
+ -s 1950 \
+ -i /intrepid-fs0/users/lzamboni/persistent/bin/fms/pfrepp/remap_file/version1_C90_to_180x90/C90_mosaic.nc \
+ -x 360 -y 180 \
+ -r /intrepid-fs0/projects/SU_Climate/post/HiRAMTools/C90_to_360x180/C90_to_360x180_remap_file.nc \
+ -m 12 -n 50 -q \
+ -u
+
+echo $0: scriptfilter=$scriptfilter
+
+if [ "_$scriptfilter" != _ ]; then
+ echo $0: using scriptfilter
+ scripts=$(/bin/ls -1 pfrepp_script* | sh -c "$scriptfilter" )
+else
+ scripts=$(/bin/ls -1 pfrepp_script* )
+fi
+
+echo id path >$scriptlist
+for f in $scripts; do
+ echo $realid $f >>$scriptlist
+done
+
+exit
+
+# -a /intrepid-fs0/users/lzamboni/persistent/yearly-nco/en1eo12Ic3/run001/run001/ \
+
+# datasets needed by LZ:
+
+Pfrepp-month.time_average
+Pfrepp-month.time_series
+Pfrepp-daily.time_series (4X???)
+Pfrepp-8xdaily.time_series
+Pfrepp-8xdaily_instant.time_series
+Pfrepp-4xdaily.time_series
+
+which means:
+
+pfrepp_script.atmos_month.time_average.1950*
+pfrepp_script.atmos_month.time_series.1950*
+pfrepp_script.atmos_4xdaily.time_series.1950*
+pfrepp_script.atmos_8xdaily.time_series.1950*
+pfrepp_script.atmos_8xdaily_instant.time_series.1950*
+pfrepp_script.atmos_daily.time_series.1950*
+
+pfrepp_script.ice_month.time_average.1950*
+pfrepp_script.ice_month.time_series.1950*
Property changes on: SwiftApps/ParVis/HiRAMTools/genpfrepps1deg.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: SwiftApps/ParVis/HiRAMTools/makeyearly_realization_2yr.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/makeyearly_realization_2yr.sh 2013-05-29 18:24:34 UTC (rev 6518)
+++ SwiftApps/ParVis/HiRAMTools/makeyearly_realization_2yr.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -81,7 +81,7 @@
<!-- <profile namespace="globus" key="workerLoggingDirectory">/home/jonmon/Workspace/Swift/tests/catsnsleep</profile> -->
<profile namespace="globus" key="slots">32</profile>
<profile namespace="globus" key="maxTime">28000</profile> <!-- ~ 8hrs -->
- <profile namespace="globus" key="maxWallTime">02:30:00</profile>
+ <profile namespace="globus" key="maxWallTime">03:30:00</profile>
<profile namespace="globus" key="lowoverallocation">100</profile>
<profile namespace="globus" key="highoverallocation">100</profile>
<profile namespace="globus" key="nodeGranularity">1</profile>
Modified: SwiftApps/ParVis/HiRAMTools/pfrepp.csh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/pfrepp.csh 2013-05-29 18:24:34 UTC (rev 6518)
+++ SwiftApps/ParVis/HiRAMTools/pfrepp.csh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -1,10 +1,4 @@
#!/bin/csh
-
-set echo
-set verbose
-
-set FMSBIN = /home/lzamboni/bin/fms/scripts
-
#NOTE : Currently this tool will only postprocess atmos data and assume the name
# of the files starts with "atmos".
@@ -283,11 +277,11 @@
setenv architecture `uname -m`
if ( $architecture == "x86_64" ) then
- set FREGRID = $FMSBIN/fregrid/fregrid.csh
- set NCCOMBINE = $FMSBIN/combine/combine.csh
- set TIMEAVG = $FMSBIN/time_average/time_average.csh
- set PLEVEL = $FMSBIN/plevel/plevel.csh
- set MERGE = $FMSBIN/merge/merge.csh
+ set FREGRID = $0:h:h/fregrid/fregrid.csh
+ set NCCOMBINE = $0:h:h/combine/combine.csh
+ set TIMEAVG = $0:h:h/time_average/time_average.csh
+ set PLEVEL = $0:h:h/plevel/plevel.csh
+ set MERGE = $0:h:h/merge/merge.csh
else
echo "ERROR: pfrepp.csh is only supported on x86_64"
exit 1
@@ -297,8 +291,7 @@
# for monthly data, need to do both time averging and
# time series when numyears is non-zero.
-#foreach component ( "atmos" "land" "ocean" "ice" )
-foreach component ( "atmos" "ice" )
+foreach component ( "atmos" "land" "ocean" "ice" )
if( $component == "atmos" ) then
set inputmosaic = ${mosaic_atm}
set nlon = ${nlon_atm}
@@ -336,7 +329,6 @@
endif
set curdir = $cwd
-echo $0 curdir: $curdir
cd $datedir
if( $ntiles == 1 ) then
@@ -395,11 +387,8 @@
echo "pfrepp.csh: -u is set, will not execute ./$runscript"
else if ( $environ == "BATCH" ) then
echo " submitting $runscript"
- # qsub -A prec_sense -n 1 -t 480 -M lzamboni at mcs.anl.gov ./$runscript
- # qsub -A SU_Climate -n 1 -t 480 -M lzamboni at mcs.anl.gov ./$runscript
- qsub -A MTCScienceApps -n 1 -t 480 -M lzamboni at mcs.anl.gov ./$runscript
- # qsub -q R.climate -A SU_Climate -n 1 -t 300 -M lzamboni at mcs.anl.gov ./$runscript
- else
+ qsub -A R.climate -n 1 -t 600 ./$runscript
+ else
echo " running $runscript interactively "
./$runscript
endif
@@ -441,7 +430,7 @@
echo "pfrepp.csh: -u is set, will not execute ./$runscript"
else if ( $environ == "BATCH" ) then
echo " submitting $runscript"
- qsub -A SU_Climate -n 1 -t 480 ./$runscript
+ qsub -A R.climate -n 1 -t 600 ./$runscript
else
echo " running $runscript interactively "
./$runscript
Modified: SwiftApps/ParVis/HiRAMTools/runpfrepps.sh
===================================================================
--- SwiftApps/ParVis/HiRAMTools/runpfrepps.sh 2013-05-29 18:24:34 UTC (rev 6518)
+++ SwiftApps/ParVis/HiRAMTools/runpfrepps.sh 2013-05-29 18:36:34 UTC (rev 6519)
@@ -54,7 +54,7 @@
<filesystem provider="local" />
<!-- <profile namespace="globus"key="internalHostname">172.17.3.11</profile> -->
<profile namespace="globus" key="project">prec_sense</profile>
- <!-- <profile namespace="globus" key="project">MTCScienceApps</profile> -->
+ <!-- <profile namespace="globus" key="project">prec_sense</profile> -->
<profile namespace="globus" key="queue">default</profile>
<profile namespace="karajan" key="jobthrottle">2.56</profile>
<profile namespace="karajan" key="initialScore">10000</profile>
More information about the Swift-commit
mailing list