Calculation of pressure as a function of height.

pres_p(...)

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

# S3 method for numeric
pres_p(elev, t, ...)

Arguments

...

Additional parameters passed to later functions.

weather_station

Object of class weather_station

height

lower or upper

elev

Elevation above sea level in m.

t

Temperature in degrees C.

Value

Pressure in hPa.