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
|
### Changed
|
||||||
- **A fresh checkout passes the whole test suite on its own**
|
- **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
|
- **Instantel reference and CLAUDE.md:** #48 resolved. The "stable anchor" notes
|
||||||
are retracted in place, and DL2's stop modes are counted.
|
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
|
## v0.35.0 — 2026-11-16
|
||||||
|
|
||||||
**The file-only decode reaches 80 of Blastware's 88 report fields, and SFM
|
**The file-only decode reaches 80 of Blastware's 88 report fields, and SFM
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Ground-up Python replacement for **Blastware**, Instantel's Windows-only software for
|
Ground-up Python replacement for **Blastware**, Instantel's Windows-only software for
|
||||||
managing MiniMate Plus seismographs. Connects over direct RS-232 or cellular modem
|
managing MiniMate Plus seismographs. Connects over direct RS-232 or cellular modem
|
||||||
(Sierra Wireless RV50 / RV55). Current version: **v0.35.0**.
|
(Sierra Wireless RV50 / RV55). Current version: **v0.35.1**.
|
||||||
|
|
||||||
Stack-level context — which repo owns what, and how the three project versions
|
Stack-level context — which repo owns what, and how the three project versions
|
||||||
pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
|
pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
|
||||||
@@ -10,7 +10,7 @@ pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Where things stand (updated 2026-11-16)
|
## Where things stand (updated 2026-12-03)
|
||||||
|
|
||||||
Read this first when picking the project back up.
|
Read this first when picking the project back up.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# seismo-relay `v0.35.0`
|
# seismo-relay `v0.35.1`
|
||||||
|
|
||||||
A ground-up replacement for **Blastware** — Instantel's aging Windows-only
|
A ground-up replacement for **Blastware** — Instantel's aging Windows-only
|
||||||
software for managing seismographs. Supports both the **MiniMate Plus
|
software for managing seismographs. Supports both the **MiniMate Plus
|
||||||
@@ -127,6 +127,14 @@ over direct RS-232 or cellular modem (Sierra Wireless RV50 / RV55).
|
|||||||
>
|
>
|
||||||
> ⚠ The deploy owes a backfill (about 8 hours on the NAS) and creates two
|
> ⚠ The deploy owes a backfill (about 8 hours on the NAS) and creates two
|
||||||
> empty tables. See the changelog's *Migration*.
|
> empty tables. See the changelog's *Migration*.
|
||||||
|
>
|
||||||
|
> **v0.35.1 (2026-12-03)** reads Micromate events from the file alone (#44,
|
||||||
|
> #45): their settings, notes, time and pre-trigger. It also reads a MiniMate's
|
||||||
|
> settings by position (#48), lets a fresh checkout pass the whole test suite,
|
||||||
|
> and takes the `bridges/` bench tools out of the production image.
|
||||||
|
>
|
||||||
|
> ⚠ The deploy owes a Thor-only backfill (`scripts/backfill_thor_events.py`).
|
||||||
|
> Do not run `backfill_sidecars.py` this time. See the changelog's *Migration*.
|
||||||
> See [CHANGELOG.md](CHANGELOG.md) for full version history.
|
> See [CHANGELOG.md](CHANGELOG.md) for full version history.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ SIDECAR_KIND = "sfm.event"
|
|||||||
# bumped without a `pip install` re-run — leading to confusing stale
|
# bumped without a `pip install` re-run — leading to confusing stale
|
||||||
# version stamps in sidecars. Bump this constant and CHANGELOG.md
|
# version stamps in sidecars. Bump this constant and CHANGELOG.md
|
||||||
# together at release time.
|
# together at release time.
|
||||||
TOOL_VERSION = "0.35.0" # file-only decode groups D2, E, F, over range, mic range; gates the backfill regen
|
TOOL_VERSION = "0.35.1" # Thor file settings, notes, time and pretrig_samples (#44, #45); gates the backfill regen
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Best-effort: prefer the installed metadata when it's NEWER than the
|
# Best-effort: prefer the installed metadata when it's NEWER than the
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "seismo-relay"
|
name = "seismo-relay"
|
||||||
version = "0.35.0"
|
version = "0.35.1"
|
||||||
description = "Python client and REST server for MiniMate Plus seismographs"
|
description = "Python client and REST server for MiniMate Plus seismographs"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
Reference in new issue
Block a user