Skip to content

Range check

Louise Oram edited this page May 11, 2022 · 6 revisions

Flag if observation values are outside a given minimum and maximum range. Can for example be used to check if the values are outside the range the sensor is able to measure, or outside the local recorded extremes.

Input parameters

Parameter Type Unit Description
values vec ou Observations
min vec ou min allowed value
max vec ou max allowed value

ou = Unit of the observation

Returned parameters

Parameter Type Unit Description
flags ivec vector of return flags

Examples

# R code
flags <- range_check( precip_obs, 0, 1)