chore(release): v0.35.0 — 80 of 88 report fields from the file, and monitor logs (.MLG)
CHANGELOG: Unreleased -> v0.35.0 (2026-11-16), with the release's theme and its Migration. pyproject, README, CLAUDE.md -> 0.35.0. TOOL_VERSION -> 0.35.0: the codec changed (groups D2, E, F, over range, the mic's range), which gates the backfill's 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
ed4f3d2213
commit
c2b8e76774
5 files changed
+109
-13
No files matched your search
+76
-1
@@ -4,7 +4,42 @@ All notable changes to seismo-relay are documented here.
|
||||
|
||||
---
|
||||
|
||||
## Unreleased
|
||||
## v0.35.0 — 2026-11-16
|
||||
|
||||
**The file-only decode reaches 80 of Blastware's 88 report fields, and SFM
|
||||
reads monitor logs (.MLG).**
|
||||
|
||||
Three lines of work ship together.
|
||||
|
||||
**The file-only decode, groups D (part 2), E and F.** 80 of Blastware's 88
|
||||
report fields now match on every DL2 event, 47 at v0.34.0. The last 16 values,
|
||||
in two causes, are left as they are by decision (Brian, 2026-11-11).
|
||||
- **New, from the unit's own records in the file:**
|
||||
- ZC frequency, peak displacement and times of peak
|
||||
- the sensor check results
|
||||
- the Monitor Log line
|
||||
- over range (Blastware's `OORANGE`)
|
||||
- **Fixed:**
|
||||
- a range-1 mic read 8× high (7 DL2 events)
|
||||
- the mic dB offset
|
||||
- a unit without a mic lost its sensor-check traces
|
||||
|
||||
**Monitor logs (.MLG).** SFM reads Blastware's monitor logs and keeps each
|
||||
unit's monitoring timeline: sessions, gaps and what each means, and call-ins,
|
||||
including calls that left no file. It answers "was unit X monitoring at T",
|
||||
which is what a shot report needs for a unit that did not trigger. Nothing flows
|
||||
in until the watcher forwards `.MLG`s or they are bulk-imported.
|
||||
|
||||
**An escaped checksum is the checksum, not data (#58).** SFM's live reads no
|
||||
longer carry a stray byte, which had corrupted the battery and memory status and
|
||||
the call-home read.
|
||||
|
||||
Prod still overlays a paired ASCII report onto the decode. Retiring that overlay
|
||||
is the plan's step 3 and is not part of this release.
|
||||
|
||||
⚠ **This release owes a backfill, about 8 hours on the NAS, and creates two
|
||||
empty tables on first start.** There is no migration, and no stored event time
|
||||
moves. See *Migration*.
|
||||
|
||||
### Added
|
||||
- **ZC frequency, peak displacement and times of peak come from the unit's own
|
||||
@@ -306,6 +341,46 @@ All notable changes to seismo-relay are documented here.
|
||||
- The old D.4.1–D.4.3 (a 308-byte header, a CRC at each record's start) are
|
||||
kept, marked retracted.
|
||||
|
||||
### Migration
|
||||
|
||||
⚠ **A backfill, no schema migration.** Not rehearsed on a prod snapshot.
|
||||
|
||||
**Before you start:**
|
||||
- `TOOL_VERSION` is bumped to **0.35.0**, which gates the regeneration, so no
|
||||
`--force` is needed.
|
||||
- **Back up `seismo_relay.db` first.**
|
||||
|
||||
**Then:**
|
||||
1. **Deploy.** On first start SFM creates `mlg_files` and `mlg_records`, both
|
||||
empty. No other table changes, and no event row or id moves.
|
||||
2. **In the `sfm` container, run `python scripts/backfill_sidecars.py`.** It
|
||||
re-decodes every event file. ⚠ **Plan about 8 hours**: v0.34.0's run took
|
||||
13:13 → 21:16 on 2026-11-05.
|
||||
- **Report-less events gain a ZC frequency** in the existing `*_zc_freq` /
|
||||
`*_zc_above_range` columns. Terra-View shows a frequency where it showed
|
||||
"—".
|
||||
- **The range-1 mic events' `mic_ppv` and `.h5` mic samples drop 8×** (7
|
||||
in DL2; e.g. K557J1XQ.GF0W reads 79.4 dB(L), not 97.5). Report-paired
|
||||
events keep the report's value.
|
||||
- **A unit without a mic gets its geophone sensor-check traces** in its
|
||||
`.h5` (BE16352's 8 DL2 events).
|
||||
- **On the decoded event only, not stored in the DB or `.h5` yet:** the
|
||||
sensor-check results, the Monitor Log line, over range, displacement and
|
||||
times of peak.
|
||||
- No stored event time moves.
|
||||
3. **Run `python scripts/backfill_event_shape.py --db-path
|
||||
bridges/captures/seismo_relay.db --store-root bridges/captures/waveforms`.**
|
||||
It recomputes the shape and offset metrics.
|
||||
4. **Optional, any time after: load DL2's `.MLG`s.**
|
||||
- Copy `C:\Blastware 10\Event\autocall home` with robocopy, not a zip: a
|
||||
Windows zip shifts summer file dates by an hour.
|
||||
- Run `python scripts/import_mlg_dir.py <dir> --db-path ... --store-root
|
||||
...`, with `--dry-run` first.
|
||||
- On the dev box, a 1,273-file sample loaded in 13 s with 0 errors.
|
||||
|
||||
**Terra-View** needs no change: it reads rows by id. ZC frequencies appear,
|
||||
and the range-1 mic values drop.
|
||||
|
||||
## v0.34.0 — 2026-11-04
|
||||
|
||||
**SFM reaches Series-4 parity, and reads most of Blastware's report from the
|
||||
|
||||
Reference in new issue
Block a user