⇐ ⇒

[CF-metadata] Multiple zeros in flag_values allowed?

From: Jim Biard <jbiard>
Date: Tue, 20 Nov 2018 11:51:24 -0500

Julien,

That's fine. The conformance document probably needs a better statement
of the requirement when flag masks are used.

Grace and peace,

Jim

On 11/20/18 11:40 AM, Julien Demaria wrote:
>
> Hi,
>
> We want to define a flags variable defining like that:
>
> var:flag_masks = 3, 3, 3, 3, 12, 12, 12, 12 ;
>
> var:flag_values = 0, 1, 2, 3, ??0,??? 4,? 8, 12 ;
>
> var:flag_meanings = ?very_bad_quality ??????bad_quality
> ???????good_quality??????? very_good_quality
>
> ?????????????????????????????very_bad_weather ???bad_weather???
> good_weather??? very_good_weather? ;
>
> I understand from
> http://cfconventions.org/Conformance/conformance.html
> <http://cfconventions.org/Conformance/conformance.html> that it is not
> allowed to use several time the same value (here zero) in flag_values:
>
> *Requirements:*
>
> ?The |*flag_values*|attribute values must be mutually exclusive among
> the set of |*flag_values*|attribute values defined for that variable.
>
> So it means that for each new ?bits combination? in the flags
> definition we lost one of the combination because we cannot use zero
> more than one time?
>
> Do you confirm this? What is the reason?
>
> Thanks in advance,
>
> Julien
>
>
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
-- 
CICS-NC <http://www.cicsnc.org/> Visit us on
Facebook <http://www.facebook.com/cicsnc> 	*Jim Biard*
*Research Scholar*
Cooperative Institute for Climate and Satellites NC <http://cicsnc.org/>
North Carolina State University <http://ncsu.edu/>
NOAA National Centers for Environmental Information <http://ncdc.noaa.gov/>
/formerly NOAA?s National Climatic Data Center/
151 Patton Ave, Asheville, NC 28801
e: jbiard at cicsnc.org <mailto:jbiard at cicsnc.org>
o: +1 828 271 4900
/Connect with us on Facebook for climate 
<https://www.facebook.com/NOAANCEIclimate> and ocean and geophysics 
<https://www.facebook.com/NOAANCEIoceangeo> information, and follow us 
on Twitter at _at_NOAANCEIclimate <https://twitter.com/NOAANCEIclimate> and 
_at_NOAANCEIocngeo <https://twitter.com/NOAANCEIocngeo>. /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20181120/5d1eb2c4/attachment-0001.html>
Received on Tue Nov 20 2018 - 09:51:24 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:43 BST

⇐ ⇒