earthkit.meteo.thermo.array.wet_bulb_potential_temperature_from_specific_humidity

earthkit.meteo.thermo.array.wet_bulb_potential_temperature_from_specific_humidity(t, q, p, ept_method='ifs', t_method='direct')

Compute the pseudo adiabatic wet bulb potential temperature from specific humidity.

Parameters:
  • t (number or array-like) – Temperature (K)

  • q (number or array-like) – Specific humidity (kg/kg)

  • p (number or array-like) – Pressure (Pa)

  • ept_method (str, optional) – Specifies the computation method for the equivalent potential temperature. The possible values are: “ifs”, “bolton35”, “bolton39”. (See ept_from_dewpoint() for details.)

  • t_method (str, optional) –

    Specifies the method to find the temperature along the moist adiabat defined by the equivalent potential temperature. The possible values are as follows:

Returns:

Wet bulb potential temperature (K)

Return type:

number or array-like

The computations are the same as in wet_bulb_potential_temperature_from_dewpoint() (the dewpoint is computed from q with dewpoint_from_specific_humidity()).