corrConcDilution: corrConcDilution

Description Usage Arguments Details Value Author(s) References Examples

View source: R/concCorrections.R

Description

Calculate concentration corrected for dilution with water vapor

Usage

1
2
corrConcDilution(ds, colConc = "CO2_Avg", colVapour = "H20_Avg", 
    isUpdateOnNonFiniteVapour = TRUE)

Arguments

ds

data frame with each row one observations, and respective columns

colConc

column name of CO2 concentration [ppm]

colVapour

column name of water vapour concentration [ppt]

isUpdateOnNonFiniteVapour

set to FALSE to not correct concentrations for records where vapour is not finite << in the default, the concentration will be NA

Details

If CO2 concentration is measured per moist air, this function will calculate the concentration\ per dry air.

Value

numeric vector (nrow ds): concentration of CO2 per dry air [ppm]

Author(s)

Thomas Wutzler, Oscar Perez Priego

References

LI-COR, Application Note 129. The Importance of Water Vapor Measurements and Corrections. LI-COR, Inc., 4421 Superior Street, Lincoln, NE 68504, USA.

Examples

1
2
3
4
5
#data(chamberLoggerEx1s)
ds <- chamberLoggerEx1s
ds$H20_Avg[1L] <- NA
ds$CO2_dry <- corrConcDilution(ds); head(ds$CO2_dry)	
ds$CO2_dry <- corrConcDilution(ds, isUpdateOnNonFiniteVapour=FALSE); head(ds$CO2_dry)	

RespChamberProc documentation built on June 23, 2017, 3 p.m.