earthkit.meteo.thermo.array.saturation_specific_humidity ======================================================== .. py:function:: earthkit.meteo.thermo.array.saturation_specific_humidity(t, p, phase='mixed') Compute the saturation specific humidity from temperature with respect to a phase. :param t: Temperature (K) :type t: :class:`array-like` :param p: Pressure (Pa) :type p: :class:`array-like` :param phase: Define the phase with respect to the :func:`saturation_vapour_pressure` is computed. It is either “water”, “ice” or “mixed”. :type phase: :class:`str`, *optional* :returns: Saturation specific humidity (kg/kg) :rtype: :class:`array-like` Equivalent to the following code: .. code-block:: python e = saturation_vapour_pressure(t, phase=phase) return specific_humidity_from_vapour_pressure(e, p)