Commit 9d7e17fd authored by Carl Schreck's avatar Carl Schreck

Automated Nightly Commit - Wed Jan 22 13:41:16 EST 2020

parent 7770a62d
......@@ -10,11 +10,11 @@ NCL_DIR=`pwd`
LOG_DIR=$NCL_DIR/log
mkdir -p $LOG_DIR
#for year in {1999..2010}
for year in 1999
for year in {1999..2010}
#for year in 1999
do
# for outVar in u850 u200 olr rain chi200
for outVar in u850
for outVar in rain
do
JOB_NAME=$NCL_SCRIPT"_"$outVar"_"$year
echo $JOB_NAME `date`
......
......@@ -20,7 +20,7 @@ echo $QUEUE
NCL_SCRIPT=one_cfsrr_anomaly
NCL_DIR=`pwd`
LOG_DIR=/snfs8/nasa_ymc/reforecast/log
LOG_DIR=/store/nasa_ymc/reforecast/log
mkdir -p $LOG_DIR
JOB_NAME=$NCL_SCRIPT"_"$year"_"$outVar"_"$currTimeInd
......
......@@ -65,6 +65,9 @@ begin ; main
+ inClimData(2::4,:,:) + inClimData(3::4,:,:) ) / 4
regridClim = regrid_latlon( climData, totalData&lat, totalData&lon )
if( outVar.eq.'rain' ) then
regridClim = regridClim * 3600
end if
anomData(t,h,:,:,:) = totalData(t,h,:,:,:) - regridClim
end do
......
......@@ -80,6 +80,9 @@ begin ; main
+ inClimData(2::4,:,:) + inClimData(3::4,:,:) ) / 4
regridClim = regrid_latlon( climData, totalData&lat, totalData&lon )
if( outVar.eq."rain" ) then
regridClim = regridClim * 3600
end if
anomData(h,:,:,:) = totalData(h,:,:,:) - regridClim
end do
......
......@@ -26,10 +26,10 @@ begin
doCalcAnom = True
; basePath = "~/data/cfsr/monthly/" + varName
basePath = "~/data/ersst/v5/sst.mnmean"
; basePath = "~/data/oisst/oisst.month"
; inPath = basePath + ".total.nc"
inPath = basePath + ".nc"
; basePath = "~/data/ersst/v5/sst.mnmean"
basePath = "~/data/oisst/oisst.month"
inPath = basePath + ".total.nc"
; inPath = basePath + ".nc"
climPath = basePath + ".clim.1981.2010.nc"
anomPath = basePath + ".anom.nc"
stdPath = basePath + ".std.nc"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment