View source: R/calculate_DO_concentration.R
calculate_DO_concentration | R Documentation |
Converts dissolved oxygen from percent saturation to concentration (mg/L) based on temperature, salinity, and barometric pressure.
calculate_DO_concentration(
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 concentration is calculated as:
DO_{mg/L} = C_{p} * DO_{\% Saturation} /100
Where DO_{\% Saturation}
is the percent saturation of dissolved
oxygen, 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_percent_saturation()
,
calculate_cp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.