[−][src]Function metfor::theta
pub fn theta<P, T>(pressure: P, temperature: T) -> Kelvin where
P: Pressure,
T: Temperature,
HectoPascal: From<P>,
Kelvin: From<T>,
Calculate potential temperature assuming a 1000 hPa reference level.
Returns: Potential temperature.