[ncl-talk] Can NCL plot polygons?

Rick Brownrigg brownrig at ucar.edu
Mon Mar 6 21:27:34 MST 2017


Hi Barry,

Is this what you are looking for?

     http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_add_polygon.shtml

 It follows the standard

   res at gsnFrame = False
   res at gsnDraw = False
   ....

   draw(plot)
   frame(wks)

paradigm that you've perhaps seen before. Each invocation of
gsn_add_polygon() requires that you assign the return value to a unique
variable/array-element.

HTH...
Rick


On Mon, Mar 6, 2017 at 8:45 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi:
>
> I can write out the polygon data or simply read it using a Fortran program
> I wrote from NCL.
>
> Can NCL possibly plot a n-vertices polygon, where n might be 4 or more?
>
> Barry
>
> On Tue, Mar 7, 2017 at 5:19 AM, Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
>> Thank you.
>>
>> First, I am writing (I wrote) Fortran programs to read the data and write
>> it to simple txt files.  I will then read it into NCL, and interpolate
>> it....
>>
>> Not fun, but doable.
>>
>> Barry
>>
>> On Mon, Mar 6, 2017 at 11:55 PM, Rick Brownrigg <brownrig at ucar.edu>
>> wrote:
>>
>>> Hi Barry,
>>>
>>> There is no capability to read JSON built directly into NCL. Suppose it
>>> could be done using the asciiread and string facilities, but wow, that
>>> would be tedious.
>>>
>>> Rick
>>>
>>> On Sun, Mar 5, 2017 at 12:47 PM, Barry Lynn <barry.h.lynn at gmail.com>
>>> wrote:
>>>
>>>> Hello:
>>>>
>>>> I am wondering if I have missed an NCL program that can read json files
>>>> from:
>>>>
>>>> https://www.ncdc.noaa.gov/nexradinv/
>>>>
>>>> Barry
>>>> --
>>>> 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 <(914)%20432-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 <(914)%20432-3108>
>>
>
>
>
> --
> 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 <(914)%20432-3108>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170306/e9412cee/attachment.html 


More information about the ncl-talk mailing list