
SEMACHv3 batch evaluation
SEMACHv3_batch_evaluation.RdWrapper for streamlined evaluation of larger sets of respiration measurements.
Requires proper folder structure for Chambers / Measurement data.
Arguments
- dirpath
Path to parent folder. ./dirpath should contain folders for each chamber named as stated in ch_list. See details.
- metadata_path
Path to a .csv file containing slope and offset for each chamber system. Must contain at least 4 columns:
System- the chamber system id used in the folder structure,SCD30_slope- the slope correction for SCD30 data,SCD30_offset- the offset correction for SCD30 data,height_offset- height difference of system volume. Note that this can here only be changed for each subfolder, not each ring / measurement site. SCD30 slope and offset can be calculated bySEMACHv3_SCD30calib. If data should be processed without corrections, entries ofSCD30_slopehave to be set to 1, and bothSCD30_offsetandheight_offsetto 0.- ch_list
Character vector of individual chamber systems. Must be same as folder names in dirpath and entries column System in cal_lookup_path.
- cutoff_start
The first n seconds of the measurement will be disregarded (equilibration period, 60s recommended).
- cutoff_end
Measurement will only be used to this point (in s). Long measurements might have non-linear behaviour.
- from
Only evaluate chamber data recored after this date.
- to
Only evaluate chamber data recored before this date.
Details
Currently, no way of attributing an site or measurement id to chamber measurements is implemented. The only way to identify measurements is the timestamp that is used as filename. Therefore, a clear folder structure is paramount to differentiate between chamber systems and allow the assignment of measurement to individual sites. Data therefore recommended to be stored in a folder structure as follows: