Function metfor::temperature_from_pot_temp [−][src]
pub fn temperature_from_pot_temp<P, T>(theta: T, pressure: P) -> Kelvin where
P: Pressure,
T: Temperature,
HectoPascal: From<P>,
Kelvin: From<T>,
Expand description
Given a potential temperature and pressure, calculate the temperature.
Returns: The temperature.