Converts CO2 mole fraction, xCO2, to the water-vapor-corrected partial
pressure, pCO2.
Arguments
- xCO2_ppm
Numeric vector. Mole fraction of CO2 in air in parts per million.
- temp_water
Numeric vector. Water temperature in degrees Celsius.
- atmo_press
Numeric vector. Atmospheric pressure.
- press_units
Character string giving the units of
atmo_press. Seeconvert_pressure()for accepted pressure units.- ...
Additional arguments passed to
calc_vapor_press(), such assalinityormethod.
Details
The conversion uses:
$$pCO2 = (P_{atm} - P_{H2O}) \cdot xCO2$$
where atmospheric pressure and water vapor pressure are in atm and xCO2
is supplied in parts per million.