Function metfor::pressure_and_temperature_at_lcl[][src]

pub fn pressure_and_temperature_at_lcl<T, DP, P>(
    temperature: T,
    dew_point: DP,
    pressure: P
) -> Option<(HectoPascal, Kelvin)> where
    T: Temperature,
    DP: Temperature,
    Celsius: From<T> + From<DP>,
    P: Pressure,
    HectoPascal: From<P>, 
Expand description

Calculate the temperature and pressure at the lifting condensation level (LCL).

Eqs 5.17 and 5.18 from “Weather Analysis” by Dušan Dujrić

  • temperature - the initial temperature.
  • dew_point - the initial dew point.
  • pressure - the initial pressure of the parcel.

Returns: The pressure and the temperature at the LCL.