geocat.comp.meteorology._heat_index

Contents

geocat.comp.meteorology._heat_index#

geocat.comp.meteorology._heat_index(temperature, relative_humidity, alternate_coeffs=False)#

Compute the ‘heat index’ as calculated by the National Weather Service.

Internal function for heat_index

Parameters:
  • temperature (numpy.ndarray) – temperature(s) in Fahrenheit

  • relative_humidity (numpy.ndarray, xarray.DataArray, list, float) – 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 (numpy.ndarray) – Calculated heat index. Same shape as temperature

See also

Related GeoCAT Functions: heat_index(), _xheat_index()

Related NCL Functions: heat_index_nws