Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Carl Schreck
OLR CDR
Commits
fd0dec41
Commit
fd0dec41
authored
Mar 29, 2018
by
Carl Schreck
Browse files
Automated Nightly Commit - Thu Mar 29 00:00:15 EDT 2018
parent
6816a49a
Changes
2
Hide whitespace changes
Inline
Side-by-side
compare/bsub_ncl.sh
View file @
fd0dec41
...
...
@@ -6,7 +6,7 @@ else
fi
echo
$QUEUE
NCL_SCRIPT
=
wk99_diff
NCL_SCRIPT
=
histo2d
NCL_DIR
=
`
pwd
`
LOG_DIR
=
$NCL_DIR
/log
mkdir
-p
$LOG_DIR
...
...
@@ -23,7 +23,7 @@ bsub \
-o
$LOG_FILE
\
-e
$ERR_FILE
\
-q
$QUEUE
\
-n
1
-W
3
:00
\
-n
1
-W
12
:00
\
-sp
75
\
~/template/run_ncl.sh
$NCL_DIR
$NCL_SCRIPT
"
$NCL_OPTION
"
...
...
compare/histo2d.ncl
View file @
fd0dec41
...
...
@@ -24,10 +24,12 @@ begin
fontHeightF = 0.02
; shdLevels = ispan(-7,7,1)
shdLevels = -999
; shdLevels = -999
; shdLevels = 10^ispan(1,5,1)
shdLevels = 500 * 2^ispan(1,8,1)
minLon =
00
0
maxLon =
36
0
minLon =
-18
0
maxLon =
18
0
minLat = -30
maxLat = 30
centerLon = 180
...
...
@@ -36,20 +38,22 @@ begin
minTime = cd_inv_calendar( 1979, 01, 01, 00, 0, 0, timeUnits, 0 )
maxTime = cd_inv_calendar( 2013, 12, 31, 18, 0, 0, timeUnits, 0 )
hirsBin = ispan(
2
10, 3
1
0, 2 )
avhrrBin = ispan(
2
10, 3
1
0, 2 )
hirsBin = ispan( 1
0
0, 3
5
0, 2 )
avhrrBin = ispan( 1
0
0, 3
5
0, 2 )
print_clock( "Reading the data" )
print_clock( "Reading AVHRR" )
inPath = "/home/carl/data/olr/compare/avhrr/olr.total.nc"
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" )
inPath = "/home/carl/data/olr/compare/hirs/olr.total.nc"
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" )
hirsRegrid = copy_Gridding( avhrrData, hirsData )
...
...
@@ -137,6 +141,9 @@ begin
plot = cjs_draw_hist2d( wks, hirs1d(goodInd), avhrr1d(goodInd), \
hirsBin, avhrrBin, res )
regRes = True
regRes@maxNumData = 1000
cjs_add_regline( wks, plot, hirs1d(goodInd), avhrr1d(goodInd), True )
draw( plot )
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment