geocat.comp.meteorology._nws_eqn
geocat.comp.meteorology._nws_eqn#
- geocat.comp.meteorology._nws_eqn(coeffs, temp, rel_hum)#
Helper function to compute the heat index.
Internal function for heat_index
- Parameters
coeffs (
numpy.ndarray) – coefficients to calculate heat indextemp (
numpy.ndarray,xarray.DataArray,list,float) – temperaturerel_hum (
numpy.ndarray,xarray.DataArray,list,float) – relative humidity as a percentage. Must be the same shape astemperature
- Returns
heatindex (
numpy.ndarray,xarray.DataArray,list,float) – Intermediate calculated heat index. Same shape astemperature