Function metfor::theta_e_saturated_kelvin [] [src]

pub fn theta_e_saturated_kelvin(
    pressure_hpa: f64,
    temperature_c: f64
) -> Result<f64>

Calculate the equivalent potential temperature assuming a saturated parcel.

Eq 5.23 from "Weather Analysis" by Dušan Dujrić

  • temperature_c - the initial temperature in Celsius.
  • pressure_hpa - the initial pressure of the parcel in hPa.

Returns: The saturated equivalent potential temperature in Kelvin.