[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: FMRC and NaN
- Subject: Re: FMRC and NaN
- Date: Thu, 08 Apr 2010 18:43:51 -0600
On 4/7/2010 3:05 PM, Kevin O'Brien wrote:
Hi John -
I've been working lately with Rich Signell to add a bunch of IOOS
Forecast Model Run Collections to the UAF THREDDS server at
http://ferret.pmel.noaa.gov/geoide/geoIDECleanCatalog.html
One thing I've noticed about all of the FMRC that I've run across is
that the "best time series" data seems to use NaN as the missing
value. This seems fine, except that the missing value attribute is
not defined for the particular variables. I know this causes a bit of
a problem when Ferret looks at the data, and I can imagine it might
have ramifications for other clients as well. There are several ways
that I can work around this, and one way I've done it is to wrap the
FMRC with some NcML defining the _FillValue attribute as NaN for the
variables. This works, but also means a loss of performance because
now the data has to take two hops, from our TDS and the TDS it
originally is served from.
Anyway, should it be that by default, the missing_value or _FillValue
attribute is defined as NaN in the "best time series" data?
Thanks
Kevin
I think it will use the value in missing_value or _FillValue if defined.
If not defined, NaN is apparently the default choice. I suppose the
right thing to do is to add that attribute if not defined, for
consistency. do you agree?