Converts a measured or modeled CO2 mole fraction to dissolved CO2 concentration using atmospheric pressure, water-column pressure, vapor pressure, and the Weiss (1974) CO2 solubility coefficient.
Arguments
- CO2_ppm
Numeric vector. Mole fraction of CO2 in air in parts per million.
- temp_water
Numeric vector. Water temperature in degrees Celsius.
- waterDepth_m
Numeric vector. Water depth above the sensor in meters.
- atmo_press
Numeric vector. Atmospheric pressure at the water surface.
- press_units
Character string giving the units of
atmo_press. Seeconvert_pressure()for accepted pressure units.- salinity
Numeric vector. Salinity in practical salinity units. Defaults to freshwater (
0).