View source: R/calculate_DO_percent_saturation.R
calculate_DO_percent_saturation | R Documentation |
Converts dissolved oxygen from concentration (mg/L) to percent saturation based on temperature, salinity, and barometric pressure.
calculate_DO_percent_saturation(
dat.wide,
Sal = NULL,
P_atm = NULL,
method = "garcia-gordon",
return.factors = FALSE
)
dat.wide |
Dataframe with columns |
Sal |
A single value of salinity (psu). This value must be specified if
there is no |
P_atm |
A single value of barometric pressure (atm). This value should
be specified if there is no |
method |
Equation to use to calculate dissolved oxygen solubility.
Options are |
return.factors |
Logical parameter. If If |
DO percent saturation is calculated as:
DO_{\% Saturation} = 100 * DO_{mg/L} / C_{p}
Where DO_{mg/L}
is the concentration of dissolved oxygen in mg/L
(corrected for salinity and/or pressure), and C_{p}
is the solubility
of oxygen at the observed temperature, pressure, and salinity.
See ?calculate_cp
for information on how C_{p}
is calculated.
Danielle Dempsey, Nicole Torrie
Other Dissolved Oxygen:
DO_pressure_correction()
,
DO_salinity_correction()
,
calculate_DO_concentration()
,
calculate_cp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.