act.qc

Description

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

Classes

QCFilter(xarray_obj)

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.

QCTests()

SP2ParticleCriteria()

Functions

add_dqr_to_qc(obj[, 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(obj[, variable, ...])

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(my_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_object, 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.