column_relative_humidity

typhon.physics.column_relative_humidity(q, p, t, axis=0)[source]

Convert specific humidity, pressure and temperature into column relative humidity.

\[\mathrm{CRH} = \frac{IVW}{IVW_{saturated}}\]

The integrated water vapour (IVW) is caluculated using ty.physics.integrate_water_vapor(vmr, p). vmr is calulated via ty.physics.specific_humidity2vmr(q). To calculate the saturated intergrated water vapour (IVWS) the saturated mixing (qs) ratio is needed which is calculated using ty.physics.specific_humidity(es,p). Doing that the saturated water vapour pressure (es) needs to be determined via ty.physics.e_eq_mixed_mk(t).

Parameters:
  • q (float or ndarray) – Specific humidity,

  • p (float or ndarray) – Pressure [Pa],

  • t (float or ndarray) – Temperature [K].

Returns:

Column relative humidity.

Return type:

float or ndarray