earthkit.meteo.thermo.wet_bulb_temperature_from_dewpoint¶
- earthkit.meteo.thermo.wet_bulb_temperature_from_dewpoint(t: ArrayLike, td: ArrayLike, p: ArrayLike, ept_method: str = 'ifs', t_method: str = 'bisect') ArrayLike¶
- earthkit.meteo.thermo.wet_bulb_temperature_from_dewpoint(t: xarray.DataArray, td: xarray.DataArray, p: xarray.DataArray, ept_method: str = 'ifs', t_method: str = 'bisect') xarray.DataArray
- earthkit.meteo.thermo.wet_bulb_temperature_from_dewpoint(t: earthkit.data.FieldList, td: earthkit.data.FieldList, p: earthkit.data.FieldList, ept_method: str = 'ifs', t_method: str = 'bisect') earthkit.data.FieldList
Compute the pseudo adiabatic wet bulb temperature from dewpoint.
- Parameters:
t (
numberorarray-like) – Temperature (K)td (
numberorarray-like) – Dewpoint (K)p (
numberorarray-like) – Pressure (Pa)ept_method (
str, optional) – Specifies the computation method for the equivalent potential temperature. The possible values are: “ifs”, “bolton35”, “bolton39”. (Seeept_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:
”bisect”:
temperature_on_moist_adiabat()witht_method= “bisect” is used”newton”:
temperature_on_moist_adiabat()witht_method= “newton” is used
- Returns:
Wet bulb temperature (K)
- Return type:
numberorarray-like
The computation is based on Normand’s rule [Wallace2006] (Chapter 3.5.6):
first the equivalent potential temperature is computed with the given
ept_method(usingept_from_dewpoint()). This defines the moist adiabat.then the wet bulb potential temperature is determined as the temperature at pressure
pon the moist adiabat with the givent_method.
Implementations¶
wet_bulb_temperature_from_dewpoint()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.thermo.array.wet_bulb_temperature_from_dewpoint()for array-likeearthkit.meteo.thermo.xarray.wet_bulb_temperature_from_dewpoint()for xarray.DataArrayearthkit.meteo.thermo.fieldlist.wet_bulb_temperature_from_dewpoint()for FieldList
The function returns an object of the same type as the input arguments.