EarthSystemDiagnostics / piccr

A bundle of R functions to correct and calibrate raw Picarro cavity ring down spectroscopy stable isotope data.
MIT License
1 stars 2 forks source link

Improve quality-control information output #59

Open thomas-muench opened 2 months ago

thomas-muench commented 2 months ago

Currently, the quality-control information (QCI) on a specific piccr processing run is delivered by the run.info file which is written to disk. However, the QCI structure in the file is rather confusing and convoluted, due to being a result of consecutive piccr development steps, and needs reformatting (see also #55).

I suggest the following smaller improvements:

As a major update, I suggest to split up the run.info file to reformat the structure of the delivered QCI:

Each file should be a .txt file to allow previewing its contents (e.g. on a macOS); file names could be something like quality-control, memory-coef, drift-par, and calibration-par. Optionally include an adjustable file name prefix (default "") to distinguish results from different processing runs and not overwrite them.