<div dir="ltr"><div><div><div>Hello,<br><br></div>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. <br><br></div>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<br><br></div><div>Here's my script:<br><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"<br>;load "./WRFUserARW.ncl"<br><br>begin<br> a = addfile("./YSU_EA_d03.nc","r")<br> type = "pdf"<br> wks = gsn_open_wks(type,"PBLH_YSU")<br> gsn_define_colormap(wks,"WhBlGrYeRe")<br><br>; Plot options<br> pltres = True<br> mpres = True<br> res = True<br> res@gsnMaximize = True<br> mpres@mpDataBaseVersion = "HighRes"<br> res@MainTitle = "PBLH"<br> NoTitles = True<br> LatLonOverlay = True<br> res@tiMainFontHeightF = 0.04<br> res@lbLabelFontHeightF = 0.03<br> res@tiXAxisFontHeightF = 0.03<br> res@tiYAxisFontHeightF = 0.03<br> res@cnFillOn = True<br> res@gsnSpreadColors = True<br> res@cnLinesOn = False<br> res@cnLineLabelsOn = False<br> res@cnLevelSelectionMode = "ManualLevels"<br> res@cnMinLevelValF = 0.<br> res@cnMaxLevelValF = 2800<br> mpres@mpGeophysicalLineColor = "Black"<br> <br> times = wrf_user_getvar(a,"times",-1) <br> ntimes = dimsizes(times) <br><br> do it = 0,ntimes-1 <br><br> print("Working on time: " + times(it) )<br> res@TimeLabel = times(it) <br><br> PBLH = wrf_user_getvar(a,"PBLH",it)<br> contour_PBLH = wrf_contour(a,wks,PBLH,res) <br> plot = wrf_map_overlays(a,wks,(/contour_PBLH/),pltres,mpres)<br> end do <br>end<br><br></div><div><br></div>Cheers<br></div>
<br>
<a href="http://www.dlsu.edu.ph" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-logo.jpg"></a><a href="https://www.facebook.com/DLSU.Manila.100" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-fb.jpg"></a><a href="http://instagram.com/dlsu" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-instagram.jpg"></a><a href="https://twitter.com/dlsumanila" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-twitter.jpg"></a><a href="http://dlsumanila.tumblr.com/" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-tumbler.jpg"></a><a href="http://iblog.lasalle.ph/" target="_blank"><img src="http://www.dlsu.edu.ph/offices/mco/images/email-disclaimer/dlsu-blog.jpg"></a><font color="green" face="Arial" size="2"><br><br>DISCLAIMER AND CONFIDENTIALITY NOTICE </font><div><font color="green" face="Arial" size="2">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. </font></div>