Calculation of the potential air temperature.

temp_pot_temp(...)

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

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

Arguments

...

Additional parameters passed to later functions.

t

Temperature in degrees C.

p

Pressure in hPa.

weather_station

Object of class weather_station

height

Height of measurement, either "upper" or "lower".

Value

Potential temperature in K.