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

windDir aggregation changed from avg to vecdir #120

Merged
merged 2 commits into from
Mar 4, 2023

Conversation

Jterrettaz
Copy link

Here are my changes.
In summary : define a new aggregation type 'vecdir' for windDir in get_aggregate_type(), and add logic at some places to switch from 'windDir' to 'wind'.
Functionally, this replace windDir.avg to wind.vecdir

@Daveiano
Copy link
Owner

Daveiano commented Mar 2, 2023

thank you very much for your contribution! I had a quick look over the test results and changes you made and things are looking good! Test fails are related to the changed windDir aggregate values - which was predictable

@Daveiano Daveiano linked an issue Mar 2, 2023 that may be closed by this pull request
@Daveiano
Copy link
Owner

Daveiano commented Mar 2, 2023

@Jterrettaz Merging this would bump the WeeWX requirement to >= V4.9.0? This will throw an error with prior versions?

@Jterrettaz
Copy link
Author

yes, >= V4.9.0, or errors with previous versions

@Daveiano Daveiano merged commit 5bb854a into Daveiano:2.x Mar 4, 2023
@Daveiano Daveiano added this to the 3.0.0 milestone Mar 4, 2023
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

Successfully merging this pull request may close these issues.

Wind direction aggregation
2 participants