pyrtlib.rt_equation.RTEquation.vapor#
- static RTEquation.vapor(t: ndarray, rh: ndarray, ice: Optional[bool] = False) Tuple[ndarray, ndarray] #
Compute saturation vapor pressure (es,in mb) over water or ice at temperature t (kelvins), using the Goff-Gratch formulation (List,1963).
- Parameters:
t (numpy.ndarray) – Temperature (K).
rh (numpy.ndarray) – Relative Humidity (fraction).
ice (Optional[bool], optional) – Switch to calculate saturation vapor pressure over water only (True) or water and ice, depending on T. Defaults to False.
- Returns:
e (np.ndarray): Vapor pressure (mb)
rho (np.ndarray): Vapor density (\(g/m^3\))
- Return type:
Tuple[numpy.ndarray, numpy.ndarray]
Examples using pyrtlib.rt_equation.RTEquation.vapor
#
Water Vapour Absorption Profiles
Water Vapour Absorption Profiles