pyrtlib.utils.rho2rh#

pyrtlib.utils.rho2rh(rho: ndarray, t: ndarray, p: ndarray) Tuple[ndarray, ndarray]#

Convert water vapor density to relative humidity.

Parameters:
  • rho (np.ndarray) – Water vapor density (\(g/m^3\))

  • t (np.ndarray) – Temperature (K)

  • p (np.ndarray) – Pressure (mb).

Returns:

Relative humidity using ratios of gas pressures (%) numpy.ndarray: Relative humidity using WMO definition (%)

Return type:

numpy.ndarray