earthkit.meteo.thermo.xarray.ept_from_specific_humidity

earthkit.meteo.thermo.xarray.ept_from_specific_humidity(t, q, p, method='ifs')

Compute the equivalent potential temperature from specific humidity.

Parameters:
Returns:

Equivalent potential temperature (K)

Return type:

xarray.DataArray

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