glimmr is an R package that makes it easier to process and handle data from dynamic flux measurements and provides functions to use with the boundary layer Equation (BLE).

(Dynamic-) chamber measurements

Approach

During applications of dynamic chambers, typically two kinds of datasets are created: One continous dataset, provided by the gas analyzer, containing the gas mixing ratios and one metadataset with information about the single chamber applications. Typically this contains an ID of the spot location, time of the measurement start (and end) and maybe the chamber temperature.

glimmr reads both datasets, slices the concentration data into chunks defined by the metadata and fits linear and robust linear models (robust::lmRob) for the actual flux calculation.

The datastructure of the recorderd data can be widely defined, hence glimmr is not restriced to a speceific device. Nevertheless, wrapper functions are included for GASMET and LosGatos gas analizers.

Process fluxes

To use any arbitrary device all columns containing used information need to be defined.

For simplification, GASMET and LosGatos can be called via convenient wrapper functions:

process_losgatos(losgatos, meta_losgatos)

process_gasmet(gasmet, meta_gasmet)

While the start of single measurements is (usually) defined by a known point in time, the end can be defined in different ways. See process_chamber() for details.