air.density: Air Density

Description Usage Arguments Details Value References Examples

View source: R/meteorological_variables.r

Description

Air density of moist air from air temperature and pressure.

Usage

1
air.density(Tair, pressure, constants = bigleaf.constants())

Arguments

Tair

Air temperature (deg C)

pressure

Atmospheric pressure (kPa)

constants

Kelvin - conversion degC to Kelvin
Rd - gas constant of dry air (J kg-1 K-1)
kPa2Pa - conversion kilopascal (kPa) to pascal (Pa)

Details

Air density (ρ) is calculated as:

ρ = pressure / (Rd * Tair)

Value

ρ

air density (kg m-3)

References

Foken, T, 2008: Micrometeorology. Springer, Berlin, Germany.

Examples

1
2
# air density at 25degC and standard pressure (101.325kPa)
air.density(25,101.325)

lhmet-forks/bigleaf documentation built on Aug. 4, 2020, 12:08 a.m.