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

set control std in config #30

Closed twollnik closed 5 years ago

twollnik commented 5 years ago

closes #16

The quality control standard must now be set in the config file. Each standard has the additional parameter use_as_control_standard. For example:

standards:
  - name: KARA
    o18_True: -0.10
    H2_True: -0.6
    use_for_drift_correction: no
    use_for_calibration: no
    use_as_control_standard: no
  - ...

The output dataframe(s) of associateStandardsWithConfigInfo contain the additional column useAsControlStandard.

@thomas-muench If you agree with the changes proposed here, please merge the PR and delete this branch.

thomas-muench commented 5 years ago

@twollnik Thanks for this PR; I am fine with the proposed changes and will merge it.