diff --git a/CHANGELOG.md b/CHANGELOG.md index cc5f332..31f9d68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,6 +62,9 @@ All notable changes to seismo-relay are documented here. - **Reference D.6.11 and CLAUDE.md:** the 59 / 88 status. Leads for E: records `0x3c` / `0x3d`, probably the sensor check. Leads for F: a waveform's monitor log may be its event record's start and stop. +- **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). ## v0.34.0 — 2026-11-04 diff --git a/docs/instantel_protocol_reference.md b/docs/instantel_protocol_reference.md index 63186c9..18b4500 100644 --- a/docs/instantel_protocol_reference.md +++ b/docs/instantel_protocol_reference.md @@ -3650,6 +3650,22 @@ Each field was proven by the decode checker, `scratch/check_s3_decode.py`. It co decode with Blastware's `_XML.XML` report for every DL2 event: 70,042 events, 2016–2026, local copy in `~/dl2-archive`. Counts below are from that archive unless stated otherwise. +> 🔑 **Reading a mismatch: 256, 4,096 and 65,536 mean a number outgrew its box** (Brian, +> 2026-11-05). These are 2⁸, 2¹² and 2¹⁶: how many values an 8-, 12- or 16-bit field can hold. +> When a value is off by exactly one of them, or stops at one, suspect the storage, not the +> physics. Every case so far: +> +> | Seen as | Box | Cause | +> |---|---|---| +> | O117I1NK's samples off by 65,536 counts at the trigger, the mic's by 4,096 (D.6.12) | 16-bit sample (12-bit mic) | the unit wrote a value beyond the range; it rolled over | +> | the unit's largest step stored × 65,536 (D.6.12) | 16.16 fixed point | whole part in the top 16 bits, fraction in the bottom 16 | +> | histogram PVS² high word non-zero above 1.28 in/s (D.6.5) | 16-bit half of a uint32 | 1.28 in/s = 256 units, and 256² = 65,536 | +> | histogram peaks clipped at 1.275 in/s until 2026-08-25 | one byte read where the value is 16-bit | 255 units is the most a byte holds | +> | the 5A walk failing past 64 KB until 2026-10-26 (§7.8) | 16-bit address | addresses roll over every 65,536 bytes | +> +> The geophone's full scale is 32,000 counts, deliberately short of the 16-bit limit (32,767): +> that one is a design margin, not an overflow. + #### D.6.1 Record type — `STRT[18]` ✅ | `STRT[18]` | Type | DL2 |