<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Rick,</p>
<p>I do have the .hluresfile in my home directory. After commenting
out the wkColorMap, I got the correct color.</p>
<p>Thank you !</p>
<p>Ming<br>
</p>
<div class="moz-cite-prefix">On 4/10/19 9:54 AM, Rick Brownrigg
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGKRhbGYz-GzeRLAM4SOJCFh3HApL8OJyzTOJXBU_L=ArgpJNw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi Ming, <br>
</div>
<div><br>
</div>
<div>I just tested this from home, and I can't reproduce the
issue. I copied the NCL script directly from the directory you
cited in the original email. I had it write to both X11 and
PNG workstations, and I'm getting the correct colors. I simply
do a "module load ncl" upon logging in to cheyenne. <br>
</div>
<div><br>
</div>
<div>Something just occurred to me -- do you by chance have a
file name ".hluresfile" (note the leading ".") in your home
directory, and does it have an entry for "*wkColorMap"? (Note
if its prefixed with a "!", its commented out)</div>
<div><br>
</div>
<div>Rick</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 9:35
AM Ming Chen <<a href="mailto:chenming@ucar.edu"
moz-do-not-send="true">chenming@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Rick,</p>
<p>I turned off all the default settings. I only loaded
intel compiler and ncl/6.5.0, But I still got the wrong
color. <br>
</p>
<p>Is this possibly an issue of environmental settings? <br>
</p>
<p>Ming<br>
</p>
<div class="gmail-m_-298817170989077293moz-cite-prefix">On
4/9/19 10:06 AM, Rick Brownrigg wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Well, now I can't reproduce the issue! I saw what
you were seeing last night while running on cheyenne
logged in from home. Now this morning, logged into
cheyenne from the office, I'm seeing the expected
colors. This does not make sense! I will test again
from home this evening, but I have no explanation as
to why that should make any difference :-/</div>
<div><br>
</div>
<div>More as I know it.</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019 at
9:48 AM Ming Chen <<a
href="mailto:chenming@ucar.edu" target="_blank"
moz-do-not-send="true">chenming@ucar.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Rick,</p>
<p>Thank you for getting back to me quickly. I just
type 'module load ncl' to enable ncl in cheyenne.
The command "module list" shows</p>
<p>Currently Loaded Modules:<br>
1) ncarenv/1.2 3) ncarcompilers/0.4.1 5)
netcdf/4.6.1 7) nco/4.7.4 9) ncview/2.1.7<br>
2) intel/17.0.1 4) mpt/2.19 6)
xxdiff/4.0.1 8) ncl/6.5.0 10) grib-bins/1.1<br>
</p>
<p>The command "echo $NCARG_ROOT" yields
"/glade/u/apps/ch/opt/ncl/6.5.0/intel/17.0.1"</p>
<p>I notice this issue because the plots in my
desktop and the plots in cheyenne are different
when I run the same NCL script and process the
same data. <br>
</p>
<p>Thanks.</p>
<p> Ming</p>
<p><br>
</p>
<div
class="gmail-m_-298817170989077293gmail-m_836564511250096188moz-cite-prefix">On
4/8/19 7:10 PM, Rick Brownrigg wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div>Hi Ming, <br>
</div>
<div><br>
</div>
<div>This is very strange. I see the
differences in color that you refer to, but
I downloaded the ncl script from your
directory and I get the same colors as shown
on the web site. I see that there's no
attempt in the script to modify the
colormap, so it should be the default
colormap (<a
href="http://ncl.ucar.edu/Document/Graphics/ColorTables/ncl_default.shtml"
target="_blank" moz-do-not-send="true">http://ncl.ucar.edu/Document/Graphics/ColorTables/ncl_default.shtml</a>),
However your plots have a few colors that
are not part of that default map (??)</div>
<div><br>
</div>
<div>How are you enabling NCL in cheyenne, and
what does "echo $NCARG_ROOT" report?</div>
<div><br>
</div>
<div>Rick<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 8,
2019 at 5:24 PM Ming Chen <<a
href="mailto:chenming@ucar.edu"
target="_blank" moz-do-not-send="true">chenming@ucar.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I found that the colors in my plot are not the
colors I specify. Please <br>
see the files saved in
/glade/scratch/chenming/station/<br>
<br>
I downloaded "station_2.ncl" from NCL
website, and run it without any <br>
modification. The png files are quite
different to the sample figures <br>
shown in the NCL website. In my case, it
seems that somehow the colors <br>
are changed.<br>
<br>
I run this script on cheyenne. Does anyone
know what could be the reason?<br>
<br>
Thanks.<br>
<br>
Ming<br>
<br>
<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu"
target="_blank" moz-do-not-send="true">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"
moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>