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

TAF and ?onfail=nearest #33

Open
boozedog opened this issue Dec 30, 2023 · 1 comment
Open

TAF and ?onfail=nearest #33

boozedog opened this issue Dec 30, 2023 · 1 comment

Comments

@boozedog
Copy link

I was hoping that using ?onfail=nearest would return closest airport that reports TAFs. But I think it just returns the closest airport that reports anything including METARs. Is that expected behavior?

@devdupont
Copy link
Collaborator

That is the intended behavior right now. The nearest naively looks for a flag on the station graph. I would be possible to make this check subsequent stations until a TAF is able to be fetched, though it would noticeably increase response times. A valid report is better than nothing?

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