earthkit.meteo.thermo.array.temperature_on_moist_adiabat ======================================================== .. py:function:: earthkit.meteo.thermo.array.temperature_on_moist_adiabat(ept, p, ept_method='ifs', t_method='bisect') Compute the temperature on a moist adiabat (pseudoadiabat) :param ept: Equivalent potential temperature defining the moist adiabat (K) :type ept: :class:`number` or :class:`array-like` :param p: Pressure on the moist adiabat (Pa) :type p: :class:`number` or :class:`array-like` :param ept_method: Specifies the computation method that was used to compute ``ept``. The possible values are: "ifs", "bolton35", "bolton39". (See :func:`ept_from_dewpoint` for details.) :type ept_method: :class:`str`, *optional* :param t_method: Specifies the iteration method along the moist adiabat to find the temperature for the given ``p`` pressure. The possible values are as follows: * "bisect": a bisection method is used as defined in [Stipanuk1973]_ * "newton": Newtons's method is used as defined by Eq (2.6) in [DaviesJones2008]_. For extremely hot and humid conditions (``ept`` > 800 K) depending on ``ept_method`` the computation might not be carried out and nan will be returned. :type t_method: :class:`str`, *optional* :returns: Temperature on the moist adiabat (K). For values where the computation cannot be carried out nan is returned. :rtype: :class:`number` or :class:`array-like`