• serversdown released this 2026-11-16 15:50:19 -05:00 | 0 commits to main since this release

    v0.35.0: 80 of Blastware's 88 report fields from the file, and monitor logs (.MLG)

    Three lines of work ship together. The full detail is in CHANGELOG.md → v0.35.0.

    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.
    • New, from the unit's own records:
      • ZC frequency, displacement and times of peak
      • the sensor check results
      • the Monitor Log line
      • over range (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 .MLG files: the format is measured, each record's CRC is verified, and real files rebuild byte for byte.
    • It keeps each unit's monitoring timeline and answers "was unit X monitoring at T" for shot reports.
    • New: tables mlg_files and mlg_records; routes POST /db/import/mlg_file, GET /db/units/{serial}/timeline, /monitoring_at, /db/mlg_records, /db/mlg_files/{id}; and scripts/import_mlg_dir.py.
    • Nothing flows in until the watcher forwards .MLGs or they are bulk-imported.

    An escaped checksum is the checksum, not data. SFM's live reads no longer carry a stray byte.

    Fixes #58

    Deploy

    ⚠ A backfill, about 8 hours on the NAS, and two new empty tables on first start. There is no migration, and no stored event time moves. This has not been rehearsed on a prod snapshot.

    1. Back up seismo_relay.db.
    2. Deploy. TOOL_VERSION is 0.35.0 and gates the regeneration, so no --force is needed.
    3. In the sfm container: python scripts/backfill_sidecars.py.
    4. Then: python scripts/backfill_event_shape.py --db-path bridges/captures/seismo_relay.db --store-root bridges/captures/waveforms.
    5. Optional, any time after: scripts/import_mlg_dir.py on a robocopy copy of DL2's C:\Blastware 10\Event\autocall home, with --dry-run first.

    What changes in Terra-View (no Terra-View change is needed):

    • Report-less events gain a ZC frequency.
    • The range-1 mic values drop 8×.

    Tests

    dev at c2b8e76: 1,787 passed, 20 skipped, 0 failed (pytest -q on the dev box).

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1

    Downloads