USGS-R / sensorQC

sensorQC is a flexible framework for QAQCing high-frequency data for a continuously evolving catalogue of sensors
Other
12 stars 7 forks source link

provide better interface for users of the package #21

Open jordansread opened 9 years ago

jordansread commented 9 years ago
qconfig = read(file="DO_sensor.yaml")
sensor = read(file="sensor.txt", format)
sensor = window(sensor, ...)
sensor = flag(sensor, qconfig) # works for windowed and non-windowed
 # -- or --
sensor = flag(sensor, ...) # for manual operations that are in sqc

qconfig['field'] = 'n=9'
write(qconfig, file, ...)

data = clean(sensor, flag.logic)
write(data, file, with.flags, ...)