[ncl-talk] Can't turn off boundaries

Barry Lynn barry.h.lynn at gmail.com
Tue Aug 30 22:28:49 MDT 2016


Hi Mary:

Thank you.

However, I am left with the Meridianol line (e.g., first map plot)..

And this resource is not recognized in vector plot.

warning:gsnAddCyclic is not a valid resource in wrfwinds_vector at this
time.

Barry




On Wed, Aug 31, 2016 at 12:48 AM, Mary Haley <haley at ucar.edu> wrote:

> Barry,
>
> You generally don't want to set resources using get_res_value_keep,
> because this is an internal function.
>
> Instead of:
>
>       opts at mpDataBaseVersion     = get_res_value_keep(opts,
> "mpDataBaseVersion","HighRes")
>
> you should be able to set the resource directly:
>
>       opts at mpDataBaseVersion  = "HighRes"
>
> The reason you are not seeing the map resource take effect is because you
> are trying to set a map resource when creating a vector plot.
>
> You can't set the map resources until you get to the "wrf_map_overlays"
> call:
>
>   mpres = True
>   mpres at mpDataBaseVersion = "HighRes"
>   .  .  . set other map resources here as desired . . .
>
>   ov = wrf_map_overlays(a,wks,(/contour_tf,contour_psl,vector/),True,mpres)
>
>
>
>
>
> On Tue, Aug 30, 2016 at 4:16 AM, Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
>
>> Hi:
>>
>> I have tried various options to turn off state and other boundary lines
>> but to no avail.
>>
>>       opts at mpDataBaseVersion     = get_res_value_keep(opts,
>> "mpDataBaseVersion","HighRes")
>>       opts at mpOutlineBoundarySets = get_res_value_keep(opts,
>> "mpOutlineBoundarySets", "NoBoundaries")
>>       opts at mpOutlineBoundarySets = "NoBoundaries"
>>       vector = wrf_vector(a,wks,u10,v10,opts)
>>
>> I have also tried this by itself.
>>
>> res at mpOutlineBoundarySets = "NoBoundaries"
>>
>> In the old WRF_NCL I used "HighRes" database with these settings in
>> WRFPlot.ncl (which I can't find in the new version).
>>
>>       opts at mpDataBaseVersion     = get_res_value_keep(opts,
>> "mpDataBaseVersion","HighRes")
>>        opts at mpOutlineBoundarySets = get_res_value_keep(opts,
>> "mpOutlineBoundarySets", "AllBoundaries")
>> ;     opts at mpOutlineBoundarySets = get_res_value_keep(opts,
>> "mpOutlineBoundarySets", "GeophysicalAndUSStates")
>>
>>
>> Does someone have a suggestion?  I am using version 6+.
>>
>> Thank you,
>>
>> --
>> 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
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>


-- 
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/20160831/ad956f2d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrfwinds.pdf
Type: application/pdf
Size: 542544 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160831/ad956f2d/attachment-0001.pdf 


More information about the ncl-talk mailing list