Projects 2026

Mount Rainier swarm catalog

A deep-learning earthquake catalog of the 2025 Mount Rainier swarm

On 8 July 2025, the largest earthquake swarm ever recorded at Mount Rainier began beneath the summit. Over about seven weeks it produced thousands of small earthquakes. None were felt, and there were no signs of an eruption, but swarms at a volcano are watched closely because they can reflect moving magma or fluids.

I built an independent, fully automatic earthquake catalog of the whole swarm, 8 July to 25 August 2025, from public seismic data, and compared it with the Pacific Northwest Seismic Network’s (PNSN) analyst-reviewed catalog.

Why a better catalog matters

An earthquake catalog lists each event’s time, location, depth, and magnitude. It’s how scientists tell whether a swarm is growing, fading, or moving. Small earthquakes vastly outnumber large ones, so a catalog that reaches smaller magnitudes shows the swarm in much more detail. PNSN’s catalog is high quality, but analysts can’t review every tiny event during a vigorous swarm.

How it works

The pipeline has two stages and no human in the loop.

1. Deep-learning catalog. A neural network (PhaseNet, with weights trained on volcanic earthquakes) reads continuous data from 31 stations and marks when P and S waves arrive. The pipeline groups those arrivals into events, locates each one, and computes its magnitude. I calibrated station corrections on 8 July only and checked accuracy on the days after.

2. Template matching on the GPU. Earthquakes in a swarm come from nearly the same place, so their waveforms look nearly identical. Each stage-1 event becomes a template, and a matched filter I wrote in PyTorch slides thousands of templates across the data on the GPU, flagging anything with the same shape. This finds earthquakes far too small for the neural network to pick.

The whole swarm ran in a single pass, one day at a time, as a real-time monitor would: each day used only the templates available by then, and its raw data were deleted afterward. It took about 6 hours on one workstation and never held more than 2 GB of raw data.

Results

PNSN catalog Deep-learning catalog With template matching
Events, 8 Jul – 25 Aug 1,397 3,932 (2.8×) 19,113 (13.7×)
Completeness magnitude 0.55 0.25 −0.45
PNSN events also found 97.2% 98.8%

Daily event counts from 8 July to 25 August 2025 on a log scale. Template matching stays about ten times above the deep-learning catalog, which stays above PNSN’s catalog throughout.

Events per day through the swarm. The gap widens in August, when PNSN's catalog drops to 0–4 events a day.

  • On held-out days, locations agree with PNSN’s to within 0.17 km, with a magnitude scatter of 0.14.
  • The advantage grows as the swarm fades: in August the deep-learning catalog has 5.5× as many events as PNSN.
  • Template matching finds 34 earthquakes before the swarm’s reported 08:29 UTC start, beginning about 5.5 hours earlier. PNSN’s catalog has 2. The swarm seems to have started small hours before it became visible in the routine catalog.

Map of epicentres clustered around the summit and an east–west depth section showing a tight column of earthquakes beneath it.

The earthquakes form a compact column beneath the summit, matching PNSN's locations.

Checking that the new earthquakes are real

Finding more events only matters if they’re real, so I built in controls:

  • Scrambled timing. Shifting each station’s arrivals by a random offset and rerunning the catalog produced no false events in five runs.
  • Time-reversed templates. Running the matched filter with reversed templates, which have the same frequency content but can’t match a real earthquake, gave about 0.1% false detections.
  • Blind review. I labelled 87 randomly drawn waveform panels without knowing what each was, including hidden real earthquakes and empty windows as controls. I caught every control correctly, and 70% of the new deep-learning detections were clearly earthquakes.

Most template-matching detections are too small to confirm by eye, so their count rests on the time-reversed control rather than visual review.

Cumulative event counts before the reported onset, and a pre-swarm detection’s waveforms overlaid on its template across eight channels.

Left: events before the reported onset. Right: a magnitude −0.5 pre-swarm earthquake (green) closely matches its template (gray).

Built with

Python, PyTorch, SeisBench, and PyOcto, using public data from EarthScope and the USGS.