Commit 08b13af5 authored by Carl Schreck's avatar Carl Schreck

Automated Nightly Commit - Sat Oct 27 00:01:42 EDT 2018

parent 1844bbef
......@@ -19,28 +19,28 @@ load "$CJS_NCL_LIB/print_clock.ncl"
begin
print_clock( "Here we go!" )
basePath = "/home/carl/data/cfsr/notc500/"
basePath = "/home/carl/data/state_of_climate/"
print_clock( "Reading uLow" )
uLowVar = "u850"
uLowVar = "uwnd850"
uLowPath = basePath + uLowVar + ".total.notc500.nc"
uLowFile = addfile( uLowPath, "r" )
uLow = uLowFile->$uLowVar$
print_clock( "Reading vLow" )
vLowVar = "v850"
vLowVar = "vwnd850"
vLowPath = basePath + vLowVar + ".total.notc500.nc"
vLowFile = addfile( vLowPath, "r" )
vLow = vLowFile->$vLowVar$
print_clock( "Reading uHigh" )
uHighVar = "u200"
uHighVar = "uwnd200"
uHighPath = basePath + uHighVar + ".total.notc500.nc"
uHighFile = addfile( uHighPath, "r" )
uHigh = uHighFile->$uHighVar$
print_clock( "Reading vHigh" )
vHighVar = "v200"
vHighVar = "vwnd200"
vHighPath = basePath + vHighVar + ".total.notc500.nc"
vHighFile = addfile( vHighPath, "r" )
vHigh = vHighFile->$vHighVar$
......
......@@ -6,16 +6,17 @@ else
fi
echo $QUEUE
NCL_SCRIPT=run_avg
varName=hgt500
NCL_SCRIPT=remove_tc_davis
level=850
NCL_DIR=`pwd`
LOG_DIR=$NCL_DIR/log
mkdir -p $LOG_DIR
JOB_NAME=$NCL_SCRIPT"."$varName
JOB_NAME=$NCL_SCRIPT"."$level
echo $JOB_NAME `date`
LOG_FILE=$LOG_DIR/$JOB_NAME.log
NCL_OPTION="varName=\"$varName\""
#NCL_OPTION="varName=\"$varName\""
NCL_OPTION="level=$level"
rm $LOG_FILE
bsub \
......
......@@ -26,8 +26,8 @@ begin
doCalcAnom = True
; basePath = "~/data/cfsr/monthly/" + varName
basePath = "~/data/oisst/oisst.month"
inPath = basePath + ".total.nc"
basePath = "~/data/ersst/v5/sst.mnmean"
inPath = basePath + ".nc"
climPath = basePath + ".clim.1981.2010.nc"
anomPath = basePath + ".anom.nc"
stdPath = basePath + ".std.nc"
......
......@@ -24,17 +24,17 @@ begin
print( radius )
print( level )
uVar = "u" + level
vVar = "v" + level
basePath = "/home/carl/data/cfsr/"
uVar = "uwnd" + level
vVar = "vwnd" + level
basePath = "/home/carl/data/state_of_climate/"
; basePath = "/home/carl/data/monitor/v2/"
uInPath = basePath + "/total/" + uVar + ".total.nc"
vInPath = basePath + "/total/" + vVar + ".total.nc"
uOutPath = basePath + "/notc" + radius + "/" + uVar + ".total." + "notc" \
uInPath = basePath + uVar + ".total.nc"
vInPath = basePath + vVar + ".total.nc"
uOutPath = basePath + "/" + uVar + ".total." + "notc" \
+ radius + ".nc"
vOutPath = basePath + "/notc" + radius + "/" + vVar + ".total." + "notc" \
vOutPath = basePath + "/" + vVar + ".total." + "notc" \
+ radius + ".nc"
system( "mkdir -p " + basePath + "/notc" + radius )
; system( "mkdir -p " + basePath + "/notc" + radius )
print_clock( "Reading the " + uVar + " data" )
inFile = addfile( uInPath, "r" )
......
......@@ -16,14 +16,15 @@ load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_string.ncl"
load "$CJS_NCL_LIB/lib.array.ncl"
load "$CJS_NCL_LIB/print_clock.ncl"
load "$CJS_NCL_LIB/lib.cjs_graphics.ncl"
begin ; main
print_clock( "Here we go!" )
; These are some parameters that could be useful to have up top
minLon = -75
maxLon = -55
minLon = -90
maxLon = -65
minLat = 10
maxLat = 25
......@@ -34,8 +35,9 @@ begin ; main
dataType = "total"
varName = "shear"
inPath = "~/data/cfsr/notc500/shear.total.notc500.nc"
; inPath = "/home/carl/data/state_of_climate/shear.total.notc500.nc"
outPath = "/home/carl/data/people/klotzbach/" + varName + "." + dataType \
+ ".daily.csv"
+ "." + lon_string(minLon) + "." + lon_string(maxLon) + ".daily.csv"
print_clock( "Reading" )
inFile = addfile( inPath, "r" )
......
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