act.qc#

Description

This module contains procedures for working with QC information and for applying tests to data.

Classes

CleanDataset(ds)

Class for cleaning up QC variables to standard cf-compliance

QCFilter(ds)

A class for building quality control variables containing arrays for filtering data based on a set of test condition typically based on the values in the data fields.

QCSummary(ds)

This is a Mixins class used to allow using qcfilter class that is already registered to the Xarray dataset.

QCTests()

SP2ParticleCriteria()

Functions

add_dqr_to_qc(ds[, variable, assessment, ...])

Function to query the ARM DQR web service for reports and add as a new quality control test to ancillary quality control variable.

fft_shading_test(ds[, variable, fft_window, ...])

Function to test shadowband radiometer (MFRSR, RSS, etc) instruments for shading related problems.

fft_shading_test_process(time, data[, ...])

Processing function to do the FFT calculations/thresholding

get_waveform_statistics(ds, config_file[, ...])

Generates waveform statistics for each particle in the dataset This will do the fitting for channel 0 only.

parse_bit(qc_bit)

Given a single integer value, return bit positions.

read_yaml_supplemental_qc(ds, fullpath[, ...])

Returns a dictionary converstion of YAML file for flagging data.

set_bit(array, bit_number)

Function to set a quality control bit given a scalar or array of values and a bit number.

unset_bit(array, bit_number)

Function to remove a quality control bit given a scalar or array of values and a bit number.