calibrate: Calibrate trace gas data

Description Usage Arguments

View source: R/calibrate.r

Description

calibrate atmospheric trace gas data against several reference gas tanks.

Usage

1
calibrate(time, gasm, gask, auto = F, er_tol = 0.1, dt_tol = 18000)

Arguments

time

POSIXct class timestamp, length n

gasm

numeric measured values, length n

gask

numeric gas concentration flag, length n. -10 for atmospheric observations, -99 for flush periods, or a positive value if sampling a known concentration

auto

if TRUE, stops calibration if the dataset ends with reference gas flow still active

er_tol

tolerated deviation from known value. e.g. 0.1 for 10 percent deviation from known

dt_tol

tolerated amount of time between observations, in seconds. If exceeded, will remove all atmospheric data until the next calibration


benfasoli/uataq documentation built on Sept. 27, 2021, 9:29 p.m.