[ncl-talk] New warning from gsn_merge_colormaps.

David Bailey dbailey at ucar.edu
Tue Jan 26 09:12:31 MST 2016


Hi Rick,

I am doing the following:

      cmap =
RGBtoCmap("/glade/u/home/dbailey/ice_diag_trunk/rgb/julies.rgb")
      gsn_define_colormap(wks,cmap)
      gsn_merge_colormaps(wks,cmap, "BlWhRe") ; merge 2 colormaps

So, I am reading one in and defining it. Then I merge.

Dave


On Tue, Jan 26, 2016 at 9:09 AM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi Dave,
>
> The following works for me on yellowstone,
>
> begin
>   wks = gsn_open_wks("ps","overlay")
>   cmap = gsn_retrieve_colormap(wks)
>   gsn_merge_colormaps(wks,cmap, "BlWhRe");
> end
>
> $ which ncl
> /glade/apps/opt/ncl/6.3.0/intel/12.1.5/bin/ncl
>
> Something else must be going on.  Would it be possible to send me your
> script?
>
> Rick
>
>
> On Tue, Jan 26, 2016 at 6:39 AM, David Bailey <dbailey at ucar.edu> wrote:
>
>> Hi Rick,
>>
>> I'm am using the latest version of NCL on yellowstone. I'm not actually
>> sure when this warning message started. I just noticed it for the first
>> time a couple days ago.
>>
>> Dave
>>
>> On Mon, Jan 25, 2016 at 11:03 PM, Rick Brownrigg <brownrig at ucar.edu>
>> wrote:
>>
>>> Hi Dave,
>>>
>>> I started to look into this, but got preempted. When you say "and now
>>> get the warning...", I presume this used to work for you? Do you know which
>>> version of NCL you are currently using, and what version this merge was
>>> known to work?
>>>
>>> Rick
>>>
>>> On Mon, Jan 25, 2016 at 3:25 PM, David Bailey <dbailey at ucar.edu> wrote:
>>>
>>>>
>>>> I am simply doing the following:
>>>>
>>>>       gsn_merge_colormaps(wks,cmap, "BlWhRe") ; merge 2 colormaps
>>>>
>>>> and now get the warning:
>>>>
>>>> Warning: namedcolor2rgb: 'BlWhRe' is not a valid named color.
>>>>
>>>> It's not fatal or anything and still appears to be doing what it
>>>> should, but I thought you might want to know.
>>>>
>>>> Dave
>>>>
>>>> --
>>>>
>>>> David A Bailey
>>>>  email: dbailey_at_ucar.edu
>>>> National Center for Atmospheric Research   phone: 303-497-1737
>>>> PO Box 3000
>>>> fax  : 303-497-1700
>>>> Boulder, CO 80307-3000
>>>>                    http://www.cgd.ucar.edu/staff/dbailey
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> David A Bailey
>>  email: dbailey_at_ucar.edu
>> National Center for Atmospheric Research   phone: 303-497-1737
>> PO Box 3000
>> fax  : 303-497-1700
>> Boulder, CO 80307-3000
>>                    http://www.cgd.ucar.edu/staff/dbailey
>>
>
>


-- 

David A Bailey
 email: dbailey_at_ucar.edu
National Center for Atmospheric Research   phone: 303-497-1737
PO Box 3000
fax  : 303-497-1700
Boulder, CO 80307-3000
                   http://www.cgd.ucar.edu/staff/dbailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160126/4d2570f4/attachment.html 


More information about the ncl-talk mailing list