Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing unit type results in some weird results where numbers change, but units don't. #75

Closed
Benjin opened this issue Apr 13, 2024 · 2 comments

Comments

@Benjin
Copy link

Benjin commented Apr 13, 2024

image

  • Wind: units are the same between Hybrid and Imperial, but speed and direction changed.
  • Pressure: Number is all the same, despite the units being different
  • Humidity: Hybrid is different from both Imperial and Metric, despite the units being the same.
  • Visibility: units are the same between Metric and Hybrid, but the distance changed.

Appears that there's some incorrect conversion going on under the covers. Or, if the API is returning these values based on a "units" parameter, it's not a very good API...

@Gabboxl
Copy link
Owner

Gabboxl commented Apr 13, 2024

Hi, this is a known problem from the API... the problem is a delay in updating the data for each unit of measure. The delay usually is <15-30 mins, I know this is not ideal but we can still consider the information up-to-date, though.

@Gabboxl Gabboxl closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
@Benjin
Copy link
Author

Benjin commented Apr 15, 2024

what if you just picked one API flavor to call and did the unit conversions locally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants