Learn R Programming

fluxible (version 1.3.4)

flux_drygas: wet air correction

Description

Corrects for the amount of water vapor inside the air

Usage

flux_drygas(conc_df, gas_wet, h2o_wet)

Value

the same dataframe with the additional column [gas_wet]_dry in the same unit as gas_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))

Examples

Run this code
data(wet_conc)
flux_drygas(wet_conc, co2, h2o)

Run the code above in your browser using DataLab