<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Kerwyn,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It's possible that NCL doesn't know to look in <span style="font-size:12.8px"> /share/apps/NCL-6.2.1/lib/</span><span style="font-size:12.8px">ncarg/colomaps for the color maps. First, you want to make sure you don't have the NCARG_COLORMAPS environment variable set. Sometimes users set this, and forget that they've done so. </span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">Can you type the following and send me the output, so I can see if there's anything wrong in your environment?</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">ncl -V</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">which ncl</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">env | grep NCARG</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">ncargpath colormaps</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 6:20 PM, Kerwyn Texeira <span dir="ltr"><<a href="mailto:ktish86@gmail.com" target="_blank">ktish86@gmail.com</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><div><div><div>Hi ncl-talk,<br><br></div>I'm having trouble using matlab_jet and MPL_jet colormap in my script. <br><br></div>When I use gsn_define_colormap(wks, "matlab_jet") I get the following errors:<br>fatal:CvtStringToCmap:Unable to convert string "matlab_jet" to ColorMap<br>warning:Error retrieving resource wkColorMap from args - Ignoring Arg<br><br></div>and vice versa with MPL_jet.<br><br></div> When I use res@cnFillPalette = "matlab_jet" and res@vcLevelPalette = "matlab_jet" I get the following error:<br><br><div>fatal:CvtStringToCmap:Unable to convert string "matlab_jet" to ColorMap<br>warning:Error retrieving resource cnFillPalette from args - Ignoring Arg<br>warning:vcLevelPalette is not a valid resource in test_contour at this time<br><br></div><div>and vice versa with MPL_jet.<br><br></div><div>When I use gsn_define_colormap(wks,"BlAqGrYeOrRe"), it plots with no errors.<br><br></div><div>matlab_jet.rgb is located with all the other colormaps. They are in /share/apps/NCL-6.2.1/lib/ncarg/colomaps<br><br></div><div>Could someone kindly help me please because I have no idea what is going on. <br><br></div><div>Thanks<br></div><div><br><br></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>