geocat.comp.meteorology._xheat_index

Contents

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 Fahrenheit

  • relative_humidity (xarray.DataArray) – relative humidity as a percentage. Must be the same shape as temperature

  • 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 as temperature

  • 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,