[netcdf-java] Multiple missing values

Jon Blower jdb at mail.nerc-essc.ac.uk
Wed May 28 14:59:02 MDT 2008


missing_value is deprecated by CF in favour of _FillValue but I guess
this is a legitimate use.  Will nj22 recognise these multiple values
for missing_value?

Jon

On Wed, May 28, 2008 at 8:44 PM, John Caron <caron at unidata.ucar.edu> wrote:
> The "missing_value" attribute allows multiple values. I prefer it over
> _FillValue myself, but it may not be as widely recognized by apps.
>
> Jon Blower wrote:
>>
>> Hi all,
>>
>> Oops, sorry, I misunderstood something - looking at the CF document it
>> seems that only one FillValue is allowed (not an array of values).
>> This seems to be an issue with the source data, not with netcdf-java
>> or CF.
>>
>> Cheers, Jon
>>
>> On Wed, May 28, 2008 at 10:41 AM, Jon Blower <jdb at mail.nerc-essc.ac.uk>
>> wrote:
>>>
>>> Hi all,
>>>
>>> Sorry if this question has been asked before, but we have a situation
>>> where we have source NetCDF files that have two missing values (-1 and
>>> -999).  Only one of these seems to be recognized by Java-NetCDF
>>> (2.2.22) (using VariableEnhanced.convertScaleOffsetMissing(val)).  Is
>>> there a way to have both of these values accepted as missing values?
>>>
>>> Mike Grant (cc-ed) can provide example data or CDL if required.
>>>
>>> Cheers, Jon
>>>
>>> --
>>> --------------------------------------------------------------
>>> Dr Jon Blower Tel: +44 118 378 5213 (direct line)
>>> Technical Director Tel: +44 118 378 8741 (ESSC)
>>> Reading e-Science Centre Fax: +44 118 378 6413
>>> ESSC Email: jdb at mail.nerc-essc.ac.uk
>>> University of Reading
>>> 3 Earley Gate
>>> Reading RG6 6AL, UK
>>> --------------------------------------------------------------
>>>
>>
>>
>>
>



-- 
--------------------------------------------------------------
Dr Jon Blower Tel: +44 118 378 5213 (direct line)
Technical Director Tel: +44 118 378 8741 (ESSC)
Reading e-Science Centre Fax: +44 118 378 6413
ESSC Email: jdb at mail.nerc-essc.ac.uk
University of Reading
3 Earley Gate
Reading RG6 6AL, UK
--------------------------------------------------------------


More information about the netcdf-java mailing list