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

Kunal Bali kunal.bali9 at gmail.com
Fri May 4 13:40:11 MDT 2018


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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180505/ece6574b/attachment.html>


More information about the ncl-talk mailing list