pyrtlib.utils.rho2mr#

pyrtlib.utils.rho2mr(rho: ndarray, t: ndarray, p: ndarray) ndarray#

Determine water vapor mass mixing ratio (g/kg) given reference pressure (mbar), temperature (t,K), and water vapor density (\(g/m^3\)).

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

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

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

Returns:

H2O Mass Mixing Ratio (g/kg)

Return type:

np.ndarray