act.qc.QCFilter.merge_qc_variables#

QCFilter.merge_qc_variables(var_name, qc_var_names=None)[source]#

Function to merge QC variables together based on what’s defined in as ancillary variables. Behaviour is to merge the qc into the first qc variable listed in the ancillary_variables attribute unless otherwise passed in as a keyword argument.

Parameters:
  • var_name (str) – The data variable name to merge QC for

  • qc_var_names (list of str or None) – List of quality control variable names merge together. If None will look for ancillary variables attribute on data variable and use those variables.

Returns:

merge_qc_var_name (str) – The name of the quality control variable the other variables were merged in to.