[ncl-talk] Unexpected line (Upper portion) in the plots produced using NCL 6.3.0
Jacob Alberto Garcia
jacob_garcia at dlsu.edu.ph
Mon Mar 7 08:36:18 MST 2016
Hello,
I am currently using NCL 6.3.0 to plot data from WRF output. Attached is
the script I used and an example of what comes out afterwards.
I can't seem to figure out as to why there is always a line included in the
upper portion of my plots. Hoping you guys could help me out
Here's my script:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
;load "./WRFUserARW.ncl"
begin
a = addfile("./YSU_EA_d03.nc","r")
type = "pdf"
wks = gsn_open_wks(type,"PBLH_YSU")
gsn_define_colormap(wks,"WhBlGrYeRe")
; Plot options
pltres = True
mpres = True
res = True
res at gsnMaximize = True
mpres at mpDataBaseVersion = "HighRes"
res at MainTitle = "PBLH"
NoTitles = True
LatLonOverlay = True
res at tiMainFontHeightF = 0.04
res at lbLabelFontHeightF = 0.03
res at tiXAxisFontHeightF = 0.03
res at tiYAxisFontHeightF = 0.03
res at cnFillOn = True
res at gsnSpreadColors = True
res at cnLinesOn = False
res at cnLineLabelsOn = False
res at cnLevelSelectionMode = "ManualLevels"
res at cnMinLevelValF = 0.
res at cnMaxLevelValF = 2800
mpres at mpGeophysicalLineColor = "Black"
times = wrf_user_getvar(a,"times",-1)
ntimes = dimsizes(times)
do it = 0,ntimes-1
print("Working on time: " + times(it) )
res at TimeLabel = times(it)
PBLH = wrf_user_getvar(a,"PBLH",it)
contour_PBLH = wrf_contour(a,wks,PBLH,res)
plot = wrf_map_overlays(a,wks,(/contour_PBLH/),pltres,mpres)
end do
end
Cheers
--
<http://www.dlsu.edu.ph> <https://www.facebook.com/DLSU.Manila.100>
<http://instagram.com/dlsu> <https://twitter.com/dlsumanila>
<http://dlsumanila.tumblr.com/> <http://iblog.lasalle.ph/>
DISCLAIMER AND CONFIDENTIALITY NOTICE
The information contained in this e-mail, including those in its
attachments, is confidential and intended only for the person(s) or
entity(ies) to which it is addressed. If you are not an intended recipient,
you must not read, copy, store, disclose, distribute this message, or act
in reliance upon the information contained in it. If you received this
e-mail in error, please contact the sender and delete the material from any
computer or system. Any views expressed in this message are those of the
individual sender and may not necessarily reflect the views of De La Salle
University.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160307/6b88b52c/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pblh_ncl.png
Type: image/png
Size: 71065 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160307/6b88b52c/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbl.ncl
Type: application/octet-stream
Size: 1304 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160307/6b88b52c/attachment.obj
More information about the ncl-talk
mailing list