[ncl-talk] Missing values mapping as black (answer)

Barry Lynn barry.h.lynn at gmail.com
Wed Feb 19 00:57:10 MST 2020


Hello:

I have fixed the problem with the black areas.  They were contour areas,
which have now been turned off.

I also interpolate to a 1 km grid, based on the original grid.

I added geographical information to the base map, as well.

On Wed, Feb 19, 2020 at 9:50 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hello:
>
> I believe that I need to turn off the contour lines. This will remove the
> black.
>
> Barry
>
> On Wed, Feb 19, 2020 at 9:29 AM Barry Lynn <barry.h.lynn at gmail.com> wrote:
>
>> Actually, they may not be mapping as black.  I removed some more data and
>> it became white.  However, something is mapping as black and I am not sure
>> what it might be.
>>
>> On Wed, Feb 19, 2020 at 8:28 AM Barry Lynn <barry.h.lynn at gmail.com>
>> wrote:
>>
>>> 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
>>>
>>>
>>
>> --
>> 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
>
>

-- 
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/fbc5613a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dataonmap.png
Type: image/png
Size: 77881 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/fbc5613a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_radar.ncl
Type: application/octet-stream
Size: 3226 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/fbc5613a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMS_MAX_DBZ_202001041810.asc.gz
Type: application/gzip
Size: 645256 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200219/fbc5613a/attachment-0001.gz>


More information about the ncl-talk mailing list