Calculation of the air density.

pres_air_density(...)

# S3 method for weather_station
pres_air_density(weather_station, height = "lower", ...)

# S3 method for numeric
pres_air_density(p, t, ...)

Arguments

...

Additional parameters passed to later functions.

weather_station

Object of class weather_station

height

"lower" or "upper"

p

Pressure in hPa.

t

Temperature in degrees C.

Value

Air density in kg/m^3.