[ncl-talk] Making Snow Storm Trajectories (reference to past e-mail)

Barry Lynn barry.h.lynn at gmail.com
Tue Mar 21 00:09:44 MDT 2017


Anyway: there were simply more pressure levels (intervals) than colors....

On Mon, Mar 20, 2017 at 7:09 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi:
>
> As far I can remember, only 10 colors are needed because there are only 10
> data columns (the rest are time variables).
>
> When I uncommented the other set of color lines (with more than 10), it
> worked fine.
>
> But, there are only 10 trajectories/maps on either page -- so this is
> strange.
>
> My guess is that the program is basing the number of colors needed on the
> number of columns in the data, but only plotting 10 of the columns...
>
> On Mon, Mar 20, 2017 at 6:18 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:
>
>> Hi,
>>
>> The error message is coming from around line 213 of your script, in
>> function get_marker_colors(). Its fairly descriptive -- 13 colors are
>> needed for the data. Note that at the top of get_marker_colors, the array
>> "colors" used to have 15 colors, but has been commented out and redefined
>> with only 10.
>>
>> HTH...
>> Rick
>>
>
>
>
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170321/5694c7af/attachment.html 


More information about the ncl-talk mailing list