get.G: Calculate net gas flux of CO2 or O2

Description Usage Arguments Value Author(s) References

Description

Calculates net flux of CO2 or O2 across the air water interface for one time step. O2 flux is calculated as the difference between the O2 concentraton at saturation and O2 concentration observed, times the O2-specific reaeration coefficent corrected for water temperature. CO2 flux is calculated as the difference between the partial pressure of CO2 in air and in water, times the CO2-specific reaeration coefficent corrected for water temperature and Henery's constant.

Usage

1
2
get.G(temperature, O2conc, kstd, depth, gas = 'O2')
get.G(temperature, pCO2water, pCO2air, kstd, depth, gas = 'CO2')

Arguments

temperature

Water termperature in degrees Celsius (C).

salinity

Salinity in parts per thousand (ppt or PSU). Defaults to 0.

pressure

Atmopheric pressure in atmospheres (atm). Defults to 1.

O2conc

Dissolved oxygen concentration at the begining of the time step. Required if gas == "O2". Units of micromoles per liter (umol/L)

pCO2water

Partial pressure of CO2 in water at the begining of the time step. Required if gas == "CO2". Units of microatmospheres (Uatm).

pCO2air

Partial pressure of CO2 in air above the water body. Required if gas == "CO2". Defaults to 410. Units of microatmospheres (uatm).

kstd

Gas transfer velocity of CO2 at a standardized temperature (indicated by referenceT) in units of meters per second. kstd will be corrected for water temperature and gas (O2) if needed.

referenceT

Standardized water temperature for kstd in degrees Celsius. Defaults to 20.

depth

Depth of the mixed layer or stream depth in meters

gas

Character string indicating the gas for which net flux is desired. Options are "O2" or "CO2".

Value

Numeric vector of net gas flux.

Author(s)

Gordon W. Holtgrieve

References

Lynch et al. (2010), J. Geophys. Res., 115, G03016 Holtgrieve et al. (2010) Limn. Ocean. 55 (3): 1047–1063


gholtgrieve/gassyPants documentation built on May 9, 2019, 5:02 a.m.