act.qc.CleanDataset.clean_arm_state_variables#
- CleanDataset.clean_arm_state_variables(variables, override_cf_flag=True, clean_units_string=True, integer_flag=True, replace_in_flag_meanings=None)[source]#
Function to clean up state variables to use more CF style.
- Parameters:
variables (str or list of str) – List of variable names to update.
override_cf_flag (bool) – Option to overwrite CF flag_meanings attribute if it exists with the values from ARM QC bit_#_description.
clean_units_string (bool) – Option to update units string if set to ‘unitless’ to be udunits compliant ‘1’.
integer_flag (bool) – Pass through keyword of ‘flag’ for get_attr_info().
replace_in_flag_meanings (None or string) – Character string to search and replace in each flag meanings array value to increase readability since the flag_meanings stored in netCDF file is a single character array separated by space character. Alows for replacing things like “_” with space character.