act.qc.QCFilter.create_qc_summary

QCFilter.create_qc_summary(cleanup_qc=False, remove_attrs=['fail_min', 'fail_max', 'fail_delta'], normalize_assessment=True)

Method to convert embedded quality control to summary QC that utilzes flag values instead of flag masks and summarizes the assessments to only a few states. Lowest level of quality control will be listed first with most sever having higher integer numbers. Dataset is updated in place.

cleanup_qcboolean

Call clean.cleanup() method to convert to standardized ancillary quality control variables. The quality control summary requires the current embedded quality control variables to use ACT standards.

remove_attrsNone, list

Quality Control variable attributes to remove after creating the summary.

normalize_assessmentbool

Option to clean up assessments to use the same terminology.

Returns:

return_ds (Xarray.dataset) – ACT Xarray dataset with quality control variables converted to summary flag values.