View source: R/correction.factor.do.R
correction.factor.do | R Documentation |
Compute dissolved oxygen correction factor pre- and post-deployment by calculating the ratio between the theoritical dissolved oxygen concentration at saturation with the measured oxygen concentration. Requires the atmospheric pressure and the time the calculation can be made for (i.e., when the sensors are taken out their bubble bath, where the oxygen saturation should be at the maximum).
correction.factor.do(
filename,
TC_pre,
TC_post,
Pbaro_mbar_init,
Pbaro_mbar_end,
n = 4
)
filename |
path to file we need to calculate the correction factors for. The file is a raw HOBO file, with temperature and oxygen. |
TC_pre |
datetime of end of the "initialization" calibration (pre-deployment) |
TC_post |
datetime of end of the "end of deployement" calibration (post-deployment) |
Pbaro_mbar_init |
Atmospheric pressure in millibars during the "initialization" calibration (pre-deployment) |
Pbaro_mbar_end |
Atmospheric pressure in millibars during the "end of deployement" calibration (post-deployment) |
n |
number of observations PRIOR to TC_pre and TC_post used to compute the oxygen mean for computing correction factor. Default to n = 4. |
Rosalie Bruel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.