Perform various QC measures on AIRSIS EBAM MULT2 data. This data format began appearing in December, 2019 and is associated with data available at https://arb3.airsis.com.
The following columns of data are tested against valid ranges:
Flow
AT
RHi
ConcHr
A POSIXct datetime
column (UTC) is also added based on Date.Time.GMT
.
airsis_EBAM_MULTI2QualityControl(
tbl,
valid_Longitude = c(-180, 180),
valid_Latitude = c(-90, 90),
remove_Lon_zero = TRUE,
remove_Lat_zero = TRUE,
valid_Flow = c(16.7 * 0.95, 16.7 * 1.05),
valid_AT = c(-Inf, 45),
valid_RHi = c(-Inf, 50),
valid_Conc = c(-Inf, 5),
flagAndKeep = FALSE
)
single site tibble created by airsis_parseData()
range of valid Longitude values
range of valid Latitude values
flag to remove rows where Longitude == 0
flag to remove rows where Latitude == 0
range of valid Flow values
range of valid AT values
range of valid RHi values
range of valid ConcHr values
flag, rather than remove, bad data during the QC process
Cleaned up tibble of AIRSIS monitor data.