[CF-metadata] flag variables: appending "b" to fill value, valid range, flag mask, and flag values
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
Received on Fri Mar 07 2014 - 05:55:45 GMT
This archive was generated by hypermail 2.3.0
: Tue Sep 13 2022 - 23:02:41 BST