Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gw2gc

Convert g_c (μmol CO2/m^2/s/Pa) to g_w (μmol H2O /m^2/s/Pa)


Description

Convert g_c (μmol CO2/m^2/s/Pa) to g_w (μmol H2O /m^2/s/Pa)

Convert g_c (umol CO2/m^2/s/Pa) to g_w (umol H2O /m^2/s/Pa)

Usage

gw2gc(g_w, D_c, D_w, unitless)

gc2gw(g_c, D_c, D_w, unitless)

Arguments

g_w

conductance to water vapor in units (μmol H2O / (m^2 s Pa)) of class units.

D_c

diffusion coefficient for CO2 in air in units of m^2/s of call units

D_w

diffusion coefficient for H2O in air in units of m^2/s of call units

unitless

Logical. Should units be set? The function is faster when FALSE, but input must be in correct units or else results will be incorrect without any warning.

g_c

conductance to CO2 in units (μmol H2O / (m^2 s Pa)) of class units.

Details

Diffusive conductance to CO2 is generally about ~1.6x that of H2O because of the higher molecular weight. To convert, multiply conductance by the ratio of diffusion coefficients:

g_c = g_w D_c / D_w

g_w = g_c D_w / D_c

Value

Value with units μmol / (m^2 s Pa) of class units.

Note

This function will soon be moving to the standalone gunit package.

Examples

D_c <- set_units(1.29e-05, "m^2/s")
D_w <- set_units(2.12e-05, "m^2/s")
g_c <- set_units(3, "umol/m^2/s/Pa")
g_w <- gc2gw(g_c, D_c, D_w, unitless = FALSE)
g_w

gw2gc(g_w, D_c, D_w, unitles = FALSE)

photosynthesis

Tools for Plant Ecophysiology & Modeling

v2.0.0
MIT + file LICENSE
Authors
Joseph Stinziano [aut] (<https://orcid.org/0000-0002-7628-4201>), Cassaundra Roback [aut], Demi Gamble [aut], Bridget Murphy [aut], Patrick Hudson [aut, dtc], Chris Muir [aut, cre] (<https://orcid.org/0000-0003-2555-3878>)
Initial release
2020-09-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.