Plotting Colors for Missing Values

From: Melissa A Richards <Melissa.Richards_at_nyahnyahspammersnyahnyah>
Date: Wed, 6 May 2009 08:31:37 -0600


I am using "gsn_csm_contour_map" to plot various variables at
different pressure height levels. When I plot data for the 850hPa
level, I have a large area of missing values (due to mountainous
terrain). When I ran my script on NCL 5.0.0 the plot showed the
missing values correctly, by plotting the background white with the
continent outlines and lat/lon gridlines plotted in black. When I run
the same exact script on NCL 5.1.0, the missing values are filled with
a blue/gray color. Was there something changed between NCL 5.0.0 and
NCL 5.1.0 that would effect this? I checked the release notes and did
not see anything.

A few other notes...

It seems that in 5.1.0 it chooses a color from the color table to fill
in the missing values with (the blue/gray color is part of my color
table). I attempted to use res_at_cnMissingValFillColor set to "white"
and the missing values were still plotted with the blue/gray color. I
attempted to run the same plot using a standard NCL color table. The
missing values were plotted correctly when I used the "rainbow" color
table. When I used the "testcmap" color table, it plotted the missing
values with a light green color. It seems that I am having trouble
with the missing values if a color table contains "white" within the
color table. Am I missing something?


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed May 06 2009 - 08:31:37 MDT

This archive was generated by hypermail 2.2.0 : Wed May 06 2009 - 16:48:59 MDT