saturation_mixing_ratio¶
-
metpy.calc.
saturation_mixing_ratio
(tot_press, temperature)[source]¶ Calculate the saturation mixing ratio of water vapor.
This calculation is given total pressure and the temperature. The implementation uses the formula outlined in [Hobbs1977] pg.73.
- Parameters
tot_press (pint.Quantity) – Total atmospheric pressure
temperature (pint.Quantity) – air temperature
- Returns
pint.Quantity – The saturation mixing ratio, dimensionless