NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 20 forks source link

allow for missing_flags attribute with multiple values #1146

Open karlmsmith opened 6 years ago

karlmsmith commented 6 years ago

Reported by @AnsleyManke on 29 Jul 2011 21:43 UTC The "Attribute Conventions" at Unidata ,http://www.unidata.ucar.edu/software/netcdf/docs/netcdf/Attribute-Conventions.html, describe the missing_value attribute as being a scalar or vector.

Ferret's current behavior is that it can read a variable with a vector missing_value attribute, and uses the first value as the bad-value.

Need to decide what to write on output -- probably just the first flag; the one used. And write a message saying Ferret encountered multiple missing-flags and is using the first one. If it's not too much work, also write the vector of flags.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1874

karlmsmith commented 6 years ago

Modified by @AnsleyManke on 29 Jul 2011 22:00 UTC