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

IATA Code returns wrong location #1001

Open
bjhuot opened this issue Jun 17, 2024 · 3 comments
Open

IATA Code returns wrong location #1001

bjhuot opened this issue Jun 17, 2024 · 3 comments

Comments

@bjhuot
Copy link

bjhuot commented Jun 17, 2024

Command used
curl wttr.in/sdf

Expected output
Weather results for SDF airport in Louisville, KY

Actual output
Weather results for Ghaziabad, Uttar Pradesh, SDF, India [28.6142979,77.3592718]

@jceaser
Copy link

jceaser commented Sep 3, 2024

~ is used for locations, maybe some symbol is needed to prefix an airport code to inform the code of it's type.

@Overtime7403
Copy link

Using the ICAO works (KSDF)

curl wttr.in/KSDF

Location: Louisville International Airport, Strawberry Lane, Highland Park, Louisville, Jefferson County, Kentucky, 40221, United States of America [38.1716962,-85.73540756381095]

@VuiMuich
Copy link

VuiMuich commented Dec 6, 2024

Can confirm, that the ICAO works correct, though the README states that IATA should work, so it should be updated to either promote the IACO codes, or fix how IATA gets accepted correctly.

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

4 participants