Learn R Programming

bigleaf (version 0.8.2)

air.density: Air Density

Description

Air density of moist air from air temperature and pressure.

Usage

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

Value

\(\rho\) - air density (kg m-3)

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 (\(\rho\)) is calculated as:

$$\rho = pressure / (Rd * Tair)$$

References

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

Examples

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

Run the code above in your browser using DataLab