earthkit.meteo.thermo.array.ept_from_specific_humidity
- earthkit.meteo.thermo.array.ept_from_specific_humidity(t, q, p, method='ifs')
Compute the equivalent potential temperature from specific humidity.
- Parameters:
t (
numberorarray-like) – Temperature (K)q (
numberorarray-like) – Specific humidity (kg/kg)p (
numberorarray-like) – Pressure (Pa)method (
str, optional) – Specifies the computation method. The possible values are: “ifs”, “bolton35”, “bolton39. Seeept_from_dewpoint()for details.
- Returns:
Equivalent potential temperature (K)
- Return type:
numberorarray-like
The computations are the same as in
ept_from_dewpoint()(the dewpoint is computed from q withdewpoint_from_specific_humidity()).