konrad.utils.humidity_profile_rcemip

konrad.utils.humidity_profile_rcemip(z, q0=18.65, qt=1e-11, zt=15000, zq1=4000, zq2=7500)[source]

Compute the water vapor volumetric mixing ratio as function of height.

\[\mathrm{H_2O} = q_0 \exp\left(-\frac{z}{z_{q1}}\right) \exp\left[\left(-\frac{z}{z_{q2}}\right)^2\right]\]
Parameters
  • z (ndarray) – Height [m].

  • q0 (float) – Specific humidity at the surface [g/kg].

  • qt (float) – Specific humidity in the stratosphere [g/kg].

  • zt (float) – Troposphere height [m].

  • zq1 (float) – Shape parameters.

  • zq2 (float) – Shape parameters.

Returns

ndarray – Absolute humidity [VMR].

Reference:

Wing et al., 2017, Radiative-Convective Equilibrium Model Intercomparison Project