[Esip-documentation] how to describe flag_values, flag_meanings in netCDF

Bob Simons - NOAA Federal via Esip-documentation esip-documentation at lists.esipfed.org
Fri May 23 13:09:54 EDT 2014


On 2014-05-23 9:45 AM, Anna Milan - NOAA Federal via Esip-documentation 
wrote:
> Howdy All,
> Is this the most appropriate way to describe flag_values, flag_meanings?
>
>   <attribute name="flag_values" value="0, 1, 2, 3, 4, 5, 6, 7"/>
>   <attribute name="flag_meanings" value="One or more measurements are 
> back filled from the spacecraft recorder, Packet time is in the 
> future, Packet time is older than the threshold"/>

Not exactly.
The flag_values (and the flag variable) are usually an array of bytes, 
not a comma separated string.
The flag_meanings need to be something like 
"One_or_more_measurements_are_back_filled_from_the_spacecraft_recorder 
Packet_time_is_in_the_future Packet_time_is_older_than_the_threshold".
The number of flag_values must equal the number of flag_meanings.

Those are terms from the CF standard. See 
http://cfconventions.org/1.6.html#flags for details.

It might be better to direct future questions about them to the CF 
mailing list.

> Thanks in advance....
> Anna
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
> Anna.Milan at noaa.gov <mailto:Anna.Milan at noaa.gov>, 303-497-5099
> NOAA/NESDIS/NGDC
>
> http://www.ngdc.noaa.gov/metadata/emma
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
>
>
> _______________________________________________
> Esip-documentation mailing list
> Esip-documentation at lists.esipfed.org
> http://www.lists.esipfed.org/mailman/listinfo/esip-documentation

-- 
Sincerely,

Bob Simons
IT Specialist
Environmental Research Division
NOAA Southwest Fisheries Science Center
1352 Lighthouse Ave
Pacific Grove, CA 93950-2079
Phone: (831)658-3205
Fax: (831)648-8440
Email: bob.simons at noaa.gov

The contents of this message are mine personally and
do not necessarily reflect any position of the
Government or the National Oceanic and Atmospheric
Administration.
<>< <>< <>< <>< <>< <>< <>< <>< <>< <><

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.esipfed.org/pipermail/esip-documentation/attachments/20140523/a438ce9e/attachment.html>


More information about the Esip-documentation mailing list