docs(changelog): Unreleased -- histograms go to the histogram codec

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-11-03 11:32:57 -05:00
1 parent f768ec42f3
commit dd9f6dde7a
1 file changed
+32
+32
View File
@@ -34,6 +34,38 @@ All notable changes to seismo-relay are documented here.
- ⚠ **Codec change: bump `TOOL_VERSION` at the next release.** The backfill
(`backfill_sidecars.py` then `backfill_event_shape.py`) rewrites stored
Sensitive events' peaks and `.h5` files. No schema change.
- **Histograms go to the histogram codec, and a loud interval no longer hides
a short one.** These were the histograms the decode checker found decoding
wrongly.
- **The codec now follows the record type.** The file decoder used to try the
waveform codec first, whatever `STRT[18]` said. That codec accepted BE9440,
BE9557 and BE17354's 2018 5 s histograms and returned about 5× too many
"samples" (K440HDXX.XH0H: 44,504 against Blastware's 6,976). Only an
unknown type still falls back to trying both, and a chosen codec that
fails is now a decode problem rather than a silent switch.
- **A loud interval no longer breaks the sub-minute layout check.** The check
required each record's "zero word" to be `0000`. That word is the high word
of the interval's PVS², which is non-zero above 1.28 in/s, so a one-block
histogram with a loud interval decoded to nothing (T193KR5M.X90H,
K440HA3C.JM0H, R352HFZ7.530H).
- The check is now the measured relation peak ≤ PVS ≤ √3·peak. It holds
on 34,502,955 / 34,502,955 DL2 sub-minute intervals.
- The trim for a stream with no terminal tail uses the same test.
- **New decode-checker carve-out, `interval-count-is-duration`.** Blastware's
"Number of Intervals" is (stop − start) / interval. When the unit never
wrote the last minute, Blastware's own interval table lists one block
fewer, and SFM matches the table. It covers 8 events.
- **Decode checker:** 462 comparisons fixed, 0 regressions, 16 of 88 fields
fully match (was 11).
- Every DL2 histogram's Tran / Vert / Long interval peaks now match
Blastware (bar the clipped intervals the saturation carve-out covers).
- Channels 70,042 / 70,042.
- Histogram start dates a day off: 26 → 9.
- Peak vector sum mismatches: 45 → 18.
- ⚠ **Codec change:** it rides the next release's `TOOL_VERSION` bump and
backfill (`backfill_sidecars.py` then `backfill_event_shape.py`). Those
files are stored wrongly on prod today, and the backfill rewrites them. No
schema change.
### Added
- **A Blastware file's job number, and whether Blastware shows it.**