<div dir="ltr"><div>Hi,<br><br></div>Those environment variables seem reasonable, and I've verified that the "BlueWhiteOrangeRed" colormap was indeed part of the NCL 6.2.0 distribution. I don'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">ftp.cgd.ucar.edu</a>
anonymous
<use your email address for the password>
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="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 2:28 AM, Paolina Bongioannini Cerlini <span dir="ltr"><<a href="mailto:paolina.cerlini@unipg.it" target="_blank">paolina.cerlini@unipg.it</a>></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 class="h5"> 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 "BlueWhiteOrangeRed" 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 "BlueWhiteOrangeRed" 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 "BlueWhiteOrangeRed" 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 class="h5">----- Original Message -----<br>
From: "Rick Brownrigg" <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>><br>
To: "paolina cerlini" <<a href="mailto:paolina.cerlini@unipg.it">paolina.cerlini@unipg.it</a>><br>
Cc: "ncl-talk" <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>><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'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 "BlueWhiteOrangeRed.rgb" there?<br>
<br>
Rick<br>
<br>
<br>
<br>
<br>
On Wed, Apr 13, 2016 at 9:41 AM, Paolina Bongioannini Cerlini < <a href="mailto:paolina.cerlini@unipg.it">paolina.cerlini@unipg.it</a> > 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 "BlueWhiteOrangeRed" 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 "BlueWhiteOrangeRed" 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 "BlueWhiteOrangeRed" 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">+39 075 5853576</a><br>
<div class="HOEnZb"><div class="h5">e-mail: <a href="mailto:paolina.cerlini@unipg.it">paolina.cerlini@unipg.it</a><br>
skype: pcerlini<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>
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">+39 075 5853576</a><br>
e-mail: <a href="mailto:paolina.cerlini@unipg.it">paolina.cerlini@unipg.it</a><br>
skype: pcerlini<br>
--<br>
</div></div></blockquote></div><br></div>