docs(changelog): Unreleased — Blastware file-only setup and notes (#44, #45), the XML checker

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-29 17:30:45 -04:00
1 parent 42fe35f3b3
commit 29c8e2b034
1 file changed
+41
+41
View File
@@ -6,7 +6,48 @@ All notable changes to seismo-relay are documented here.
## Unreleased ## Unreleased
### Fixed
- **A Blastware event imported without its ASCII report now carries its
setup and notes (#44, #45).** Until now such an event stored no sample
rate, a record time of "70 s" (the STRT record-type byte, 0x46), a
pre-trigger and sample count read from STRT bytes that are neither, and
blank project / client / operator / location (the reader stopped at the
NUL after each label). All of DL2's 2016–2024 events arrive this way.
- The recording-setup block is found by structure (`1c 08`, the setup
name, NUL), not by the name "Standard Recording Setup", which 37% of
DL2's files do not use.
- Sample rate, pre-trigger and record time come from that block; a
waveform's sample count is the decoded count. A histogram gets a
sample rate only: Blastware reports no record time or pre-trigger for
one.
- The setup name and the four notes are read by position, as the ASCII
parser does: their labels are operator-editable.
- Verified against Blastware's own `_XML.XML` reports for the 70,042 DL2
events that have one (2016–2026): sample rate 70,042/70,042, record
time 6,524/6,524, pre-trigger 6,484/6,484, notes 70,042/70,042, sample
count 6,523/6,524 (one waveform the decoder ends 3 samples short —
separate).
- Events imported with an ASCII report are unchanged: the report still
overlays. Not yet read: the job number (2,997 archive events carry
one). The waveform-time estimate still finds the record time by the
name, pending a measurement. The Micromate half of #44/#45 (SFM's own
downloads, no report) stays with the parity branch.
- ⚠ **Codec change: bump `TOOL_VERSION` at release** and run
`backfill_sidecars.py` then `backfill_event_shape.py` on prod (~2 h on
the NAS) so stored report-less events pick the fields up. No schema
change, no migration.
### Added
- **`scratch/verify_bw_fields_against_xml.py`** checks the fields SFM reads
from a Blastware file alone against the event's `_XML.XML` report — the
first piece of the decode checker. DL2's `Sent/` holds those reports,
every sample included, for 70,042 events back to 2016; its ASCII reports
only go back to 2025.
- **README roadmap:** a bulk event importer, parked.
### Changed ### Changed
- **`CLAUDE.md`:** the 14,338 ASCII-report pairs were said to reach "back
to 2018"; they are all 2025–26 events. Corrected in place.
- **The SFM / SDM tier model in `CLAUDE.md` is marked superseded** by - **The SFM / SDM tier model in `CLAUDE.md` is marked superseded** by
Terra-View's ADR 0003 (`docs/adr/0003-stack-components-and-names.md`). Terra-View's ADR 0003 (`docs/adr/0003-stack-components-and-names.md`).
- SFM is the whole seismograph module, and "SDM" is retired as a name. - SFM is the whole seismograph module, and "SDM" is retired as a name.