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

[bug] select ordering #3

Open
RudiZhang opened this issue Dec 12, 2022 · 3 comments
Open

[bug] select ordering #3

RudiZhang opened this issue Dec 12, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@RudiZhang
Copy link

I just found a very strange bug, Wind is 270/2 but runway selected 24 even 06 is above than 24

"runways": [ {"id": "06", "true_heading": 61}, {"id": "24", "true_heading": 241} ]

No preferred_ was used. but "no_factor_wind": 6, <- It means below 6kt will be assumed as 0 speed and select from above to bottom?

@laxentis
Copy link
Owner

The logic behind no factor wind for now is to assume a wind of 270 then.
I will include a setting in the json file for the assumed wind direction as it may differ worldwide.

@laxentis laxentis self-assigned this Dec 20, 2022
@laxentis laxentis added the bug Something isn't working label Dec 20, 2022
@RudiZhang
Copy link
Author

@laxentis Ah I see, I thought it was top to bottom selection in the wind calm condition or ignoring the wind condition. Since the headings are different for each airport, maybe a priority sort can be added? Convenient single runway direction selection regardless of wind direction? :)

@laxentis
Copy link
Owner

I think the best course of action would be to treat the runway's priority in the order they are configured (preferred runways should be put first in the config file). That would simplify assignment logic and would allow for additional per-runway defined features ( #7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants