air.density: Air Density

View source: R/meteorological_variables.r

air.densityR Documentation

Air Density

Description

Air density of moist air from air temperature and pressure.

Usage

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

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


bigleaf documentation built on Aug. 22, 2022, 9:09 a.m.