temperature_from_potential_temperature
- temperature_from_potential_temperature(theta, p)
Computes the temperature from a given potential temperature (
theta
) and pressure (p
).- Parameters
theta (number) – potential temperature (K)
p (number) – pressure (Pa)
- Return type
number or None
The result is the temperature in K units. On error None is returned.