Function metfor::temperature_c_from_theta
[−]
[src]
pub fn temperature_c_from_theta(
theta_kelvin: f64,
pressure_hpa: f64
) -> Result<f64>
Given a potential temperature and pressure, calculate the temperature of a parcel.
theta_kelvin
- The potential temperature in Kelvin.pressure_hpa
- The pressure of the parcel in hPa
Returns: The temperature in