You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I'm new to GitHub so am not sure if this is the best way to raise a bug report. In my understanding wind speed from Weatherbit.IO comes as m/s, which to convert to km/h you need to multiply by 3.6, similarly to convert from m/s to mph you need to multiply by 2.24, so in WeatherPiTFT.py the following line, line #731
wind_speed = wind_speed * 3.6 if METRIC else wind_speed
perhaps should be something like
wind_speed = wind_speed * 3.6 if METRIC else wind_speed * 2.2
BTW I love your work on this project,
g0ods.
The text was updated successfully, but these errors were encountered:
Hi there,
I'm new to GitHub so am not sure if this is the best way to raise a bug report. In my understanding wind speed from Weatherbit.IO comes as m/s, which to convert to km/h you need to multiply by 3.6, similarly to convert from m/s to mph you need to multiply by 2.24, so in WeatherPiTFT.py the following line, line #731
wind_speed = wind_speed * 3.6 if METRIC else wind_speed
perhaps should be something like
wind_speed = wind_speed * 3.6 if METRIC else wind_speed * 2.2
BTW I love your work on this project,
g0ods.
The text was updated successfully, but these errors were encountered: