Dear All:

“b is appended to all fill value, valid range, flag mask, and flag values in 
the flag variable examples  (see para. 3.5 Flags).  Note that in the examples,  
“b” is appended to values that are base 10 values, and in some cased are 
numbers where multiple bits are needed to represent the value (e.g. 63b, 12b)

The second sentence says "Status codes and Boolean (binary) condition flags may 
be expressed with different combinations of flag_values and flag_maslks 
attribute definitions.”.

The question I have revolves around whether should “b” be should be appended to 
valid range, flag mask, and flag values when the flag variable is a status code.

Here is an example where “b” has been appended to status codes...

byte status ;
  status:_FillValue = -128b;
  status:valid_range = 1b, 4b ;
  status: flag_values = 1b, 2b, 3b, 4b ;
  status:flag_meanings = hot warm lukewarm cold ;


Is including the “b” correct ?


very respectfully,

randy




_______________________________________________
CF-metadata mailing list
[email protected]
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to