geocat.comp.meteorology._xheat_index#
- geocat.comp.meteorology._xheat_index(temperature, relative_humidity, alternate_coeffs=False)#
Compute the ‘heat index’ as calculated by the National Weather Service.
Internal function for heat_index for dask
- Parameters:
temperature (
xarray.DataArray
) – temperature(s) in Fahrenheitrelative_humidity (
xarray.DataArray
) – relative humidity as a percentage. Must be the same shape astemperature
alternate_coeffs (
bool
, optional) – flag to use alternate set of coefficients appropriate for temperatures from 70F to 115F and humidities between 0% and 80%
- Returns:
heatindex (
xarray.DataArray
) – Calculated heat index. Same shape astemperature
eqtype (
int
) – version of equations used, for xarray attrs output
See also
Related GeoCAT Functions:
heat_index()
_heat_index()
Related NCL Functions: heat_index_nws,