earthkit.meteo.thermo.fieldlist.temperature_on_moist_adiabat

earthkit.meteo.thermo.fieldlist.temperature_on_moist_adiabat(ept, p=None, ept_method='ifs', t_method='bisect')

Compute the temperature on a moist adiabat (pseudoadiabat).

Parameters:
  • ept (FieldList|Field) – Equivalent potential temperature defining the moist adiabat (K)

  • p (FieldList|Field|Iterable[float]|float|None) – Pressure on the moist adiabat (Pa). If None, inferred from the field metadata of ept. Otherwise, if ept is a FieldList p must be a FieldList or an array-like of the same length as ept. If ept is a Field, p must be a single Field or a float.

  • ept_method (str, optional) – Specifies the computation method that was used to compute ept. The possible values are: “ifs”, “bolton35”, “bolton39”. (See ept_from_dewpoint() for details.)

  • t_method (str, optional) –

    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.

Returns:

Temperature on the moist adiabat (K). For values where the computation cannot be carried out nan is returned. The result has the same type as the input ept (FieldList or Field).

Return type:

FieldList|Field