How it works
This LoT Notebook polls the free USGS past-hour GeoJSON feed every minute, then validates, deduplicates, and fans out the latest earthquake data on Coreflux. It publishes per-quake detail documents, a rolling hourly count, and change topics for new events and major alerts.
Key features
- REST_API polling: Pulls
all_hour.geojsonfrom USGS on a 60-second cadence. - Dedup by event id: Uses
state/last_idsoevents/quakeonly fires for new quakes. - Major quake alerts: Compares magnitude against
config/alert_magnitudewith a default of 5.0. - Per-quake model output: Publishes
QuakeDetaildocuments atquake/<id>/detail. - Hourly report: Builds a collapsed
QuakeReportatreports/summary.
Prerequisites
- Internet egress from Coreflux
- REST_API route support
- No API key required
Setup
- Deploy the
QuakeFeed,QuakePollClock,QuakeFeedGate,QuakeDigest, and report cells. - Leave
feed/enabledat 1 to keep polling, or set it to 0 to pause. - Optionally change
config/alert_magnitudeto tune major-event alerts. - For broader coverage, copy the slot digest actions and raise the feature index.
