Commit fd0dec41 authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Thu Mar 29 00:00:15 EDT 2018

parent 6816a49a
...@@ -6,7 +6,7 @@ else ...@@ -6,7 +6,7 @@ else
fi fi
echo $QUEUE echo $QUEUE
NCL_SCRIPT=wk99_diff NCL_SCRIPT=histo2d
NCL_DIR=`pwd` NCL_DIR=`pwd`
LOG_DIR=$NCL_DIR/log LOG_DIR=$NCL_DIR/log
mkdir -p $LOG_DIR mkdir -p $LOG_DIR
...@@ -23,7 +23,7 @@ bsub \ ...@@ -23,7 +23,7 @@ bsub \
-o $LOG_FILE \ -o $LOG_FILE \
-e $ERR_FILE \ -e $ERR_FILE \
-q $QUEUE \ -q $QUEUE \
-n 1 -W 3:00 \ -n 1 -W 12:00 \
-sp 75 \ -sp 75 \
~/template/run_ncl.sh $NCL_DIR $NCL_SCRIPT "$NCL_OPTION" ~/template/run_ncl.sh $NCL_DIR $NCL_SCRIPT "$NCL_OPTION"
......
...@@ -24,10 +24,12 @@ begin ...@@ -24,10 +24,12 @@ begin
fontHeightF = 0.02 fontHeightF = 0.02
; shdLevels = ispan(-7,7,1) ; shdLevels = ispan(-7,7,1)
shdLevels = -999 ; shdLevels = -999
; shdLevels = 10^ispan(1,5,1)
shdLevels = 500 * 2^ispan(1,8,1)
minLon = 000 minLon = -180
maxLon = 360 maxLon = 180
minLat = -30 minLat = -30
maxLat = 30 maxLat = 30
centerLon = 180 centerLon = 180
...@@ -36,20 +38,22 @@ begin ...@@ -36,20 +38,22 @@ begin
minTime = cd_inv_calendar( 1979, 01, 01, 00, 0, 0, timeUnits, 0 ) minTime = cd_inv_calendar( 1979, 01, 01, 00, 0, 0, timeUnits, 0 )
maxTime = cd_inv_calendar( 2013, 12, 31, 18, 0, 0, timeUnits, 0 ) maxTime = cd_inv_calendar( 2013, 12, 31, 18, 0, 0, timeUnits, 0 )
hirsBin = ispan( 210, 310, 2 ) hirsBin = ispan( 100, 350, 2 )
avhrrBin = ispan( 210, 310, 2 ) avhrrBin = ispan( 100, 350, 2 )
print_clock( "Reading the data" ) print_clock( "Reading the data" )
print_clock( "Reading AVHRR" ) print_clock( "Reading AVHRR" )
inPath = "/home/carl/data/olr/compare/avhrr/olr.total.nc" inPath = "/home/carl/data/olr/compare/avhrr/olr.total.nc"
inFile = addfile( inPath, "r" ) inFile = addfile( inPath, "r" )
avhrrData = inFile->olr({minTime:maxTime},{minLat:maxLat},:) avhrrData = lon_subset( inFile->olr({minTime:maxTime},{minLat:maxLat},:), \
minLon, maxLon )
print_clock( "Reading HIRS" ) print_clock( "Reading HIRS" )
inPath = "/home/carl/data/olr/compare/hirs/olr.total.nc" inPath = "/home/carl/data/olr/compare/hirs/olr.total.nc"
inFile = addfile( inPath, "r" ) inFile = addfile( inPath, "r" )
hirsData = inFile->olr({minTime:maxTime},{minLat:maxLat},:) hirsData = lon_subset( inFile->olr({minTime:maxTime},{minLat:maxLat},:), \
minLon, maxLon )
print_clock( "Regridding" ) print_clock( "Regridding" )
hirsRegrid = copy_Gridding( avhrrData, hirsData ) hirsRegrid = copy_Gridding( avhrrData, hirsData )
...@@ -137,6 +141,9 @@ begin ...@@ -137,6 +141,9 @@ begin
plot = cjs_draw_hist2d( wks, hirs1d(goodInd), avhrr1d(goodInd), \ plot = cjs_draw_hist2d( wks, hirs1d(goodInd), avhrr1d(goodInd), \
hirsBin, avhrrBin, res ) hirsBin, avhrrBin, res )
regRes = True
regRes@maxNumData = 1000
cjs_add_regline( wks, plot, hirs1d(goodInd), avhrr1d(goodInd), True ) cjs_add_regline( wks, plot, hirs1d(goodInd), avhrr1d(goodInd), True )
draw( plot ) draw( plot )
......
Supports Markdown
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