View source: R/meteorological_variables.r
air.density | R Documentation |
Air density of moist air from air temperature and pressure.
air.density(Tair, pressure, constants = bigleaf.constants())
Tair |
Air temperature (deg C) |
pressure |
Atmospheric pressure (kPa) |
constants |
Kelvin - conversion degC to Kelvin |
Air density (ρ) is calculated as:
ρ = pressure / (Rd * Tair)
ρ - air density (kg m-3)
Foken, T, 2008: Micrometeorology. Springer, Berlin, Germany.
# air density at 25degC and standard pressure (101.325kPa) air.density(25,101.325)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.