earthkit.meteo.thermo.array.ept_from_specific_humidity ====================================================== .. py:function:: earthkit.meteo.thermo.array.ept_from_specific_humidity(t, q, p, method='ifs') Compute the equivalent potential temperature from specific humidity. :param t: Temperature (K) :type t: :class:`number` or :class:`array-like` :param q: Specific humidity (kg/kg) :type q: :class:`number` or :class:`array-like` :param p: Pressure (Pa) :type p: :class:`number` or :class:`array-like` :param method: Specifies the computation method. The possible values are: "ifs", "bolton35", "bolton39. See :func:`ept_from_dewpoint` for details. :type method: :class:`str`, *optional* :returns: Equivalent potential temperature (K) :rtype: :class:`number` or :class:`array-like` The computations are the same as in :func:`ept_from_dewpoint` (the dewpoint is computed from q with :func:`dewpoint_from_specific_humidity`).