Function metfor::equiv_pot_temperature[][src]

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

Calculate equivalent potential temperature.

Equation from [“The Glossary of Meteorology”] (http://glossary.ametsoc.org/wiki/Equivalent_potential_temperature) online where the approximation of ignoring the “total water mixing ratio” is used since most of the time we do not have the necessary information to calculate that.

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

Returns: The equivalent potential temperature.