markusritschel / oceanpack

Routines to handle log files of the OceanPack from SubCtech®
https://markusritschel.github.io/oceanpack/
MIT License
0 stars 0 forks source link

Create a QC module #3

Open markusritschel opened 3 years ago

markusritschel commented 3 years ago

For proper quality control, create a new module with QC routines and integrate it in the processing workflow.

Such a module could include:

  1. 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).
  2. checking the sensor temperature Sensor temperature should be approximately +50°C.
  3. checking the sensor pressure Sensor pressure should be approx 990–1050 mbar.
  4. correlations with vessel speed --> discuss with Peter
  5. 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.

markusritschel commented 1 year ago

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.