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

Anna Milan - NOAA Federal via Esip-documentation esip-documentation at lists.esipfed.org
Fri May 23 13:18:34 EDT 2014


Update - added commas b/t flag_values

    <attribute name="flag_values" value="0, 1, 2"/>
    <attribute name="flag_meanings"
value="One_or_more_measurements_are_backfilled_from_the_spacecraft_recorder
Packet_time_is_in_the_future Packet_time_is_older_than_the_threshold"/>


Anna
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Anna.Milan at noaa.gov, 303-497-5099
NOAA/NESDIS/NGDC

http://www.ngdc.noaa.gov/metadata/emma
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*


On Fri, May 23, 2014 at 11:17 AM, Anna Milan - NOAA Federal <
anna.milan at noaa.gov> wrote:

> Ok.
> Thanks for all of your feedback! Does this look more compliant?
>
> <attribute name="flag_values" value="0 1 2"/>
>     <attribute name="flag_meanings"
> value="One_or_more_measurements_are_backfilled_from_the_spacecraft_recorder
> Packet_time_is_in_the_future Packet_time_is_older_than_the_threshold"/>
>
> Anna
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
> Anna.Milan at noaa.gov, 303-497-5099
> NOAA/NESDIS/NGDC
>
> http://www.ngdc.noaa.gov/metadata/emma
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
>
>
> On Fri, May 23, 2014 at 11:09 AM, Bob Simons - NOAA Federal via
> Esip-documentation <esip-documentation at lists.esipfed.org> wrote:
>
>>
>> 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, 303-497-5099
>> NOAA/NESDIS/NGDC
>>
>>  http://www.ngdc.noaa.gov/metadata/emma
>> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
>>
>>
>> _______________________________________________
>> Esip-documentation mailing listEsip-documentation at lists.esipfed.orghttp://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.
>> <>< <>< <>< <>< <>< <>< <>< <>< <>< <><
>>
>> _______________________________________________
>> Esip-documentation mailing list
>> Esip-documentation at lists.esipfed.org
>> http://www.lists.esipfed.org/mailman/listinfo/esip-documentation
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.esipfed.org/pipermail/esip-documentation/attachments/20140523/29406668/attachment-0001.html>


More information about the Esip-documentation mailing list