[ncl-talk] Missing values mapping as black

Barry Lynn barry.h.lynn at gmail.com
Tue Feb 18 23:28:54 MST 2020


Hello:

I added explicit labels to my color bar, as well as specifying the colors I
want. I added some geographical information for the map background.

 Yet, I seem  to have a number of black squares, even though I set missing
values for all radar data less than 5 dbZ and I set

res_ct at cnMissingValFillColor = "white" (or cmap (0,:)).

as suggested on NCL-TALK.

I tried both settings.

I am not sure where the black squares are coming from.

Thank you.

On Tue, Feb 18, 2020 at 6:12 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hello:
>
> For users who need to plot rectilinear data, I have attached the data and
> an ncl program to do so.
>
> Based on the NCL support pages, I was able to quickly put together the
> steps required to plot this data, including providing the data a long name,
> units, and coordinates. I also set the limits of the map over which to plot
> the data.
>
> I also created the latitude and longitude arrays from their starting and
> end points, and even reversed the latitudinal data since it was north to
> south instead of south to north.
>
> In other words, here's an easy template for doing everything you need to
> do to plot such data.
>
> I hope it helps someone...
>
> Barry
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>

-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/f103c11b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_read.ncl
Type: application/octet-stream
Size: 2901 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/f103c11b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dataonmap.png
Type: image/png
Size: 97162 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/f103c11b/attachment-0001.png>


More information about the ncl-talk mailing list