calculate_cp | R Documentation |
Calculate the solubility of dissolved oxygen based on temperature, salinity and barometric pressure, following the equations in Benson and Krause 1984 or Garcia and Gordon 1992.
calculate_cp(
dat.wide,
Sal = NULL,
P_atm = NULL,
method = "garcia-gordon",
return.factors = FALSE
)
dat.wide |
Dataframe with at least one column: |
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 |
Solubility of dissolved oxygen (mg/L) is calculated using the equations in Benson and Krause 1984, or the or Garcia and Gordon 1992 refit. These equations should only be used when 0 < Temperature < 40 degrees Celcius, 0 < Salinity < 40 PSU and 0.5 < Pressure < 1.1 atm.
Results from this function should closely match those from the USGS DOTABLES Table B (output from GG method may differ in the second decimal place) at https://water.usgs.gov/water-resources/software/DOTABLES/.
For more information see Equations 24 and 32, and Table 2 from Benson and Krause 1984 or Equation 8 and Table 1 from Garcia and Gordon 1992.
For the Garcia and Gordon equation, coefficients from the first column of Table 1 were used. Conversion factor of 1.42905 was applied to convert from cm^3/dm^3 (mL/L) to mg/L (USGS 2011).
References
Benson, Bruce B., Krause, Daniel, (1984), The concentration and isotopic fractionation of oxygen dissolved in freshwater and seawater in equilibrium with the atmosphere, Limnology and Oceanography, 3, doi: 10.4319/lo.1984.29.3.0620.
Garcia, H., and L. Gordon (1992), Oxygen solubility in seawater: Better fitting equations, Limnol. Oceanogr., 37(6).
USGS. Change to Solubility Equations for Oxygen in Water. Technical Memorandum 2011.03. USGS Office of Water Quality, 2011.
Other Dissolved Oxygen:
DO_pressure_correction()
,
DO_salinity_correction()
,
calculate_DO_concentration()
,
calculate_DO_percent_saturation()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.