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

weather station codes #10

Open
mergingseas opened this issue Aug 15, 2021 · 2 comments
Open

weather station codes #10

mergingseas opened this issue Aug 15, 2021 · 2 comments

Comments

@mergingseas
Copy link

Where can we find a list of weather station codes and which airport they correspond to?

@fdesjardins
Copy link
Contributor

fdesjardins commented Sep 13, 2021

Hi there @mergingseas. You might want to explore the weather.gov API docs: https://www.weather.gov/documentation/services-web-api#/default/get_products_types__typeId__locations

It looks like you can get the FD1 (6-hour winds aloft forecasts) locations here: https://api.weather.gov/products/types/FD1/locations

These appear to be "NWS Weather Forecast Office Identifiers" , which correspond to CONUS regions, but I'm not sure exactly how they're determined.

For the actual data content/rows, these names seem to be stations / forecast locations that report this specific data. See the "Winds/Temps Data" here: https://aviationweather.gov/windtemp

I believe this is a list of all of those locations for winds/temps: https://aviationweather.gov/cgi-bin/json/FBWindsJSON.php

For finding the corresponding airports, I believe the easiest way is to use the 3-letter identifier of the station / forecast location and find the airport with the same identifier. I'm not sure if these exactly match up to ICAO identifiers (with the first letter dropped).

You can find the full listing of airports from the 5010 listing, which should also have 3-letter identifiers: https://www.faa.gov/airports/airport_safety/airportdata_5010/

Otherwise, you might have to match things up using the lat/long information.

Hope this helps, let us know if you find any better information or a better way to do this.

There's some additional info here that might be helpful too: https://www.cfinotebook.net/notebook/weather-and-atmosphere/winds-and-temperatures-aloft

@fdesjardins
Copy link
Contributor

@mergingseas Also, I forgot to mention, aviationweather.gov has another listing of stations info in their ADDS Text Data Server: https://www.aviationweather.gov/dataserver/example?datatype=station

You can get the full list in XML here: https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml

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