chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.82k stars 1.11k forks source link

IATA Code returns wrong location #1001

Open bjhuot opened 5 months ago

bjhuot commented 5 months ago

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 commented 3 months ago

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

Overtime7403 commented 1 month ago

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]