chore(release): v0.35.1 — Micromate events from the file alone, and three loose ends tied
CHANGELOG: Unreleased -> v0.35.1 (2026-12-03), with its theme and a Migration: a Thor-only backfill (scripts/backfill_thor_events.py); do NOT run backfill_sidecars.py (the Series-3 decode did not change). pyproject, README, CLAUDE.md -> 0.35.1. TOOL_VERSION -> 0.35.1: the Thor codec changed (#44, #45), which gates backfill_thor_events' regeneration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
This commit is contained in:
1 parent
77fbeb5fe3
commit
a818f6a291
5 files changed
+68
-6
No files matched your search
+55
-1
@@ -4,7 +4,26 @@ All notable changes to seismo-relay are documented here.
|
||||
|
||||
---
|
||||
|
||||
## Unreleased
|
||||
## v0.35.1 — 2026-12-03
|
||||
|
||||
**Micromate events read from the file alone, and three loose ends tied.**
|
||||
|
||||
- **Micromate files (#44, #45).** SFM reads a Thor file's own settings, notes
|
||||
and event time.
|
||||
- Its own Micromate downloads no longer store a sample rate, pre-trigger and
|
||||
record time of 0, blank notes, or a 1970 date.
|
||||
- Every Micromate `.h5` now carries its pre-trigger. It had been 0, report or
|
||||
not.
|
||||
- **MiniMate settings (#48).** The legacy settings decode reads by position,
|
||||
not by a "stable anchor" that was really two settings. It never struck: every
|
||||
DL2 event was recorded in Fixed stop mode.
|
||||
- **Housekeeping.**
|
||||
- A fresh checkout passes the whole test suite on its own.
|
||||
- The `bridges/` bench tools leave the production image.
|
||||
|
||||
⚠ **This release owes a Thor-only backfill (`scripts/backfill_thor_events.py`)
|
||||
and no schema change.** Series-3 data is unchanged, so do **not** run
|
||||
`backfill_sidecars.py`. See *Migration*.
|
||||
|
||||
### Changed
|
||||
- **A fresh checkout passes the whole test suite on its own**
|
||||
@@ -125,6 +144,41 @@ All notable changes to seismo-relay are documented here.
|
||||
- **Instantel reference and CLAUDE.md:** #48 resolved. The "stable anchor" notes
|
||||
are retracted in place, and DL2's stop modes are counted.
|
||||
|
||||
### Migration
|
||||
|
||||
⚠ **A Thor-only backfill, no schema migration.** Not rehearsed on a prod
|
||||
snapshot.
|
||||
|
||||
**Before you start:**
|
||||
- `TOOL_VERSION` is bumped to **0.35.1**, which gates the Thor regeneration, so
|
||||
no `--force` is needed.
|
||||
- **Back up `seismo_relay.db` first.**
|
||||
|
||||
**Then:**
|
||||
1. **Deploy.** No table changes.
|
||||
- The image no longer holds the `bridges/` code.
|
||||
- The database volume is mounted at `/app/bridges/captures` as before. SFM
|
||||
and the scripts find it there by default.
|
||||
2. **In the `sfm` container, run `python scripts/backfill_thor_events.py
|
||||
--dry-run`**, then the same without `--dry-run`.
|
||||
- The dry run shows how many Thor events will be refreshed.
|
||||
- The real run rewrites each Thor event's sidecar and `.h5`. Each `.h5`
|
||||
gains its pre-trigger in samples (it was 0). Report-paired events take it
|
||||
from the report's value, rounded to 0.01 s.
|
||||
- Their samples, peaks and times do not change.
|
||||
3. ⚠ **Do not run `backfill_sidecars.py` or `backfill_event_shape.py`.**
|
||||
- The Series-3 decode did not change.
|
||||
- The `TOOL_VERSION` bump would make `backfill_sidecars.py` regenerate every
|
||||
Series-3 event (about 8 hours) for nothing.
|
||||
- The Thor samples, which the shape metrics come from, are unchanged.
|
||||
|
||||
**Terra-View** needs no change. One thing it shows moves: a Micromate
|
||||
waveform chart's time axis.
|
||||
- SFM's plot data starts the axis at minus the pre-trigger
|
||||
(`event_hdf5.plot_json_from_hdf5`, `t0_ms = -pretrig_samples × dt`).
|
||||
- With the stored 0, time 0 was the first sample. After the backfill, time 0 is
|
||||
the trigger, as on MiniMate charts.
|
||||
|
||||
## v0.35.0 — 2026-11-16
|
||||
|
||||
**The file-only decode reaches 80 of Blastware's 88 report fields, and SFM
|
||||
|
||||
Reference in new issue
Block a user