For proper quality control, create a new module with QC routines and integrate it in the processing workflow.
Such a module could include:
checking the waterflow
Waterflow should be around 6 or 7 L/min. Find phases, where it is below a certain threshold (e.g. 2 below median or < 5.5) and mask the CO2 data (possibly including the next 20 minutes or so).
checking the sensor temperature
Sensor temperature should be approximately +50°C.
checking the sensor pressure
Sensor pressure should be approx 990–1050 mbar.
correlations with vessel speed --> discuss with Peter
response time checks
e.g. check the lengths of the response times
Also, similar to set_nonoperating_to_nan, mask the affected CO2 data including a given buffer after each phase.
For a start, compare the QC routines I did for the ICOS project in 2021.
For QC of the calibration phases, the routine should detect how many span gases had been used. Alternatively, ask the user for a configuration file where these kinds of information are indicated.
For proper quality control, create a new module with QC routines and integrate it in the processing workflow.
Such a module could include:
Also, similar to
set_nonoperating_to_nan
, mask the affected CO2 data including a given buffer after each phase.For a start, compare the QC routines I did for the ICOS project in 2021.