Calculate water vapor (partial) pressure.
Given total pressure and water vapor mixing_ratio, calculates the
partial pressure of water vapor.
pressure (pint.Quantity) – Total atmospheric pressure
mixing_ratio (pint.Quantity) – Dimensionless mass mixing ratio
pint.Quantity – Ambient water vapor (partial) pressure in the same units as pressure
This function is a straightforward implementation of the equation given in many places,
such as [Hobbs1977] pg.71:
Changed in version 1.0: Renamed mixing parameter to mixing_ratio
Dewpoint and Mixing Ratio¶