~kota/metweather

60e9eebb0059f8f1e711715ad96fde935eba5003 — Dakota Walsh 4 months ago 54db500
fix typo
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/observation.go
M cmd/observation.go => cmd/observation.go +1 -1
@@ 61,7 61,7 @@ func observationThreeHour(client *metservice.Client, ctx context.Context, locati
// higher than the measured air temp. For values between 10-14°C a pragmatic
// linear roll-off of the wind chill is used. So 12°C at 5km/h wind has a
// windChill of 12°C.
// NOTE: The windChill formula listen on the Metservice website is incorrect.
// NOTE: The windChill formula listed on the Metservice website is incorrect.
func feelsLike(temp int, humidity int, speed int) float64 {
	// return whichever is higher of apparentTemp and temp
	if temp >= 14 {