This project provides tools to extract data from FAA-provided ASOS/AWOS PDFs.
-
Install uv:
curl -Ls https://astral.sh/uv/install.sh | sh
To run the extract_pdfs script defined in pyproject.toml, use:
uv run extract_pdfs --pdf_dir path/to/pdfs/ --output_csv output.csvRefer to pyproject.toml for script details.
- Visit: https://www.faa.gov/air_traffic/weather/asos
- select the state you're interested in on the map
- download as PDF
- select "specific sheets from this view"
- unselect "Map Layer"
- choose "Weather Station Table"
- then download.
- The data in the PDFs appears to be incomplete or malformed in some cases. E.g. Station ID's are truncated like
KCP..for the Wolf Creek Pass station in Colorado. - This has only been tested on Colorado & California data. There may be data permutations in other States or Territories that this doesn't properly handle.
Until the data source improves, the data will need to be manually verified.
Ideally, the FAA would provide this data in a clean format. If not, we could try to set up a webscraper like selenium or cypress to fetch the PDFs & extract the data on a regular interval.