[ncl-talk] 0.0 not currently supported as a missing value

Barry Lynn barry.h.lynn at gmail.com
Thu May 10 00:07:56 MDT 2018


Hi:

I am wondering what the error message means.  What is the difference
between a fill value and a missing value?  Aren't missing values filled
with fill values.

Zero is not really a missing value -- as it is within the "normal" realm of
numbers, it's just zero.  I am really wondering in what way is the plot
inaccurate?

Barry

On Thu, May 10, 2018 at 7:06 AM, Mary Haley <haley at ucar.edu> wrote:

> Just an FYI (I'm weighing in a little late).
>
> I wanted to point out the web page we have on common NCL errors and
> warnings:
>
> http://www.ncl.ucar.edu/Document/Language/error_messages.shtml
>
> This page contains error and warning messages that one may see with NCL,
> how the error is caused, and how to fix it or work around it.
>
> This particular error was not part of that page, so I added it:
>
> http://www.ncl.ucar.edu/Document/Language/error_messages.shtml#
> ZeroMissingValue
>
> --Mary
>
>
> On Fri, May 4, 2018 at 1:40 PM, Kunal Bali <kunal.bali9 at gmail.com> wrote:
>
>> Thanks, It worked.
>>
>>
>> ---
>> Kunal Bali
>>
>>
>>
>>
>>
>> On Sat, May 5, 2018 at 1:05 AM, Adam Phillips <asphilli at ucar.edu> wrote:
>>
>>> Hi Kunal,
>>> You can simply reassign the _FillValue:
>>> totc at _FillValue = 1.e20
>>> totc at missing_value = totc at _FillValue
>>>
>>> Note that NCL ignores the missing_value attribute, and only pays
>>> attention to _FillValue.
>>> Adam
>>>
>>> On Fri, May 4, 2018 at 1:26 PM, Kunal Bali <kunal.bali9 at gmail.com>
>>> wrote:
>>>
>>>> Dear NCL users,
>>>>
>>>> Could anyone please let me know how can I ignore/correct the given
>>>> warning. I am able to plot the data but facing this warning (below in red).
>>>>
>>>>
>>>> Variable: totc
>>>>
>>>> Type: float
>>>>
>>>> Total Size: 1584000 bytes
>>>>
>>>>             396000 values
>>>>
>>>> Number of Dimensions: 2
>>>>
>>>> Dimensions and sizes: [lat | 660] x [lon | 600]
>>>>
>>>> Coordinates:
>>>>
>>>>             lat: [5.024999999999991..37.97499999999999]
>>>>
>>>>             lon: [68.02500000000001..97.97500000000002]
>>>>
>>>> Number Of Attributes: 16
>>>>
>>>>   time : 1491004800
>>>>
>>>>   standard_name : lst_day_cmg
>>>>
>>>>   long_name : Monthly daytime 3min CMG Land-surface Temperature
>>>>
>>>>   units : K
>>>>
>>>>   _FillValue : 0
>>>>
>>>>   missing_value : 0
>>>>
>>>>   LST : LST data * scale_factor
>>>>
>>>>   Number_Type_Orig : uint16
>>>>
>>>>   add_offset_err :   0
>>>>
>>>>   calibrated_nt : 0
>>>>
>>>>   orig_add_offset :   0
>>>>
>>>>   orig_scale_factor : 0.02
>>>>
>>>>   product_short_name : MYD11C3
>>>>
>>>>   product_version : 006
>>>>
>>>>   quantity_type : Surface Temperature
>>>>
>>>>   scale_factor_err :   0
>>>>
>>>> warning:ContourPlotInitialize: 0.0 not currently supported as a missing
>>>> value; expect inaccurate plot
>>>>
>>>>
>>>>
>>>> regards
>>>> ---
>>>> Kunal Bali
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>>
>>> --
>>> Adam Phillips
>>> Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
>>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>>>
>>> <http://www.cgd.ucar.edu/staff/asphilli>
>>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Barry H. Lynn, Ph.D
Senior 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
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180510/37c53010/attachment.html>


More information about the ncl-talk mailing list