<div dir="ltr"><div><div><div>Hi Jamie,<br><br></div>It looks like gsn_merge_colormaps is indeed working, despite the warning message. It looks like the warning is the result of some refactoring of code that tests color names (i.e., were we given a named-color or a colormap name); the warning message is spurious in this case -- we'll get it corrected.<br><br></div>Thanks for pointing this out!<br></div>Rick<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 1:00 PM, James Scott - NOAA Affiliate <span dir="ltr"><<a href="mailto:james.d.scott@noaa.gov" target="_blank">james.d.scott@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">I've noticed that gsn_merge_colormaps is not working in ncl version 6.2.1</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I'm getting the following error:</div><div class="gmail_default"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="verdana, sans-serif"> NCAR Command Language Version 6.2.1<br></font><font face="verdana, sans-serif"> The use of this software is governed by a License Agreement.<br></font><font face="verdana, sans-serif"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br></font><font face="verdana, sans-serif">(0)<span style="white-space:pre-wrap">        </span>Warning: namedcolor2rgb: 'cyclic' is not a valid named color.<br></font><font face="verdana, sans-serif">(0)<span style="white-space:pre-wrap">        </span>Will return missing values for this color.</font></blockquote><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">When I run the same script in v 6.2.0 it works without error.</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Here is a simple script that reproduces the error:</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>begin<br> wks = gsn_open_wks("ps","gsn_merge_colormaps")<br>;<br>; Merge two pre-defined colormaps;<br>;<br> gsn_merge_colormaps(wks,"rainbow","cyclic")<br> gsn_draw_colormap(wks)<br>end</blockquote><div><br></div><div>This error was reproduced on both the mac and linux versions of 6.2.1</div><div>-Jamie </div></font></div></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>