Earthquakes worldwide
Loading...
Quakes
| Mag | Place | Time (UTC) | Depth | Status |
|---|
Click a row to find it on the map; the place links to the USGS event page.
By magnitude
Pipeline status
Loading- Last run-
- Last success-
- Sources downloaded-
- Revised in the last 24 h-
- History writes-
- Duration-
status.json, written by run.py
All workflow runs
How this page is built
One pipeline file. No server, no database to run, no API key.
GitHub Actions runs this agentl pipeline every 15 minutes. It writes two JSON files, and this static page reads them. Below is the exact pipeline.yaml that produced the map above.
- 01Fetch
http.getwithif_changed - 02ParseGeoJSON features to rows
- 03CheckRanges, unique ids, freshness
- 04StoreChangeset on
id, 30 days - 05PublishJSON + run status to this page
# Loading pipeline.yaml...
- 1Only download when the feed changes
if_changedremembers theLast-Modifiedof the last good run. If the hourly feed is the same, the run stops with outcomeno_changeand nothing is rewritten. The 7-day feed fills a fresh history. - 2Checks before anything is written
Latitude and longitude in range, magnitude between -2 and 10, one row per event id, data less than 6 hours old.
severityper rule: an impossible row is rejected alone, a quiet feed only warns. - 3Updates when USGS revises
Automatic solutions are revised for days: new magnitudes, new locations, status
automatictoreviewed.mode: changesetonidcounts them as updated rows, shown as "Revised by USGS" above. - 4A daily digest of odd rows
Row rules flag events with no magnitude or an unusual depth without dropping them. With
identity: [id], each run emitscheck.digest: new, ongoing and resolved findings for the day, or "all clear". - 5The run status is data too
run.pycallsagentl.run()with an event listener and turns the result intostatus.json: the panel above, including a failed run.
Build your own in an afternoon.
agentl is an open-source YAML ETL library for Python: connectors, checks, incremental runs and, when you need judgement, LLM agent steps. MIT licensed.
$ pip install agentl-etlRun this pipeline yourself
$ git clone https://github.com/arimayuji/agentl-examples && cd agentl-examples/quakes
$ pip install agentl-etl
$ python run.py && python -m http.server -d site 8000