[ncl-talk] Two questions about customizing WRF plots (forwarded on behalf of another user)
Mary Haley
haley at ucar.edu
Fri Oct 7 14:46:43 MDT 2016
I responded to this offline because Barry was still having problems with
his mailer. I'll include the response below.
Barry,
The WRF plotting functions make the map outlines very thin and faint, so it
may that they are there, but hard to see.
I see you have tried to set several map resources. These are the ones I
recommend that you start with:
mpres at mpOutlineOn = True
mpres at mpUSStateLineColor = "Black"
mpres at mpNationalLineColor = "Black"
mpres at mpGeophysicalLineColor = "Black"
mpres at mpUSStateLineThicknessF = 3.0
mpres at mpNationalLineThicknessF = 3.0
mpres at mpGeophysicalLineThicknessF = 3.0
If this doesn't give you as many outlines as you want, then try:
mpres at mpOutlineBoundarySets = "AllBoundaries"
If you still want more, then add:
mpres at mpDataSetName = "Earth..2"
You likely want to change the "thickness" resources to whatever thickness
you want for the outlines.
As for minimizing space around the map: you are using wrf_xxx plotting
routines, and they always want to put a bunch of titles at the top and
bottom of your plots. To get rid of some of those titles, set:
opts_tc at NoHeaderFooter = True
You may need to set this for all your wrf_contour and wrf_vector calls.
Please read the documentation for wrf_contour, wrf_vector, and
wrf_map_overlays. It tells you which resources you can set to get rid of
titles:
http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml
http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_contour.shtml
http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_vector.shtml
On Thu, Oct 6, 2016 at 9:34 AM, Mary Haley <haley at ucar.edu> wrote:
> I'm forwarding two messages on behalf of Barry Lynn, whose messages are
> not making it to ncl-talk for some reason.
>
> I've CC'ed wrfhelp at ucar.edu as well.
>
>
>
>
>
> Hi:
>
> Can someone please tell me how to turn off the WRF model information that
> appears on the bottom of the map page.
>
> Also, is there a way to limit the white space around the map? I am
> outputting to pdf and then converting to gif.
>
> Thank you.
>
>
> Here was another:
>
> Barry Lynn <barry.h.lynn at gmail.com>
> 8:43 PM (10 hours ago)
> to ncl-talk
> Hi:
>
> I live overseas, am unable to turn on country boundaries. As you can see,
> I have tried many different things.
>
> mpres = True ; Set map options (none set here)
> ; mpres at mpDataBaseVersion = "HighRes"
> ; mpres at mpDataBaseVersion = "MediumRes"
> mpres at mpDataBaseVersion = "LowRes"
> ; mpres at mpOutlineBoundarySets = "Geophysical"
> mpres at mpOutlineBoundarySets = "National"
> mpres at mpOutlineOn = "True"
> ; res at gsnAddCyclic = False ; Don't add longitude cyclic pt.
> mpres at mpGridAndLimbOn = False
> mpres at mpGeophysicalLineColor="Black"
> mpres at mpGeophysicalLineThicknessF=1.5
> mpres at mpOutlineOn = "True"
>
>
>>
>>>
>>>
>
> --
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161007/63175ce7/attachment.html
More information about the ncl-talk
mailing list