Function metfor::pressure_hpa_at_lcl[][src]

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

Approximate pressure of the Lifting Condensation Level (LCL).

Eq 5.18 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 pressure at the LCL in hPa.