Commit 2fd0b4ec authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Wed Oct 21 00:00:19 EDT 2015

parent b651f507
......@@ -33,7 +33,7 @@ begin ; draw_meanvar
units = "(W m-2)^2"
else
fileName = "olr.std.waves.nc"
units = "(W m-2)^2"
units = "%"
end if
end if
hirsPath = "/home/carl/data/olr/compare/hirs/" + fileName
......@@ -42,6 +42,10 @@ begin ; draw_meanvar
hirsData = calc_meanvar( hirsPath, varName, i_plotVar, minYear, maxYear )
avhrrData = calc_meanvar( avhrrPath, varName, i_plotVar, minYear, maxYear )
if( units.eq."%" ) then
hirsData = hirsData * 100
avhrrData = avhrrData * 100
end if
hirsRegrid = copy_Gridding( avhrrData, hirsData )
diffData = hirsRegrid - avhrrData
......@@ -71,6 +75,7 @@ begin ; draw_meanvar
cntRes@cnMonoLineColor = False
cntRes@cnLineLabelsOn = True
cntRes@cnMaxLevelCount = 8
cntRes@cnInfoLabelOn = False
if( i_cntRes ) then
copy_VarAtts( i_cntRes, cntRes )
......
......@@ -43,7 +43,7 @@ begin ; main
plotVar = "mean"
res = True
res@fontHeightF = 0.015
res@cnLevels := ispan(-5,5,1) * 5
res@cnLevels := ispan(-5,5,1) * 2
cntRes = True
meanPlot = draw_meanvar( wks, plotVar, res, cntRes )
......
......@@ -43,31 +43,43 @@ begin ; main
plotVar = "low"
res = True
cntRes = True
res@cnLevels = ispan(-5,5,1) * 50
res@cnLevels = ispan(-5,5,1) * 1
res@mpMinLatF = -30
res@mpMaxLatF = 30
res@lbLabelBarOn = False
res@tmXBLabelsOn = False
lowPlot = draw_meanvar( wks, plotVar, res, cntRes )
plotVar = "mjo"
res = True
cntRes = True
res@cnLevels = ispan(-5,5,1) * 5
mjoPlot = draw_meanvar( wks, plotVar, res, cntRes )
plotVar = "kelvin"
res = True
cntRes = True
res@cnLevels = ispan(-5,5,1) * 50
cntRes@cnLevels = ispan( 6, 20, 2 )
kelvinPlot = draw_meanvar( wks, plotVar, res, cntRes )
plotVar = "er"
res = True
res@tmXBLabelsOn = True
cntRes = True
res@cnLevels = ispan(-5,5,1) * 50
erPlot = draw_meanvar( wks, plotVar, res, cntRes )
; Customize panel
panRes = True
panRes@gsnPanelYWhiteSpacePercent = 5
panRes@gsnPanelBottom = 0.05
panRes@gsnPanelLabelBar = True
panRes@lbTitleString = "%"
panRes@lbTitlePosition = "Right"
panRes@lbTitleDirection = "Across"
panRes@lbOrientation = "Horizontal"
panRes@lbTitleFontHeightF = 0.03
panRes@lbLabelFontHeightF = 0.03
panRes@pmLabelBarOrthogonalPosF = 0.00
gsn_panel( wks, (/ lowPlot, mjoPlot, kelvinPlot, erPlot /), (/ 4, 1 /), panRes )
......
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