[ncl-talk] ncl-talk Digest, Vol 194, Issue 16

S. Y. e.sadam91 at gmail.com
Thu Jan 16 04:35:52 MST 2020


Hello Karin

Thank you for your help.
when i run the echo $NCARG_ROOT
i initially got '(base) sdm at sdm-ThinkPad-P50:'

then i saw something like i should run  'source activate *ncl_stable' after
every logout*
when i run again echo $NCARG_ROOT
i got (ncl_stable) sdm at sdm-ThinkPad-P50:

now it works.
Thanks

On Wed, Jan 15, 2020 at 8:00 PM <ncl-talk-request at ucar.edu> wrote:

> Send ncl-talk mailing list submissions to
>         ncl-talk at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> or, via email, send a message with subject or body 'help' to
>         ncl-talk-request at ucar.edu
>
> You can reach the person managing the list at
>         ncl-talk-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ncl-talk digest..."
>
>
> Today's Topics:
>
>    1. Re: Disappearing Dots (Revisited) (Rashed Mahmood)
>    2. Re: Disappearing Dots (Revisited) (Adam Phillips)
>    3. Re: Disappearing Dots (Revisited) (Barry Lynn)
>    4. Re: Disappearing Dots (Revisited) (Barry Lynn)
>    5. Re: Disappearing Dots (Revisited) (Barry Lynn)
>    6. Re: Disappearing Dots (Revisited) (Barry Lynn)
>    7. Re: Disappearing Dots (Correction) (Barry Lynn)
>    8. error while running NCL and Shape file scripts (S. Y.)
>    9. Re: error while running NCL and Shape file scripts
>       (Karin Meier-Fleischer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Jan 2020 11:02:28 -0800
> From: Rashed Mahmood <rashidcomsis at gmail.com>
> To: Barry Lynn <barry.h.lynn at gmail.com>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <CAOmfQPrXpFrmR-7v21uteDsv9xBT10z-uMgRtjS=
> W5Zkvjd_zg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Barry,
> There is no BIG mystery in it after all!!
>
> The function was probably not designed to be used inside a loop, I have
> changed in the attached test_arrow.ncl file. A dummy test is also attached:
> There were three problematic lines( which would work outside the loop) but
> not inside:
> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> plt at arr1 = gsn_add_polyline(wks,plt,xpts1,ypts1,resp)
> plt at arr2 = gsn_add_polyline(wks,plt,xpts2,ypts2,resp)
>
> Note that the syntax "plt at arr"  would be fine for plotting individual
> plots
> separately however when used in loop this would need to be something
> different, below is what I changed in the attached test_arrow.ncl:
>
> plt@$unique_string("tmp")$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> plt@$unique_string("arr1")$ = gsn_add_polyline(wks,plt,xpts1,ypts1,resp)
> plt@$unique_string("abc")$ = gsn_add_polyline(wks,plt,xpts2,ypts2,resp)
>
> Hope that helps.
> Rashed
>
>
>
>
>
> On Tue, Jan 14, 2020 at 8:45 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
> > Hi:
> >
> > I have a bit of a mystery:
> >
> > I have a loop where I am calling gsn_add_polymarker. I created an array
> > (dum_b(n_calls)) so I could plot the markers within the loop.
> >
> > dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >
> >
> > However, when I call:
> >
> >
> > array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >
> >
> > I am not able to make the lines with the arrows (more than once).
> >
> >
> > warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >
> >
> > Yet, if I call the same with
> >
> >
> > arr_0 = arrow...
> >
> >
> > arr_1 = arrow...
> >
> >
> > up to n_calls, I have no problem.
> >
> >
> > If someone can solve the mystery, I would be curious to find out the
> > reason for this "strange" behavior.
> >
> >
> > https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >
> > On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
> >
> >> Hi:
> >>
> >> That was absolutely the correct solution -- thank you.
> >>
> >> Are you aware of a way to increase the spacing between maps?  I am using
> >> wrf resources so this is very obtuse.
> >>
> >> Barry
> >>
> >> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <rashidcomsis at gmail.com>
> >> wrote:
> >>
> >>> Hi Barry,
> >>> A quick look suggests that it may be related to not specifying unique
> >>> ids for markid and textid:
> >>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>
> >>> Next lines should have,
> >>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>
> >>> and so on...
> >>>
> >>> Cheers
> >>>
> >>> Rashed
> >>>
> >>>
> >>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>> ncl-talk at ucar.edu> wrote:
> >>>
> >>>> Hello:
> >>>>
> >>>> For some reason, the markid only appears on the last graph, but not
> the
> >>>> first two.  Yet, the "call" to each is the same.  I had this problem
> in
> >>>> other programs I wrote.
> >>>>
> >>>> If you have a suggestion, thank you,
> >>>>
> >>>> Barry
> >>>> --
> >>>> Barry H. Lynn, Ph.D
> >>>> Senior Associate Scientist, 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
> >>>>
> >>>> _______________________________________________
> >>>> 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 Associate Scientist, 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
> >>
> >>
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200114/d27b2d4d/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: test_arrow.ncl
> Type: application/octet-stream
> Size: 2351 bytes
> Desc: not available
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200114/d27b2d4d/attachment-0001.obj
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: dum_arrow.pdf
> Type: application/pdf
> Size: 64408 bytes
> Desc: not available
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200114/d27b2d4d/attachment-0001.pdf
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Jan 2020 12:05:59 -0700
> From: Adam Phillips <asphilli at ucar.edu>
> To: Barry Lynn <barry.h.lynn at gmail.com>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <CACvWuqABWfyuAFUZJ=
> iH+asFe+V0-XpitJ0x9wqqSHdqvRqumQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Barry,
> If I had to guess, it is that the arrow function writes the
> gsn_add_polyline output as attributes named arr,arr1, and arr2 to the plt
> array that is to be returned by the function. If you call the function
> multiple times and pass all the graphical output to the same logical array
> named "array", each time you call arrow, array at arr, array at arr1 and
> array at arr2 will get overwritten.  To get around this, you should alter the
> arrow function to use the unique_string function.
> https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
>
> For an example of how to do this, see polymarker example #18:
> https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
>
> For example, change this:
> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> to this:
> str = unique_string("arr")
> plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
>
> and do the same for the other two calls to gsn_add_polyline.
> Hope that helps!
> Adam
>
>
> On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <ncl-talk at ucar.edu
> >
> wrote:
>
> > Hi:
> >
> > I have a bit of a mystery:
> >
> > I have a loop where I am calling gsn_add_polymarker. I created an array
> > (dum_b(n_calls)) so I could plot the markers within the loop.
> >
> > dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >
> >
> > However, when I call:
> >
> >
> > array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >
> >
> > I am not able to make the lines with the arrows (more than once).
> >
> >
> > warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >
> >
> > Yet, if I call the same with
> >
> >
> > arr_0 = arrow...
> >
> >
> > arr_1 = arrow...
> >
> >
> > up to n_calls, I have no problem.
> >
> >
> > If someone can solve the mystery, I would be curious to find out the
> > reason for this "strange" behavior.
> >
> >
> > https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >
> > On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
> >
> >> Hi:
> >>
> >> That was absolutely the correct solution -- thank you.
> >>
> >> Are you aware of a way to increase the spacing between maps?  I am using
> >> wrf resources so this is very obtuse.
> >>
> >> Barry
> >>
> >> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <rashidcomsis at gmail.com>
> >> wrote:
> >>
> >>> Hi Barry,
> >>> A quick look suggests that it may be related to not specifying unique
> >>> ids for markid and textid:
> >>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>
> >>> Next lines should have,
> >>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>
> >>> and so on...
> >>>
> >>> Cheers
> >>>
> >>> Rashed
> >>>
> >>>
> >>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>> ncl-talk at ucar.edu> wrote:
> >>>
> >>>> Hello:
> >>>>
> >>>> For some reason, the markid only appears on the last graph, but not
> the
> >>>> first two.  Yet, the "call" to each is the same.  I had this problem
> in
> >>>> other programs I wrote.
> >>>>
> >>>> If you have a suggestion, thank you,
> >>>>
> >>>> Barry
> >>>> --
> >>>> Barry H. Lynn, Ph.D
> >>>> Senior Associate Scientist, 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
> >>>>
> >>>> _______________________________________________
> >>>> 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 Associate Scientist, 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
> >>
> >>
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> > _______________________________________________
> > 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/20200114/4c1fe7bf/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 14 Jan 2020 21:47:15 +0200
> From: Barry Lynn <barry.h.lynn at gmail.com>
> To: Adam Phillips <asphilli at ucar.edu>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <CAN7Bv26L4F495eTaUnegXEZQZa3z8AKjBTik1Ne6YDz308s=
> jw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Adam, Rasheed.
>
> In both cases, I call the function within a loop.  The only difference is
> whether I refer to array(i) or arr_0, arr_1... n.
>
> In any case, I will try Rashed's version.
>
> Barry
>
> On Tue, Jan 14, 2020 at 9:06 PM Adam Phillips <asphilli at ucar.edu> wrote:
>
> > Hi Barry,
> > If I had to guess, it is that the arrow function writes the
> > gsn_add_polyline output as attributes named arr,arr1, and arr2 to the plt
> > array that is to be returned by the function. If you call the function
> > multiple times and pass all the graphical output to the same logical
> array
> > named "array", each time you call arrow, array at arr, array at arr1 and
> > array at arr2 will get overwritten.  To get around this, you should alter
> > the arrow function to use the unique_string function.
> > https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
> >
> > For an example of how to do this, see polymarker example #18:
> > https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
> >
> > For example, change this:
> > plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> > to this:
> > str = unique_string("arr")
> > plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >
> > and do the same for the other two calls to gsn_add_polyline.
> > Hope that helps!
> > Adam
> >
> >
> > On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <
> ncl-talk at ucar.edu>
> > wrote:
> >
> >> Hi:
> >>
> >> I have a bit of a mystery:
> >>
> >> I have a loop where I am calling gsn_add_polymarker. I created an array
> >> (dum_b(n_calls)) so I could plot the markers within the loop.
> >>
> >> dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >>
> >>
> >> However, when I call:
> >>
> >>
> >> array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >>
> >>
> >> I am not able to make the lines with the arrows (more than once).
> >>
> >>
> >> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >>
> >>
> >> Yet, if I call the same with
> >>
> >>
> >> arr_0 = arrow...
> >>
> >>
> >> arr_1 = arrow...
> >>
> >>
> >> up to n_calls, I have no problem.
> >>
> >>
> >> If someone can solve the mystery, I would be curious to find out the
> >> reason for this "strange" behavior.
> >>
> >>
> >> https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >>
> >> On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> >> wrote:
> >>
> >>> Hi:
> >>>
> >>> That was absolutely the correct solution -- thank you.
> >>>
> >>> Are you aware of a way to increase the spacing between maps?  I am
> using
> >>> wrf resources so this is very obtuse.
> >>>
> >>> Barry
> >>>
> >>> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <rashidcomsis at gmail.com
> >
> >>> wrote:
> >>>
> >>>> Hi Barry,
> >>>> A quick look suggests that it may be related to not specifying unique
> >>>> ids for markid and textid:
> >>>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>
> >>>> Next lines should have,
> >>>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>
> >>>> and so on...
> >>>>
> >>>> Cheers
> >>>>
> >>>> Rashed
> >>>>
> >>>>
> >>>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>>> ncl-talk at ucar.edu> wrote:
> >>>>
> >>>>> Hello:
> >>>>>
> >>>>> For some reason, the markid only appears on the last graph, but not
> >>>>> the first two.  Yet, the "call" to each is the same.  I had this
> problem in
> >>>>> other programs I wrote.
> >>>>>
> >>>>> If you have a suggestion, thank you,
> >>>>>
> >>>>> Barry
> >>>>> --
> >>>>> Barry H. Lynn, Ph.D
> >>>>> Senior Associate Scientist, 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
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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 Associate Scientist, 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
> >>>
> >>>
> >>
> >> --
> >> Barry H. Lynn, Ph.D
> >> Senior Associate Scientist, 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
> >>
> >> _______________________________________________
> >> 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>
> >
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200114/32ef0e44/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Tue, 14 Jan 2020 21:48:25 +0200
> From: Barry Lynn <barry.h.lynn at gmail.com>
> To: Adam Phillips <asphilli at ucar.edu>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <CAN7Bv27p1kHmaBu973td=
> 5CKt9-+GYsgP87SfeNJh4tNBA4yCg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Rashed seems to demonstrate that his version works, so I will probably find
> the same.  I'll update later.
>
> Thank you for the help.
>
> Barry
>
> On Tue, Jan 14, 2020 at 9:47 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
> > Hi Adam, Rasheed.
> >
> > In both cases, I call the function within a loop.  The only difference is
> > whether I refer to array(i) or arr_0, arr_1... n.
> >
> > In any case, I will try Rashed's version.
> >
> > Barry
> >
> > On Tue, Jan 14, 2020 at 9:06 PM Adam Phillips <asphilli at ucar.edu> wrote:
> >
> >> Hi Barry,
> >> If I had to guess, it is that the arrow function writes the
> >> gsn_add_polyline output as attributes named arr,arr1, and arr2 to the
> plt
> >> array that is to be returned by the function. If you call the function
> >> multiple times and pass all the graphical output to the same logical
> array
> >> named "array", each time you call arrow, array at arr, array at arr1 and
> >> array at arr2 will get overwritten.  To get around this, you should alter
> >> the arrow function to use the unique_string function.
> >>
> https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
> >>
> >> For an example of how to do this, see polymarker example #18:
> >> https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
> >>
> >> For example, change this:
> >> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >> to this:
> >> str = unique_string("arr")
> >> plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>
> >> and do the same for the other two calls to gsn_add_polyline.
> >> Hope that helps!
> >> Adam
> >>
> >>
> >> On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <
> >> ncl-talk at ucar.edu> wrote:
> >>
> >>> Hi:
> >>>
> >>> I have a bit of a mystery:
> >>>
> >>> I have a loop where I am calling gsn_add_polymarker. I created an array
> >>> (dum_b(n_calls)) so I could plot the markers within the loop.
> >>>
> >>> dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >>>
> >>>
> >>> However, when I call:
> >>>
> >>>
> >>> array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >>>
> >>>
> >>> I am not able to make the lines with the arrows (more than once).
> >>>
> >>>
> >>> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >>>
> >>>
> >>> Yet, if I call the same with
> >>>
> >>>
> >>> arr_0 = arrow...
> >>>
> >>>
> >>> arr_1 = arrow...
> >>>
> >>>
> >>> up to n_calls, I have no problem.
> >>>
> >>>
> >>> If someone can solve the mystery, I would be curious to find out the
> >>> reason for this "strange" behavior.
> >>>
> >>>
> >>> https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >>>
> >>> On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> >>> wrote:
> >>>
> >>>> Hi:
> >>>>
> >>>> That was absolutely the correct solution -- thank you.
> >>>>
> >>>> Are you aware of a way to increase the spacing between maps?  I am
> >>>> using wrf resources so this is very obtuse.
> >>>>
> >>>> Barry
> >>>>
> >>>> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <
> rashidcomsis at gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Hi Barry,
> >>>>> A quick look suggests that it may be related to not specifying unique
> >>>>> ids for markid and textid:
> >>>>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>
> >>>>> Next lines should have,
> >>>>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>
> >>>>> and so on...
> >>>>>
> >>>>> Cheers
> >>>>>
> >>>>> Rashed
> >>>>>
> >>>>>
> >>>>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>>>> ncl-talk at ucar.edu> wrote:
> >>>>>
> >>>>>> Hello:
> >>>>>>
> >>>>>> For some reason, the markid only appears on the last graph, but not
> >>>>>> the first two.  Yet, the "call" to each is the same.  I had this
> problem in
> >>>>>> other programs I wrote.
> >>>>>>
> >>>>>> If you have a suggestion, thank you,
> >>>>>>
> >>>>>> Barry
> >>>>>> --
> >>>>>> Barry H. Lynn, Ph.D
> >>>>>> Senior Associate Scientist, 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
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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 Associate Scientist, 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
> >>>>
> >>>>
> >>>
> >>> --
> >>> Barry H. Lynn, Ph.D
> >>> Senior Associate Scientist, 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
> >>>
> >>> _______________________________________________
> >>> 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>
> >>
> >
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> >
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200114/4e85dd3a/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Wed, 15 Jan 2020 05:25:01 +0200
> From: Barry Lynn <barry.h.lynn at gmail.com>
> To: Adam Phillips <asphilli at ucar.edu>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <
> CAN7Bv27bnFk_HF8d1Hmv1H3Xi93KdDOuoY8km-wgEmu7QXLc3A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Rashed's fix worked fine.  I wonder why I am able to call the arrow routine
> with a single array name (not array(i)).
>
> Thanks again.
>
> On Tue, Jan 14, 2020 at 9:48 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
> > Rashed seems to demonstrate that his version works, so I will probably
> > find the same.  I'll update later.
> >
> > Thank you for the help.
> >
> > Barry
> >
> > On Tue, Jan 14, 2020 at 9:47 PM Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
> >
> >> Hi Adam, Rasheed.
> >>
> >> In both cases, I call the function within a loop.  The only difference
> is
> >> whether I refer to array(i) or arr_0, arr_1... n.
> >>
> >> In any case, I will try Rashed's version.
> >>
> >> Barry
> >>
> >> On Tue, Jan 14, 2020 at 9:06 PM Adam Phillips <asphilli at ucar.edu>
> wrote:
> >>
> >>> Hi Barry,
> >>> If I had to guess, it is that the arrow function writes the
> >>> gsn_add_polyline output as attributes named arr,arr1, and arr2 to the
> plt
> >>> array that is to be returned by the function. If you call the function
> >>> multiple times and pass all the graphical output to the same logical
> array
> >>> named "array", each time you call arrow, array at arr, array at arr1 and
> >>> array at arr2 will get overwritten.  To get around this, you should alter
> >>> the arrow function to use the unique_string function.
> >>>
> https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
> >>>
> >>> For an example of how to do this, see polymarker example #18:
> >>> https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
> >>>
> >>> For example, change this:
> >>> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>> to this:
> >>> str = unique_string("arr")
> >>> plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>>
> >>> and do the same for the other two calls to gsn_add_polyline.
> >>> Hope that helps!
> >>> Adam
> >>>
> >>>
> >>> On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <
> >>> ncl-talk at ucar.edu> wrote:
> >>>
> >>>> Hi:
> >>>>
> >>>> I have a bit of a mystery:
> >>>>
> >>>> I have a loop where I am calling gsn_add_polymarker. I created an
> array
> >>>> (dum_b(n_calls)) so I could plot the markers within the loop.
> >>>>
> >>>> dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >>>>
> >>>>
> >>>> However, when I call:
> >>>>
> >>>>
> >>>> array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >>>>
> >>>>
> >>>> I am not able to make the lines with the arrows (more than once).
> >>>>
> >>>>
> >>>> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >>>>
> >>>>
> >>>> Yet, if I call the same with
> >>>>
> >>>>
> >>>> arr_0 = arrow...
> >>>>
> >>>>
> >>>> arr_1 = arrow...
> >>>>
> >>>>
> >>>> up to n_calls, I have no problem.
> >>>>
> >>>>
> >>>> If someone can solve the mystery, I would be curious to find out the
> >>>> reason for this "strange" behavior.
> >>>>
> >>>>
> >>>>
> https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >>>>
> >>>> On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Hi:
> >>>>>
> >>>>> That was absolutely the correct solution -- thank you.
> >>>>>
> >>>>> Are you aware of a way to increase the spacing between maps?  I am
> >>>>> using wrf resources so this is very obtuse.
> >>>>>
> >>>>> Barry
> >>>>>
> >>>>> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <
> rashidcomsis at gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi Barry,
> >>>>>> A quick look suggests that it may be related to not specifying
> unique
> >>>>>> ids for markid and textid:
> >>>>>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>
> >>>>>> Next lines should have,
> >>>>>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>
> >>>>>> and so on...
> >>>>>>
> >>>>>> Cheers
> >>>>>>
> >>>>>> Rashed
> >>>>>>
> >>>>>>
> >>>>>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>>>>> ncl-talk at ucar.edu> wrote:
> >>>>>>
> >>>>>>> Hello:
> >>>>>>>
> >>>>>>> For some reason, the markid only appears on the last graph, but not
> >>>>>>> the first two.  Yet, the "call" to each is the same.  I had this
> problem in
> >>>>>>> other programs I wrote.
> >>>>>>>
> >>>>>>> If you have a suggestion, thank you,
> >>>>>>>
> >>>>>>> Barry
> >>>>>>> --
> >>>>>>> Barry H. Lynn, Ph.D
> >>>>>>> Senior Associate Scientist, 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
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> 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 Associate Scientist, 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
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> Barry H. Lynn, Ph.D
> >>>> Senior Associate Scientist, 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
> >>>>
> >>>> _______________________________________________
> >>>> 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>
> >>>
> >>
> >>
> >> --
> >> Barry H. Lynn, Ph.D
> >> Senior Associate Scientist, 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
> >>
> >>
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> >
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/d35f5d0b/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 6
> Date: Wed, 15 Jan 2020 05:26:26 +0200
> From: Barry Lynn <barry.h.lynn at gmail.com>
> To: Adam Phillips <asphilli at ucar.edu>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Revisited)
> Message-ID:
>         <
> CAN7Bv24zybg2wNy4WDCC7Vc19akv8h1qEdWQ8BZn2UrZF2GWfw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> It does, after all, simply return "plt," which I thought would be the one
> to store in an array (arr(i)), from the call itself, not the function
> within.  That's why I am a bit confused.
>
> On Wed, Jan 15, 2020 at 5:25 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
> > Rashed's fix worked fine.  I wonder why I am able to call the arrow
> > routine with a single array name (not array(i)).
> >
> > Thanks again.
> >
> > On Tue, Jan 14, 2020 at 9:48 PM Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
> >
> >> Rashed seems to demonstrate that his version works, so I will probably
> >> find the same.  I'll update later.
> >>
> >> Thank you for the help.
> >>
> >> Barry
> >>
> >> On Tue, Jan 14, 2020 at 9:47 PM Barry Lynn <barry.h.lynn at gmail.com>
> >> wrote:
> >>
> >>> Hi Adam, Rasheed.
> >>>
> >>> In both cases, I call the function within a loop.  The only difference
> >>> is whether I refer to array(i) or arr_0, arr_1... n.
> >>>
> >>> In any case, I will try Rashed's version.
> >>>
> >>> Barry
> >>>
> >>> On Tue, Jan 14, 2020 at 9:06 PM Adam Phillips <asphilli at ucar.edu>
> wrote:
> >>>
> >>>> Hi Barry,
> >>>> If I had to guess, it is that the arrow function writes the
> >>>> gsn_add_polyline output as attributes named arr,arr1, and arr2 to the
> plt
> >>>> array that is to be returned by the function. If you call the function
> >>>> multiple times and pass all the graphical output to the same logical
> array
> >>>> named "array", each time you call arrow, array at arr, array at arr1 and
> >>>> array at arr2 will get overwritten.  To get around this, you should
> alter
> >>>> the arrow function to use the unique_string function.
> >>>>
> https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
> >>>>
> >>>> For an example of how to do this, see polymarker example #18:
> >>>> https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
> >>>>
> >>>> For example, change this:
> >>>> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>>> to this:
> >>>> str = unique_string("arr")
> >>>> plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>>>
> >>>> and do the same for the other two calls to gsn_add_polyline.
> >>>> Hope that helps!
> >>>> Adam
> >>>>
> >>>>
> >>>> On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <
> >>>> ncl-talk at ucar.edu> wrote:
> >>>>
> >>>>> Hi:
> >>>>>
> >>>>> I have a bit of a mystery:
> >>>>>
> >>>>> I have a loop where I am calling gsn_add_polymarker. I created an
> >>>>> array (dum_b(n_calls)) so I could plot the markers within the loop.
> >>>>>
> >>>>> dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >>>>>
> >>>>>
> >>>>> However, when I call:
> >>>>>
> >>>>>
> >>>>> array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >>>>>
> >>>>>
> >>>>> I am not able to make the lines with the arrows (more than once).
> >>>>>
> >>>>>
> >>>>> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >>>>>
> >>>>>
> >>>>> Yet, if I call the same with
> >>>>>
> >>>>>
> >>>>> arr_0 = arrow...
> >>>>>
> >>>>>
> >>>>> arr_1 = arrow...
> >>>>>
> >>>>>
> >>>>> up to n_calls, I have no problem.
> >>>>>
> >>>>>
> >>>>> If someone can solve the mystery, I would be curious to find out the
> >>>>> reason for this "strange" behavior.
> >>>>>
> >>>>>
> >>>>>
> https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >>>>>
> >>>>> On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi:
> >>>>>>
> >>>>>> That was absolutely the correct solution -- thank you.
> >>>>>>
> >>>>>> Are you aware of a way to increase the spacing between maps?  I am
> >>>>>> using wrf resources so this is very obtuse.
> >>>>>>
> >>>>>> Barry
> >>>>>>
> >>>>>> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <
> >>>>>> rashidcomsis at gmail.com> wrote:
> >>>>>>
> >>>>>>> Hi Barry,
> >>>>>>> A quick look suggests that it may be related to not specifying
> >>>>>>> unique ids for markid and textid:
> >>>>>>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>>
> >>>>>>> Next lines should have,
> >>>>>>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>>
> >>>>>>> and so on...
> >>>>>>>
> >>>>>>> Cheers
> >>>>>>>
> >>>>>>> Rashed
> >>>>>>>
> >>>>>>>
> >>>>>>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>>>>>> ncl-talk at ucar.edu> wrote:
> >>>>>>>
> >>>>>>>> Hello:
> >>>>>>>>
> >>>>>>>> For some reason, the markid only appears on the last graph, but
> not
> >>>>>>>> the first two.  Yet, the "call" to each is the same.  I had this
> problem in
> >>>>>>>> other programs I wrote.
> >>>>>>>>
> >>>>>>>> If you have a suggestion, thank you,
> >>>>>>>>
> >>>>>>>> Barry
> >>>>>>>> --
> >>>>>>>> Barry H. Lynn, Ph.D
> >>>>>>>> Senior Associate Scientist, 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
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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 Associate Scientist, 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
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> Barry H. Lynn, Ph.D
> >>>>> Senior Associate Scientist, 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
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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>
> >>>>
> >>>
> >>>
> >>> --
> >>> Barry H. Lynn, Ph.D
> >>> Senior Associate Scientist, 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
> >>>
> >>>
> >>
> >> --
> >> Barry H. Lynn, Ph.D
> >> Senior Associate Scientist, 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
> >>
> >>
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> >
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/4858641c/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 7
> Date: Wed, 15 Jan 2020 05:45:41 +0200
> From: Barry Lynn <barry.h.lynn at gmail.com>
> To: Adam Phillips <asphilli at ucar.edu>
> Cc: ncl-talk <ncl-talk at ucar.edu>
> Subject: Re: [ncl-talk] Disappearing Dots (Correction)
> Message-ID:
>         <
> CAN7Bv275dNB_+b3g-m28wCROvwefatYt5U763xK4jD6FTWRKkg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi:
>
> For reference, we are speaking about the following program, which draws an
> arrowhead and line.
>
> function arrow(wks,plt,xpts,ypts,res)
>
> ; draws an arrow on a plot. calling syntax is same as in gsn_add_polyline()
>
> ; Arindam Chakraborty <arch at caos.iisc.ernet.in>, May'10.
>
>
> Sorry about the last two emails.  I had edited the wrong file (too late at
> night).
>
> As I originally wrote, both of your suggestions fixed the problem, and the
> test program was much appreciated.
>
> The key was changing all variables related to the polyline, the one calling
> the arrow program, and the ones within the arrow program itself.
>
> One thing: it is suggested to add two lines that control the thickness of
> the arrow, which I have done (attached: to create a very thick arrow!).
>
> Barry
>
> On Wed, Jan 15, 2020 at 5:26 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
> > It does, after all, simply return "plt," which I thought would be the one
> > to store in an array (arr(i)), from the call itself, not the function
> > within.  That's why I am a bit confused.
> >
> > On Wed, Jan 15, 2020 at 5:25 AM Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
> >
> >> Rashed's fix worked fine.  I wonder why I am able to call the arrow
> >> routine with a single array name (not array(i)).
> >>
> >> Thanks again.
> >>
> >> On Tue, Jan 14, 2020 at 9:48 PM Barry Lynn <barry.h.lynn at gmail.com>
> >> wrote:
> >>
> >>> Rashed seems to demonstrate that his version works, so I will probably
> >>> find the same.  I'll update later.
> >>>
> >>> Thank you for the help.
> >>>
> >>> Barry
> >>>
> >>> On Tue, Jan 14, 2020 at 9:47 PM Barry Lynn <barry.h.lynn at gmail.com>
> >>> wrote:
> >>>
> >>>> Hi Adam, Rasheed.
> >>>>
> >>>> In both cases, I call the function within a loop.  The only difference
> >>>> is whether I refer to array(i) or arr_0, arr_1... n.
> >>>>
> >>>> In any case, I will try Rashed's version.
> >>>>
> >>>> Barry
> >>>>
> >>>> On Tue, Jan 14, 2020 at 9:06 PM Adam Phillips <asphilli at ucar.edu>
> >>>> wrote:
> >>>>
> >>>>> Hi Barry,
> >>>>> If I had to guess, it is that the arrow function writes the
> >>>>> gsn_add_polyline output as attributes named arr,arr1, and arr2 to
> the plt
> >>>>> array that is to be returned by the function. If you call the
> function
> >>>>> multiple times and pass all the graphical output to the same logical
> array
> >>>>> named "array", each time you call arrow, array at arr, array at arr1 and
> >>>>> array at arr2 will get overwritten.  To get around this, you should
> >>>>> alter the arrow function to use the unique_string function.
> >>>>>
> >>>>>
> https://www.ncl.ucar.edu/Document/Functions/Built-in/unique_string.shtml
> >>>>>
> >>>>> For an example of how to do this, see polymarker example #18:
> >>>>> https://www.ncl.ucar.edu/Applications/polyg.shtml#ex18
> >>>>>
> >>>>> For example, change this:
> >>>>> plt at arr = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>>>> to this:
> >>>>> str = unique_string("arr")
> >>>>> plt@$str$ = gsn_add_polyline(wks,plt,xpts,ypts,res)
> >>>>>
> >>>>> and do the same for the other two calls to gsn_add_polyline.
> >>>>> Hope that helps!
> >>>>> Adam
> >>>>>
> >>>>>
> >>>>> On Tue, Jan 14, 2020 at 9:45 AM Barry Lynn via ncl-talk <
> >>>>> ncl-talk at ucar.edu> wrote:
> >>>>>
> >>>>>> Hi:
> >>>>>>
> >>>>>> I have a bit of a mystery:
> >>>>>>
> >>>>>> I have a loop where I am calling gsn_add_polymarker. I created an
> >>>>>> array (dum_b(n_calls)) so I could plot the markers within the loop.
> >>>>>>
> >>>>>> dum_b(i) = gsn_add_polymarker(wks,plot,lon_old(i),lat_old(i),mkres)
> >>>>>>
> >>>>>>
> >>>>>> However, when I call:
> >>>>>>
> >>>>>>
> >>>>>> array(i) = arrow(wks,plot,xpts,ypts,mkres)
> >>>>>>
> >>>>>>
> >>>>>> I am not able to make the lines with the arrows (more than once).
> >>>>>>
> >>>>>>
> >>>>>> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
> >>>>>>
> >>>>>>
> >>>>>> Yet, if I call the same with
> >>>>>>
> >>>>>>
> >>>>>> arr_0 = arrow...
> >>>>>>
> >>>>>>
> >>>>>> arr_1 = arrow...
> >>>>>>
> >>>>>>
> >>>>>> up to n_calls, I have no problem.
> >>>>>>
> >>>>>>
> >>>>>> If someone can solve the mystery, I would be curious to find out the
> >>>>>> reason for this "strange" behavior.
> >>>>>>
> >>>>>>
> >>>>>>
> https://www.ncl.ucar.edu/Support/talk_archives/2010/att-1344/arrow.ncl
> >>>>>>
> >>>>>> On Mon, Jul 8, 2019 at 12:13 PM Barry Lynn <barry.h.lynn at gmail.com>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Hi:
> >>>>>>>
> >>>>>>> That was absolutely the correct solution -- thank you.
> >>>>>>>
> >>>>>>> Are you aware of a way to increase the spacing between maps?  I am
> >>>>>>> using wrf resources so this is very obtuse.
> >>>>>>>
> >>>>>>> Barry
> >>>>>>>
> >>>>>>> On Mon, Jul 8, 2019 at 10:44 AM Rashed Mahmood <
> >>>>>>> rashidcomsis at gmail.com> wrote:
> >>>>>>>
> >>>>>>>> Hi Barry,
> >>>>>>>> A quick look suggests that it may be related to not specifying
> >>>>>>>> unique ids for markid and textid:
> >>>>>>>>     markid = gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>>>>     textid = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>>>
> >>>>>>>> Next lines should have,
> >>>>>>>> markid*1 *= gsn_add_polymarker(wks,plots(0),lon,lat,mkres)
> >>>>>>>> textid*1* = gsn_add_text(wks,plots(0),cities,lon,lat,txres)
> >>>>>>>>
> >>>>>>>> and so on...
> >>>>>>>>
> >>>>>>>> Cheers
> >>>>>>>>
> >>>>>>>> Rashed
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Mon, Jul 8, 2019 at 7:51 AM Barry Lynn via ncl-talk <
> >>>>>>>> ncl-talk at ucar.edu> wrote:
> >>>>>>>>
> >>>>>>>>> Hello:
> >>>>>>>>>
> >>>>>>>>> For some reason, the markid only appears on the last graph, but
> >>>>>>>>> not the first two.  Yet, the "call" to each is the same.  I had
> this
> >>>>>>>>> problem in other programs I wrote.
> >>>>>>>>>
> >>>>>>>>> If you have a suggestion, thank you,
> >>>>>>>>>
> >>>>>>>>> Barry
> >>>>>>>>> --
> >>>>>>>>> Barry H. Lynn, Ph.D
> >>>>>>>>> Senior Associate Scientist, 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
> >>>>>>>>>
> >>>>>>>>> _______________________________________________
> >>>>>>>>> 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 Associate Scientist, 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
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Barry H. Lynn, Ph.D
> >>>>>> Senior Associate Scientist, 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
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Barry H. Lynn, Ph.D
> >>>> Senior Associate Scientist, 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
> >>>>
> >>>>
> >>>
> >>> --
> >>> Barry H. Lynn, Ph.D
> >>> Senior Associate Scientist, 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
> >>>
> >>>
> >>
> >> --
> >> Barry H. Lynn, Ph.D
> >> Senior Associate Scientist, 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
> >>
> >>
> >
> > --
> > Barry H. Lynn, Ph.D
> > Senior Associate Scientist, 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
> >
> >
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/19e179f9/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: test_arrow.ncl
> Type: application/octet-stream
> Size: 2391 bytes
> Desc: not available
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/19e179f9/attachment-0001.obj
> >
>
> ------------------------------
>
> Message: 8
> Date: Wed, 15 Jan 2020 08:07:59 +0100
> From: "S. Y." <e.sadam91 at gmail.com>
> To: ncl-talk at ucar.edu
> Subject: [ncl-talk] error while running NCL and Shape file scripts
> Message-ID:
>         <CALC5VUrtYXDD=fEzfZTAQeJz+dME07At5gOY7ZDVY=
> Y1PCpO-g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello everyone
> I am new NCL user and i was trying to plot shapefiles using NCL following
> the procedures given in one of the webinar.
> However when i run the script i got an error as i copied below
>
>
> (base) sdm at sdm-ThinkPad-P50:~/Desktop/NCL_folders/NCL_and_shapefiles$ ncl
> senegal.ncl
>  Copyright (C) 1995-2017 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.4.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> fatal:error at line 1 in file senegal.ncl
>
> fatal:syntax error: line -1 before or near
>
> ^
>
> fatal:error in statement
>
>
>
> I also attached the script that i used to run.
>
> Thank you for your help in advance.
>
> kind regards,
> Sadame
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/b7d3a0a4/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: senegal.ncl
> Type: application/octet-stream
> Size: 1046 bytes
> Desc: not available
> URL: <
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200115/b7d3a0a4/attachment-0001.obj
> >
>
> ------------------------------
>
> Message: 9
> Date: Wed, 15 Jan 2020 09:44:37 +0100
> From: Karin Meier-Fleischer <meier-fleischer at dkrz.de>
> To: ncl-talk at ucar.edu
> Subject: Re: [ncl-talk] error while running NCL and Shape file scripts
> Message-ID: <bb7a8fd2-343f-7890-2b2f-548cbcff2981 at dkrz.de>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi Sadame,
>
> it seems that you have not set the NCARG_ROOT environment variable.
>
> What does your system return when you enter 'echo $NCARG_ROOT' in a
> terminal?
> If its empty than you should have a look at
> http://ncl.ucar.edu/Download/install_from_binary.shtml#SetUpEnvironment
>
> By the way you don't have to load the gsn_code.ncl and gsn_csm.ncl files
> anymore, they are automatically included.
>
> -Karin
>
> Am 15.01.20 um 08:07 schrieb S. Y. via ncl-talk:
> > Hello everyone
> > I am new NCL user and i was trying to plot shapefiles using NCL
> > following the procedures given in one of the webinar.
> > However when i run the script i got an error as i copied below
> >
> >
> > (base) sdm at sdm-ThinkPad-P50:~/Desktop/NCL_folders/NCL_and_shapefiles$
> > ncl senegal.ncl
> > ?Copyright (C) 1995-2017 - All Rights Reserved
> > ?University Corporation for Atmospheric Research
> > ?NCAR Command Language Version 6.4.0
> > ?The use of this software is governed by a License Agreement.
> > ?See http://www.ncl.ucar.edu/ for more details.
> > fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> > fatal:error at line 1 in file senegal.ncl
> >
> > fatal:syntax error: line -1 before or near
> >
> > ^
> >
> > fatal:error in statement
> >
> >
> >
> > I also attached?the script that i used to run.
> >
> > Thank you for your help in advance.
> >
> > kind regards,
> > Sadame
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk at ucar.edu
> > 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/20200115/bc1a5577/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> ------------------------------
>
> End of ncl-talk Digest, Vol 194, Issue 16
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200116/46485d4d/attachment.html>


More information about the ncl-talk mailing list