<div dir="ltr"><div class="gmail_default" style="font-size:small">If I may jump in here: I think the issue is with NCARG_LIB.  Why is it set to:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">NCARG_LIB=/usr/local/ncl_</span><span style="font-size:12.8px">ncarg-6.2.0/lib:/usr/lib64</span><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">I don&#39;t think you can even set NCARG_LIB to multiple paths, as this feature isn&#39;t supported by NCL. </span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">It looks to me like you have everything installed under </span><span style="font-size:12.8px">/usr/local/</span><span style="font-size:12.8px">ncl_ncarg-6.2.0, so the only NCARG_XXXX environment variable you should have set is:</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"><div class="gmail_default">NCARG_ROOT=/usr/local/ncl_ncarg-6.2.0</div><div><br></div><div>Try unsetting all of these:</div><div><br></div></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">NCARG_FONTCAPS=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/fontcaps</div><div class="gmail_default">NCARG_GRAPHCAPS=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/graphcaps</div><div class="gmail_default">NCARG_DATABASE=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/database<br></div><div class="gmail_default">NCARG_LIB=/usr/local/ncl_ncarg-6.2.0/lib:/usr/lib64</div><div class="gmail_default">NCARG_NCARG=/usr/local/ncl_ncarg-6.2.0/lib/ncarg</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and then rerunning your script.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, as another &quot;debugging&quot; effort to see where NCL is trying to find your colormaps, you can type the following on the UNIX command line:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">ncargpath colormaps</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Whatever is echoed here is the path that NCL will use to look for colormaps, and this is where the &quot;<span style="font-size:12.8px">BlueWhiteOrangeRed.rgb&quot; file better be.</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">--Mary</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"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 2:30 PM, Rick Brownrigg <span dir="ltr">&lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;</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>Hi,<br><br></div>Those environment variables seem reasonable, and I&#39;ve verified that the &quot;BlueWhiteOrangeRed&quot; colormap was indeed part of the NCL 6.2.0 distribution.  I don&#39;t know what else to suggest.  If you are able to send me your data, I try to can test/diagnose things here. If its more than a few megabytes, you can FTP it to our site as per below, and drop me a quick note when its in place (let me know the exact filename).<br><br><b>You can ftp larger datasets and files to:</b>
<p>

</p><pre>ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a>
anonymous
&lt;use your email address for the password&gt;
cd incoming
put ...
put ...



quit
</pre>
<p>

<font color="red">Note that for security reasons, you cannot list the
contents of this directory, and neither can we.  We need to know
the <i>exact</i> names of the files in order to retrieve them.</font>
</p><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 2:28 AM, Paolina Bongioannini Cerlini <span dir="ltr">&lt;<a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rick,<br>
<br>
I do see the file inside  $NCARG_ROOT/lib/ncarg/colormaps , where all the colormaps are located.<br>
I have these environment variables set, see the following, do you see anything wrong?<br>
Thank you a lot!<br>
<br>
Paolina<br>
-------------------------------------------------------------------------------------------------<br>
[paolina@cloud test-run]$ env|grep NCAR*<br>
<br>
NCARG_FONTCAPS=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/fontcaps<br>
NCARG_GRAPHCAPS=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/graphcaps<br>
NCARG_ROOT=/usr/local/ncl_ncarg-6.2.0<br>
NCARG_DATABASE=/usr/local/ncl_ncarg-6.2.0/lib/ncarg/database<br>
NCARG_LIB=/usr/local/ncl_ncarg-6.2.0/lib:/usr/lib64<br>
NCARG_NCARG=/usr/local/ncl_ncarg-6.2.0/lib/ncarg<br>
<br>
[paolina@cloud test-run]$ ncl plot1d.ncl<br>
<div><div> Copyright (C) 1995-2014 - All Rights Reserved<br>
 University Corporation for Atmospheric Research<br>
 NCAR Command Language Version 6.2.0<br>
 The use of this software is governed by a License Agreement.<br>
 See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
(0)     Top pressure shown on plot will be 150 hPa<br>
(0)     Bot pressure shown on plot will be 1000 hPa<br>
(0)<br>
(0)     Files where the script will look for 1D SCM output variables are:<br>
(0)                     <a href="http://progvar.nc" rel="noreferrer" target="_blank">progvar.nc</a>  = True<br>
(0)                     <a href="http://diagvar.nc" rel="noreferrer" target="_blank">diagvar.nc</a>  = True<br>
(0)                     <a href="http://diagvar2.nc" rel="noreferrer" target="_blank">diagvar2.nc</a> = True<br>
(0)<br>
(0)     *-------- Plotting from PROGVAR ---------*<br>
(0)     *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0)     *-------- Plotting from DIAGVAR ---------*<br>
(0)     *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0)     *-------- Plotting from DIAGVAR2 --------*<br>
(0)     *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0)     *----------------------------------------*<br>
(0)     Done plotting 1D variables found in files<br>
<br>
<br>
<br>
</div></div><div><div>----- Original Message -----<br>
From: &quot;Rick Brownrigg&quot; &lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;<br>
To: &quot;paolina cerlini&quot; &lt;<a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a>&gt;<br>
Cc: &quot;ncl-talk&quot; &lt;<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>&gt;<br>
Sent: Wednesday, 13 April, 2016 7:32:46 PM<br>
Subject: Re: [ncl-talk] NCL error managing SCM output<br>
<br>
<br>
<br>
<br>
Hi Paolina,<br>
<br>
I don&#39;t see in your script where or what is calling for that colormap? In any case, it sounds like its not being found. Do you have an environment variable NCARG_ROOT set? If so, the colormap should reside in $NCARG_ROOT/lib/ncarg/colormaps -- do you see a file named &quot;BlueWhiteOrangeRed.rgb&quot; there?<br>
<br>
Rick<br>
<br>
<br>
<br>
<br>
On Wed, Apr 13, 2016 at 9:41 AM, Paolina Bongioannini Cerlini &lt; <a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a> &gt; wrote:<br>
<br>
<br>
Hello NCL people,<br>
<br>
I am trying to plot a SCM output from a ncl script<br>
but-as other times- I get this error about<br>
ColorMap resource.<br>
Since in this case I have a white background it turns out<br>
that no box is drawn around the graphs.<br>
I attach the script.<br>
What is wrong in this case?<br>
Thank you.<br>
<br>
Paolina<br>
--------------------------------------------------------------------<br>
ncl plot1d.ncl<br>
Copyright (C) 1995-2014 - All Rights Reserved<br>
University Corporation for Atmospheric Research<br>
NCAR Command Language Version 6.2.0<br>
The use of this software is governed by a License Agreement.<br>
See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
(0) Top pressure shown on plot will be 150 hPa<br>
(0) Bot pressure shown on plot will be 1000 hPa<br>
(0)<br>
(0) Files where the script will look for 1D SCM output variables are:<br>
(0) <a href="http://progvar.nc" rel="noreferrer" target="_blank">progvar.nc</a> = True<br>
(0) <a href="http://diagvar.nc" rel="noreferrer" target="_blank">diagvar.nc</a> = True<br>
(0) <a href="http://diagvar2.nc" rel="noreferrer" target="_blank">diagvar2.nc</a> = True<br>
(0)<br>
(0) *-------- Plotting from PROGVAR ---------*<br>
(0) *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0) *-------- Plotting from DIAGVAR ---------*<br>
(0) *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0) *-------- Plotting from DIAGVAR2 --------*<br>
(0) *----------------------------------------*<br>
fatal:CvtStringToCmap:Unable to convert string &quot;BlueWhiteOrangeRed&quot; to ColorMap<br>
warning:Error retrieving resource wkColorMap from DB - Using default value<br>
(0)<br>
(0) *----------------------------------------*<br>
(0) Done plotting 1D variables found in files<br>
<br>
--<br>
Paolina Bongioannini Cerlini Ph.D.<br>
University of Perugia<br>
CIRIAF -room 8<br>
06125 - Perugia<br>
<br>
</div></div>Tel. <a href="tel:%2B39%20075%205853576" value="+390755853576" target="_blank">+39 075 5853576</a><br>
<div><div>e-mail: <a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a><br>
skype: pcerlini<br>
--<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>
Paolina Bongioannini Cerlini Ph.D.<br>
University of Perugia<br>
CIRIAF -room 8<br>
06125 - Perugia<br>
<br>
Tel.<a href="tel:%2B39%20075%205853576" value="+390755853576" target="_blank">+39 075 5853576</a><br>
e-mail: <a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a><br>
skype: pcerlini<br>
--<br>
</div></div></blockquote></div><br></div>
</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>