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

Kunal Bali kunal.bali9 at gmail.com
Wed May 9 23:23:45 MDT 2018


Thanks



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&>
Sent
with Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&>

---
Kunal Bali
Research Scholar
Centre for Atmospheric Sciences (Room-322, Block 6)
Indian Institute of Technology Delhi
Hauz Khas, New Delhi - 110016
India




On Thu, May 10, 2018 at 9:36 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180510/84d8b16c/attachment.html>


More information about the ncl-talk mailing list