act.qc.CleanDataset.fix_incorrect_variable_bit_description_attributes#
- CleanDataset.fix_incorrect_variable_bit_description_attributes()[source]#
Method to correct incorrectly defined quality control variable attributes. There are some datastreams with the attribute names incorrectly having
qc_prepended to the attribute name. This will fix those attributes so thecleanqcmethod can correctly read the attributes.If the variable long_name starts with the string “Quality check results on” and a variable attribute follows the pattern
qc_bit_#_descriptiontheqc_part of the variable attribute will be removed.