Skip to contents

A function for the calculation of respiration fluxes from SEMACH files. (Similar to the way the python version seanadamhdh/SEMACHv3 works). [Experimental]

Usage

eval_SEMACHv3(
  path,
  height_offset = 0,
  SCD30_scaling = 1,
  SCD30_offset = 0,
  cutoff_start = 61,
  cutoff_end = 3600,
  A_chamber = 0.0434,
  V_chamber.default = 0.01302
)

Arguments

path

A file path to a SEMACHv3 .csv measurement file.

height_offset

Additional chamber volume will be calculated from extra height in m.

SCD30_scaling

Scaling factor a for the SCD30 CO2 sensor for post-hoc calibration. (CO2.corr=a*CO2.SCD30+b). Default = 1, meaning no change.

SCD30_offset

Scaling offset b for the SCD30 CO2 sensor for post-hoc calibration. (CO2.corr=a*CO2.SCD30+b) Default = 0, meaning no change.

cutoff_start

The first n seconds of the measurement will be disregarded (equillibration period, 60s recommended).

cutoff_end

Measurement will only be used to this point (in s). Long measurements might have non-linear behaviour.

A_chamber

Chamber base area. For KG250 rings ~ .0434 m² (default).

V_chamber.default

Default system volume. For SEMACHv3 0.01302 (KG250, 30 cm high, default), for SEMACHv2 0.01587

Value

Formatted raw SEMACHv3 measurement file