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

wrong IATA airport code location #952

Open
ler762 opened this issue Jan 14, 2024 · 1 comment
Open

wrong IATA airport code location #952

ler762 opened this issue Jan 14, 2024 · 1 comment

Comments

@ler762
Copy link

ler762 commented Jan 14, 2024

Use 3-letter airport codes in order to get the weather information at a certain airport:
$ curl wttr.in/muc # Weather for IATA: muc, Munich International Airport, Germany
$ curl wttr.in/ham # Weather for IATA: ham, Hamburg Airport, Germany

Which doesn't work for Ronald Reagan Washington National Airport ( IATA: DCA, ICAO: KDCA, FAA LID: DCA ), referred to colloquially as National Airport, Reagan, Reagan National, or simply DCA, is an international airport in Arlington County, Virginia, across the Potomac River from Washington, D.C.

$ curl wttr.in/dca
Weather report: dca
  <.. snip ..>
Location: DCA, 1620, South Disneyland Drive, Anaheim Resort District, Anaheim, Orange County, California, 92802, United States of America [33.80639835,-117.919951333359]

but the 4-letter ICAO airport code does work:

$ curl wttr.in/kdca
Weather report: kdca
  <.. snip ..>
Location: Ronald Reagan Washington National Airport, Thomas Avenue, Fort Barnard Heights, Arlington, Arlington County, Virginia, 22202, United States of America [38.8512154,-77.0396930556152]

@ClariNerd617
Copy link

ClariNerd617 commented Feb 27, 2024

I have also been having this issue, where ASH returns some random city in Australia instead of Boire Field, but using the ICAO code KASH gets me some random place in Turkey.

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