beardicus / scrape-nws-alerts

Scraping weather alerts from the US National Weather Service's XML feed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

National Weather Service Alerts

This repo is Git scraping all public alerts from the US National Weather Service, from 2021-12-11 on.

The Atom XML feed of alerts can be found at data/feed.xml. This feed provides summaries of currently active alerts and links to details.

Alert details are scraped to daily directories in data/, using their rather unruly IDs as filenames. The alerts are XML files that use the Common Alerting Protocol. They seem to use a variety of methods of geocoding, including FIPS6 and maybe polygons for certain types of alerts.

Resources

To-Do

  • Improve the scraper to re-scrape updated alerts
  • Work on parsing and auto-publishing a useful public Datasette of this data

About

Scraping weather alerts from the US National Weather Service's XML feed

License:MIT License