flux_drygas: wet air correction

View source: R/flux_drygas.R

flux_drygasR Documentation

wet air correction

Description

Corrects for the amount of water vapor inside the air

Usage

flux_drygas(conc_df, gas_wet, h2o_wet)

Arguments

conc_df

dataframe of gas concentration over time

gas_wet

the gas to correct

h2o_wet

water vapor concentration before correction (in mmol/mol)

Details

the correction is done as follows gas_dry = gas_wet / (1 - (h2o_wet / 1000))

Value

the same dataframe with the additional column ⁠[gas_wet]_dry⁠ in the same unit as gas_wet

Examples

data(wet_conc)
flux_drygas(wet_conc, co2, h2o)

fluxible documentation built on Sept. 12, 2025, 1:08 a.m.