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 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
[email protected]
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to