[ncl-talk] problem with gsn_merge_colormaps in v 6.2.1

James Scott - NOAA Affiliate james.d.scott at noaa.gov
Fri Sep 5 13:00:42 MDT 2014


I've noticed that gsn_merge_colormaps is not working in ncl version 6.2.1

I'm getting the following error:

>  NCAR Command Language Version 6.2.1
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> (0) Warning: namedcolor2rgb: 'cyclic' is not a valid named color.
> (0) Will return missing values for this color.


When I run the same script in v 6.2.0 it works without error.

Here is a simple script that reproduces the error:

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> begin
>   wks = gsn_open_wks("ps","gsn_merge_colormaps")
> ;
> ; Merge two pre-defined colormaps;
> ;
>   gsn_merge_colormaps(wks,"rainbow","cyclic")
>   gsn_draw_colormap(wks)
> end


This error was reproduced on both the mac and linux versions of 6.2.1
-Jamie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140905/22995203/attachment.html 


More information about the ncl-talk mailing list