[ncl-talk] Unexpected line (Upper portion) in the plots produced using NCL 6.3.0

Rick Brownrigg brownrig at ucar.edu
Mon Mar 7 10:21:19 MST 2016


Try setting this resource:

   res at mpGridAndLimbOn = False

According to the docs, the default is true and the mpGridLatSpacingF
resource is set to 15.0, which would seem to explain the line in your plot.

Hope that helps...
Rick

On Mon, Mar 7, 2016 at 8:41 AM, Guido Cioni <guidocioni at gmail.com> wrote:

> Hey Jacob,
> don’t know if it will help, but it may worth a shot…
> Did you try including the option gsnAddCyclic = False ?
>
> Guido Cioni
> http://guidocioni.altervista.org
>
> On 07 Mar 2016, at 16:36, Jacob Alberto Garcia <jacob_garcia at dlsu.edu.ph>
> wrote:
>
> 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.
> <pblh_ncl.png><pbl.ncl>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160307/4f1ac09d/attachment.html 


More information about the ncl-talk mailing list