R/airsis_ESAMQualityControl.R
airsis_ESAMQualityControl.Rd
Perform various QC measures on AIRSIS E-Sampler data.
The following columns of data are tested against valid ranges:
Flow
AT
RHi
ConcHr
A POSIXct datetime
column (UTC) is also added based on TimeStamp
.
airsis_ESAMQualityControl( tbl, valid_Longitude = c(-180, 180), valid_Latitude = c(-90, 90), remove_Lon_zero = TRUE, remove_Lat_zero = TRUE, valid_Flow = c(1.999, 2.001), valid_AT = c(-Inf, 150), valid_RHi = c(-Inf, 55), valid_Conc = c(-Inf, 5000), flagAndKeep = FALSE )
tbl | single site tibble created by |
---|---|
valid_Longitude | range of valid Longitude values |
valid_Latitude | range of valid Latitude values |
remove_Lon_zero | flag to remove rows where Longitude == 0 |
remove_Lat_zero | flag to remove rows where Latitude == 0 |
valid_Flow | range of valid Flow.l.m values |
valid_AT | range of valid AT.C. values |
valid_RHi | range of valid RHi... values |
valid_Conc | range of valid Conc.mg.m3. values |
flagAndKeep | flag, rather then remove, bad data during the QC process |
Cleaned up tibble of AIRSIS monitor data.