• serversdown released this 2026-12-03 16:08:41 -05:00 | 0 commits to main since this release

    v0.36.0: Micromate events from the file alone, and three loose ends tied

    Full detail in CHANGELOG.md → v0.36.0.

    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.
    • Measured against Thor's own reports on 2,027 corpus files: sample rate and notes 2,027 / 2,027; record time and pre-trigger 291 / 291 waveforms; event time = filename 2,384 / 2,384.

    MiniMate settings (#48). The legacy settings decode reads by position, not by a "stable anchor" that was really the pre-trigger and stop mode. It never struck: all 70,041 DL2 events were 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. The database volume stays at /app/bridges/captures.

    Fixes #44
    Fixes #45
    Fixes #48

    Deploy

    ⚠ A Thor-only backfill, no schema change. This has not been rehearsed on a prod snapshot.

    1. Back up seismo_relay.db.
    2. Deploy.
    3. In the sfm container, run python scripts/backfill_thor_events.py --dry-run, then the same without --dry-run. TOOL_VERSION 0.36.0 gates the regeneration, so no --force is needed.
    4. ⚠ Do not run backfill_sidecars.py or backfill_event_shape.py. The Series-3 decode did not change. The version bump would make backfill_sidecars.py regenerate every Series-3 event (~8 h) for nothing.

    What changes in Terra-View (no Terra-View change is needed): a Micromate waveform chart's time axis now has 0 at the trigger rather than at the first sample, as MiniMate charts already do.

    Tests

    dev at 0d9eb51: 1,806 passed, 0 failed, 0 skipped.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1

    Downloads