qat (version 0.74)

qat_analyse_lim_rule_static_2d: Perform a static lim-rule-check

Description

This check tests data on whether it exceeds a static threshold.

Usage

qat_analyse_lim_rule_static_2d(measurement_vector, min_value, max_value)

Arguments

measurement_vector
The measurement vector (2d array), which should be tested
min_value
The minimum threshold
max_value
The maximum threshold

Value

It returns a list with the following entries:

Warning

There is no checking, if the maximum-value is greater than the minimum-value.

Details

This check tests every element, on whether it exceeds the minimum or maximum threshold. The result will be given back as a list, which contains the result of the test as a flagvector (2d array) and its parameters. For every element of the measurement vector the flagvector contains a -1, if its exceeding the minimum value, a 1, if its exceeding the maximum value, or a 0, when no exceeding has happend.

References

Meek, D.W., Hatfield, J.L. (1994) Data quality checking for single station meteorological databases, \_Agricultural and Forest Meteorology\_, *69* (1-2), 85-109.

See Also

qat_analyse_lim_rule_static_1d, qat_plot_lim_rule_static_2d, qat_call_lim_rule, qat_analyse_lim_rule_dynamic_2d, qat_analyse_lim_rule_sigma_2d

Examples

Run this code
vec <- array(rnorm(100),c(5,20))
result <- qat_analyse_lim_rule_static_2d(vec, -2,2)

Run the code above in your browser using DataCamp Workspace