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
hPa decimals #14
Comments
Thanks for pointing this out (and using this service)! I thought I'd fixed this bug, but apparently not! Let me dig into it and see if I can't tease this one out for good. |
Got it! Turns out that I fixed it (nothing fancy, just a python |
Thank you for a fast reply! Great, dig when you have the time, and thanks for your effort! |
Hi, same problem here. There is a solution? |
That's weird- I thought I fixed this one, but clearly not! |
Ok, fixed this one for real this time! The values were rounded, but when they were multiplied by the units for the pressure, Python would sometimes have issues with the floating points, leading to this issue. Sorry about this, and thanks again for bringing it to my attention |
Great point! It should be fixed on the back end with the last API update, but I like this solution too, since this integration does its own processing. Just pushed this commit: 2ead964 |
Problem solved. Thank you very much! |
Thanks for your work; love it!
But how do I round the decimals for hPa using Pirateweather? When using yr.no or Swedish SMHI as provider, there are "normal" decimals...
The text was updated successfully, but these errors were encountered: