[ncl-talk] gsn_add_polyline and wrf_map_overlays

Adam Phillips asphilli at ucar.edu
Fri Mar 3 12:16:14 MST 2017


Hi Ryan,
Try this:
1) Change pltres at gsnPanelPlot to
                pltres at PanelPlot = True
    in line 113.
2) Remove/comment out the draw(plot) in line 122.
3) Uncomment out line 135 (draw(plot))

If that doesn't do it let ncl-talk know. The above changes should result in
a single frame getting created.
Adam

On Fri, Mar 3, 2017 at 9:55 AM, Ryan Connelly <rconne01 at gmail.com> wrote:

> Hi,
>
> I've been able to add a polyline to a contour plot of non-WRF data, but it
> seems the switch from using gsn_csm_contour to wrf_map_overlays creates a
> problem, resulting in either two plots (one contour plot and one blank plot
> with my polyline on it), or one plot with either the contour data OR the
> polyline, but never both.
>
> I've tried moving the call to draw(plot) around, adding and taking away
> some res's, etc., but can't figure out how to make a contour plot with a
> polyline on top of it.
>
> The script is attached, in "as is" condition.
>
> Thanks,
> Ryan
>
> --
> Ryan Connelly
> M.S. Student in Atmospheric Sciences, Stony Brook University
> B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso
> University
> rconne01 at gmail.com
> ryan.connelly at stonybrook.edu
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170303/987e7eb0/attachment.html 


More information about the ncl-talk mailing list