Custom Query (124 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 124)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#20 fixed Incorrect parsing of flag_values attribute ros ros
Description

Section 3.5 of the conventions document states that "The flag_values attribute is the same type as the variable to which it is attached, and contains a list of the possible flag values."

E.g.

current_speed_qc:flag_values = 0b, 1b, 2b ;

But Appendix A specified the flag_values type as string. This is what the checker based the check on which is incorrect.

The conventions document has been corrected. The CF checker needs to implement this change too.

#22 fixed missing_value & _FillValue bug fix ros ros
Description

Section 2.5.1 states that the missing_value and _FillValue attributes must be the same type as the variable to which they are attached. The CF checker throws a python error if these attributes are of type string/char.

The following generates the error, but is actually valid.

char variable(time) ;
    variable:standard_name = "surface_temperature" ;
    variable:_FillValue = "M" ;
    variable:missing_value = "M" ;

#41 fixed Upgrade CF checker to CF-1.3 ros ros
Description

CF-1.3 additional requirements include:

Section 3.5 Flags
Requirements:

  • The flag_values attribute must have the same type as the variable to which it is attached.
  • The number of flag_values attribute values must equal the number of words or phrases appearing in the flag_meanings string.
  • The number of flag_masks attribute values must equal the number of words or phrases appearing in the flag_meanings string.
  • Variables with a flag_masks attribute must have a type that is compatible with bit field expression (char, byte, short and int), not floating-point (float, real, double), and the flag_masks attribute must have the same type.
  • The flag_masks attribute values must be non-zero.
  • The flag_values attribute values must be mutually exclusive among the set of flag_values attribute values defined for that variable.

Recommendations:

  • When flag_masks and flag_values are both defined, the Boolean AND of each entry in flag_values with its corresponding entry in flag_masks should equal the flag_values entry, ie, the mask selects all the bits required to express the value.
1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.