def write_flag_definition(variable, flags_definition): # write bitflag info # Functions for this are stored in Measurements variable.QA_index = describe_flags_def(flags_def=flags_definition) variable.flag_masks, variable.valid_range, variable.flag_meanings = flag_mask_meanings(flags_def=flags_definition)
def write_flag_definition(variable, flags_definition): # write bitflag info # Functions for this are stored in Measurements variable.QA_index = describe_flags_def(flags_def=flags_definition) variable.flag_masks, variable.valid_range, variable.flag_meanings = flag_mask_meanings(flags_def=flags_definition)