Method Deck / other

Heat index (US NWS Rothfusz regression)

Computes the heat index (apparent temperature) using the Rothfusz regression as used by the US National Weather Service.

Published for review. The Founder is checking every card himself; anything he strikes comes down the same hour.

Try it

Inputs

Outputs

Steps

  1. Rothfusz regression: HI = -42.379 + 2.04901523*T + 10.14333127*R - 0.22475541*T*R - 0.00683783*T*T - 0.05481717*R*R + 0.00122874*T*T*R + 0.00085282*T*R*R - 0.00000199*T*T*R*R, where T is temperature in F and R is relative humidity in percent.
  2. This card uses the base regression only, valid for approximately T from 80 to 110 F and R from 40 to 100 percent; NWS applies small additional adjustments outside a normal humidity band (very low or very high RH) that this card does not include.
  3. Round to the nearest whole degree.

Constants

None.

Sources

Worked example and test vectors

NameInputsAnswer
worked example{"temp_f":90,"relative_humidity_percent":50}95 degrees F
test vector: hotter and drier{"temp_f":100,"relative_humidity_percent":40}109 degrees F

Published card