<div dir="ltr">Hi Laura,<div><br></div><div>You might not need them, but that is the error with your script. You are looking for the default color table "BlueWhiteOrangeRed". The error you included, specifically,</div><div><br></div><div><span style="font-size:12.8000001907349px">fatal:CvtStringToCmap:Unable to convert string "BlueWhiteOrangeRed" to ColorMap</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">means that there is an attempt to find the "BlueWhiteOrangeRed" color table and it is not being found in any of the NCARG_COLORMAPS locations (just the one, in your case) and thus, from NCL's perspective, does not exist.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">After a bit of poking around in your home directory, I think I see the issue. In your .hluresfile, you specify BlueWhiteOrangeRed as the default color map. Therefore, it is likely that at some point (such as opening a new wks), NCL goes looking for the file and can't find it, throwing this error and falling back to the system default. To fix, either add the default directory back in to your path or change your default color map in your .hluresfile.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Although one of the developers will need to vouch for this, there is no practical reason to not have the other colormap directory in your path - NCL does not actively read the colormaps until specified to do so.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Kyle</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 16, 2015 at 11:15 AM, Laura Fowler <span dir="ltr"><<a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Kyle:<br>
I always use my own color table (colorTable.rbg in my home directory),<br>
and I do not need to use the default color tables. Thanks for your<br>
suggestion anyway,<br>
Laura<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Jun 16, 2015 at 10:00 AM, Kyle Griffin <<a href="mailto:ksgriffin2@wisc.edu">ksgriffin2@wisc.edu</a>> wrote:<br>
> Laura,<br>
><br>
> You need to be sure to include the default colormaps directory in your path<br>
> as well, or move all of NCL's colormaps into the one directory you have set.<br>
> Since you don't include that directory, most of the default colormaps will<br>
> not work.<br>
><br>
> See:<br>
> <a href="http://ncl.ucar.edu/Document/Graphics/create_color_table.shtml#MoveColorTableFile" rel="noreferrer" target="_blank">http://ncl.ucar.edu/Document/Graphics/create_color_table.shtml#MoveColorTableFile</a><br>
><br>
><br>
> Kyle<br>
><br>
> ----------------------------------------<br>
> Kyle S. Griffin<br>
> Department of Atmospheric and Oceanic Sciences<br>
> University of Wisconsin - Madison<br>
> Room 1421<br>
> 1225 W Dayton St, Madison, WI 53706<br>
> Email: <a href="mailto:ksgriffin2@wisc.edu">ksgriffin2@wisc.edu</a><br>
><br>
> On Tue, Jun 16, 2015 at 10:57 AM, Laura Fowler <<a href="mailto:laura@ucar.edu">laura@ucar.edu</a>> wrote:<br>
>><br>
>> Hi:<br>
>> For the last week or so, I have trouble with setting NCARG_COLORMAPS<br>
>> on yellowstone to use my color table /glade/u/home/laura/colorTable. I<br>
>> have:<br>
>><br>
>> [laura@yslogin5 QUASI-UNIFORM]$ echo $NCARG_ROOT<br>
>> /glade/apps/opt/ncl/6.3.0/intel/12.1.5<br>
>><br>
>> and<br>
>><br>
>> echo $NCARG_COLORMAPS<br>
>> /glade/u/home/laura<br>
>><br>
>> I get the error:<br>
>> fatal:CvtStringToCmap:Unable to convert string "BlueWhiteOrangeRed" to<br>
>> ColorMap<br>
>> warning:Error retrieving resource wkColorMap from DB - Using default value<br>
>><br>
>><br>
>> This error seems to be recent as I have used that color table without<br>
>> any issue in the last few weeks. I am not sure what I am doing wrong<br>
>> and need a few hints to help figure this one out.<br>
>><br>
>> Thanks,<br>
>> Laura<br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> !-------------------------------------------------------------------------------------------------------------<br>
>> Laura D. Fowler<br>
>> Mesoscale and Microscale Meteorology Division (MMM)<br>
>> National Center for Atmospheric Research<br>
>> P.O. Box 3000, Boulder CO 80307-3000<br>
>><br>
>> e-mail: <a href="mailto:laura@ucar.edu">laura@ucar.edu</a><br>
>> phone: <a href="tel:303-497-1628" value="+13034971628">303-497-1628</a><br>
>><br>
>><br>
>> !-------------------------------------------------------------------------------------------------------------<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>
><br>
<br>
<br>
<br>
--<br>
!-------------------------------------------------------------------------------------------------------------<br>
Laura D. Fowler<br>
Mesoscale and Microscale Meteorology Division (MMM)<br>
National Center for Atmospheric Research<br>
P.O. Box 3000, Boulder CO 80307-3000<br>
<br>
e-mail: <a href="mailto:laura@ucar.edu">laura@ucar.edu</a><br>
phone: <a href="tel:303-497-1628" value="+13034971628">303-497-1628</a><br>
<br>
!-------------------------------------------------------------------------------------------------------------<br>
</div></div></blockquote></div><br></div>