docs(changelog): Unreleased -- over range, the mic's range and dB offset, a green suite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
1 parent
750ef1f84b
commit
b24ea33b9d
1 file changed
+70
@@ -99,8 +99,68 @@ All notable changes to seismo-relay are documented here.
|
||||
- ⚠ **Operational:** codec change. It rides the next release's
|
||||
`TOOL_VERSION` bump and backfill. No schema change. The line is on the
|
||||
decoded event only: not stored in the DB, sidecar or `.h5` yet.
|
||||
- **Over range from the unit's own peaks: Blastware's `OORANGE`**
|
||||
(`feat/decode-last-fields`, merged 2026-11-11; measured on DL2 2026-11-09;
|
||||
reference D.6.15).
|
||||
- **The rule:** a peak past full scale, 2,000 units (32,000 counts on
|
||||
either geophone range; the mic in counts), is `OORANGE`. It holds per
|
||||
channel and per histogram interval, from the unit's summary peaks, which
|
||||
stay true where the stored samples clip or wrap.
|
||||
- **The vector sum** is `OORANGE` exactly when a geophone is over: 43 / 43,
|
||||
and never on its own (38 / 38 numeric, up to 14.49 in/s). That retracts
|
||||
the open "vector sum alone" carve-out.
|
||||
- **The report's "Out of Range" line** marks the mic over: 18 / 18.
|
||||
- New `PeakValues.tran/vert/long/mic/pvs_over_range`, and
|
||||
`event_file_io.over_full_scale()`.
|
||||
- **Checker:** it matches `OORANGE` only by the flag, and a flag against a
|
||||
printed number is a mismatch. The `saturation` carve-out now accepts no
|
||||
DL2 event; it stays for a file without the unit's summary.
|
||||
- **The checker reads each mic value in the unit Blastware printed.**
|
||||
- The peak is read in its own `<Units>`, and a sample table by its cells
|
||||
(a dB value is never under 60, psi never over 1). Blastware's event
|
||||
`Units` line does not hold for the mic on every report.
|
||||
- New carve-out `mic-units-mixed`, with evidence: a report that mixes dB
|
||||
and psi in one mic column, or prints one unit in both mic columns of a
|
||||
histogram row, is accepted when every differing cell is SFM's own value
|
||||
in the other unit. 40 DL2 fields; a cell matching neither stays a
|
||||
mismatch.
|
||||
- **Decode checker:** **80 of 88 fields now match on every DL2 event**, 72
|
||||
before (run `20261109-144544`, 0 regressions). What is left is 16 values
|
||||
in two causes, left as they are by decision (Brian, 2026-11-11):
|
||||
- the vector sum's last digit on 4 waveform/histogram twins: Blastware's is
|
||||
about 1.5 ppm lower, cause unknown, and no fitted factor is applied;
|
||||
- 4 accelerations: O117I1NK ×3 and S353I5PZ Vert.
|
||||
- ⚠ **Operational:** codec change.
|
||||
- It rides the next release's `TOOL_VERSION` bump and backfill.
|
||||
- No schema change.
|
||||
- The over-range flags are on the decoded event only: not stored in the
|
||||
DB, sidecar or `.h5` yet.
|
||||
|
||||
### Fixed
|
||||
- **The mic's own range: a range-1 mic reads an eighth.**
|
||||
- The mic's channel block has a range byte at the geophones' offset
|
||||
(label + 29). At `1` each count is 0.25 / 8 Pa.
|
||||
- It is set on 7 DL2 events, and SFM read their mic 8× high, e.g.
|
||||
K557J1XQ.GF0W: 79.4 dB(L), not 97.5.
|
||||
- It is independent of the geophone range.
|
||||
- New `Event.mic_range`.
|
||||
- ⚠ **Operational:** after the next release's backfill those events' DB
|
||||
`mic_ppv`, and their `.h5` mic samples, drop 8×. Report-paired events
|
||||
keep the report's value.
|
||||
- **The mic dB offset is 81.938216**, not 81.9384.
|
||||
- Every count Blastware printed in DL2 (1,704 in sample tables, 520 in
|
||||
histogram intervals, 494 histogram peaks) leaves
|
||||
[81.9382058, 81.9382266].
|
||||
- It fixes mic values one digit off at a rounding edge (count 463: 135.2,
|
||||
not 135.3).
|
||||
- Operational: dB is not stored. SFM's own reports change in the last
|
||||
digit at most.
|
||||
- **The test suite runs green, with 0 failures.** The 16 long-standing "known
|
||||
failures" were two stale tests:
|
||||
- 15 ASCII-report tests read from a removed `decode-re/` folder;
|
||||
- 1 expected 0.0 where the decoder deliberately leaves peaks unknown.
|
||||
|
||||
A report-pairing test that the same stale path had been skipping now runs.
|
||||
- **A unit without a mic keeps its sensor-check traces.** The trace decoder
|
||||
required all four records `0x3c`–`0x3f`, so BE16352 (no `0x3f`) had none in
|
||||
its `.h5`: all 8 of its DL2 events. Its three geophone traces are now decoded.
|
||||
@@ -133,6 +193,16 @@ All notable changes to seismo-relay are documented here.
|
||||
- **Reference D.3.3:** the footer is the chain's last record (`00 1a`, id `0e`).
|
||||
- **Reference D.6.12:** its "`0x3c` / `0x3d`, before and after" retracted in
|
||||
place. It is one record per channel.
|
||||
- **Reference D.6.15 (new):** over range.
|
||||
- **Reference D.6.6, corrected in place:** the mic's range byte; the dB offset
|
||||
(the old window was too high); Blastware's mic unit labels and the mixed
|
||||
columns.
|
||||
- **Reference D.3.3:** the footer's last two bytes are a CRC-16/AUG-CCITT (init
|
||||
`0x1D0F`), big-endian, over the footer record from its length prefix `00 1a`
|
||||
through footer `[0:22]`. It holds on 70,041 / 70,041 DL2 files. Found by the
|
||||
`.MLG` session; it retracts 2026-11-08's "no common CRC-16 fits".
|
||||
- **Reference D.6.11 and CLAUDE.md:** the 80 / 88 status, and the two causes
|
||||
left by decision.
|
||||
- **Reference D.6, "Reading a mismatch":** 256, 4,096 and 65,536 mean a number
|
||||
outgrew its 8-, 12- or 16-bit box. Every case so far is listed (Brian's
|
||||
observation, 2026-11-05).
|
||||
|
||||
Reference in new issue
Block a user