[ncl-talk] Simplifying NCL WRF shapefile code

Mary Haley haley at ucar.edu
Thu Sep 25 09:17:09 MDT 2014


Without seeing your code, I can only guess why only the last plot is being
displayed.  If you want each plot to be in a separate frame, you need to
call "frame(wks)" before the end of the do loop, and not outside of the do
loop.

Note: when you use the gsn_csm_xxxxx plotting interfaces, the frame is
automatically advanced for you, unless you set res at gsnFrame to False.

When you use the wrf_overlays or wrf_map_overlays functions, this also
advances the frame for you automatically, unless you set the special
"PanelPlot" resource to False, which I'm guessing you did, since you had to
add shapefile outlines.

--Mary


On Thu, Sep 25, 2014 at 6:54 AM, ashwinD12 . <winash12 at gmail.com> wrote:

> That works just fine. The shapefile and WRF plot are seen together. I just
> had a couple of more questions.
>
> I have three plots in a do loop. Only the last one gets displayed. How
> does one flip from one plot to another ?
>
> Also the text in the plot is blurred and very small font. How does one set
> that ?
>
>
> On Thu, Sep 25, 2014 at 10:08 AM, Mary Haley <haley at ucar.edu> wrote:
>
>> Ashwin,
>>
>> If you are simply trying to attach shapefile outlines to a WRF plot, then
>> see example shapefiles_14.ncl at:
>>
>> http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex14
>>
>> --Mary
>>
>>
>> On Wed, Sep 24, 2014 at 7:12 AM, ashwinD12 . <winash12 at gmail.com> wrote:
>>
>>> Hello Mary,
>>>            Did this script ever get mailed out - ?
>>> http://www.ncl.ucar.edu/Support/talk_archives/2014/0379.html ? I am
>>> having the same problems that Tabish and Hanna reported a while back. In
>>> essence I can see the shapefile and WRF rainfall plot but separately. I do
>>> not want to copy and paste code all over the place just to get it working.
>>> So a working example or psuedo NCL code would be helpful.
>>> Regards,
>>> Ashwin.
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20140925/6d87fb5e/attachment.html 


More information about the ncl-talk mailing list