[][src]Function metfor::temperature_from_theta

pub fn temperature_from_theta<P, T>(theta: T, pressure: P) -> Kelvin where
    P: Pressure,
    T: Temperature,
    HectoPascal: From<P>,
    Kelvin: From<T>, 

Given a potential temperature and pressure, calculate the temperature.

Returns: The temperature.