pyrtlib.utils.mr2rho#
- pyrtlib.utils.mr2rho(mr: ndarray, t: ndarray, p: ndarray) ndarray #
Determine water vapor density (\(g/m^3\)) given reference pressure (mbar), temperature (K), and water vapor mass mixing ratio (g/kg)
Equations were provided by Holger Linne’ from Max Planck Institute.
- Parameters:
mr (numpy.ndarray) – Mixing ratio (g/kg)
t (numpy.ndarray) – Temperature profiles (K)
p (numpy.ndarray) – Pressure profiles (mb).
- Returns:
Water Vapor Density (\(g/m^3\))
- Return type: