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

Wrong unit for weathercloud barometric pressure #7

Closed
biuklija opened this issue Mar 28, 2022 · 1 comment
Closed

Wrong unit for weathercloud barometric pressure #7

biuklija opened this issue Mar 28, 2022 · 1 comment

Comments

@biuklija
Copy link

Barometric pressure is not logged for weathercloud.net because the unit is wrong.
if (station.imperial.pressure != null) request += '&**baromin**=' + (new Number(station.imperial.pressure).**inhgTohPa**() * 10).toFixedNumber(0);
The argument in line 125 should be "bar" instead of "baromin".

@biuklija biuklija changed the title Wrong units for weathercloud barometric pressure Wrong unit for weathercloud barometric pressure Mar 28, 2022
@leoherzog
Copy link
Owner

Ah! Thank you so much! I'll update that now.

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