diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a52ebe..390cf08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,34 @@ All notable changes to seismo-relay are documented here. ## Unreleased ### Fixed +- **A histogram's peak vector sum is now the one the unit stores.** SFM + computed it from each channel's interval peak, and those can come from + different moments. So on 86% of DL2's histograms with no report it read + high: `T004JTRF.ME0H` gave 1.782 against Blastware's 1.358. + - Every interval carries its peak vector sum SQUARED, a uint32 BE in + 0.005 in/s units: + - bytes [21:25] of a standard block, long documented as "constant + `00 00`" plus "purpose unknown" + - the last 4 bytes of a sub-minute record (the undecoded `meta_var`) + - √stored × 0.005 is the "Geo PVS" Blastware prints. It matches on + 1,668,073 / 1,668,074 standard and 34.5 million sub-minute DL2 + intervals. + - The event's value is the largest interval's. + `histogram_codec.interval_pvs` returns the per-interval series, and + records gain `pvs_sq`. Waveforms are unchanged. + - Decode checker: `PeakVectorSum` matches on 69,919 events (was 15,097): + 54,822 fixed, 0 regressions. The 80 left are three things: + - the 35 Sensitive-range events (8×, SFM's Normal-range assumption) + - 27 of the 5-second histograms that decode wrongly + - about a dozen waveforms Blastware prints `OORANGE` for when the + vector sum alone exceeds 10 in/s — a likely carve-out, still to be + shown + - The per-interval series is not stored yet, so the checker still scores + `intervals.Geo PVS` as SFM blank. + - ⚠ **Codec change, covered by the same release bump as #44/#45 and + #41.** The backfill rewrites stored histogram PVS, but only where no + ASCII report overlays it. Report-paired events keep the report's value. + No schema change. - **A Blastware event's record type comes from its bytes, not its filename (#41).** - STRT[18] is the record-type byte: `0x46` on every one of DL2's 6,577