Function metfor::theta_e_kelvin [−][src]
pub fn theta_e_kelvin(
temperature_c: f64,
dew_point_c: f64,
pressure_hpa: f64
) -> Result<f64>
Calculate equivalent potential temperature.
Eq 5.23 from "Weather Analysis" by Dušan Dujrić
temperature_c
- the initial temperature in Celsius.dew_point_c
- the initial dew point in Celsius.pressure_hpa
- the initial pressure of the parcel in hPa.
Returns: The equivalent potential temperature in Kelvin.