docs(changelog): Unreleased -- the Series 3 decode checker, and the corrected #53 note
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
fed6489330
commit
b92c8e489e
1 file changed
+57
-6
+57
-6
@@ -40,16 +40,67 @@ All notable changes to seismo-relay are documented here.
|
|||||||
change, no migration.
|
change, no migration.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- **`scratch/verify_bw_fields_against_xml.py`** checks the fields SFM reads
|
- **The Series 3 decode checker.** It proves SFM can produce everything
|
||||||
from a Blastware file alone against the event's `_XML.XML` report — the
|
Blastware reports from the event file alone, the first of four pieces
|
||||||
first piece of the decode checker. DL2's `Sent/` holds those reports,
|
toward retiring Blastware's reports.
|
||||||
every sample included, for 70,042 events back to 2016; its ASCII reports
|
- `scratch/check_s3_decode.py <binaries> <xml reports>` decodes each event
|
||||||
only go back to 2025.
|
the way ingest does, from its bytes alone (no filename, no report).
|
||||||
|
- It compares every field, waveform sample and histogram interval with
|
||||||
|
Blastware's `_XML.XML` report of the same event. DL2's `Sent/` holds
|
||||||
|
those reports, every sample included, for 70,042 events back to 2016;
|
||||||
|
its ASCII reports start in 2025.
|
||||||
|
- Each comparison gets one verdict: match, mismatch, SFM blank, accepted
|
||||||
|
(a written carve-out with evidence), no reference, or error.
|
||||||
|
- **Any disagreement counts as SFM's bug** unless a carve-out covers it.
|
||||||
|
The only carve-out so far is saturation: Blastware clamps a clipped
|
||||||
|
channel and prints `OORANGE`.
|
||||||
|
- **Output** goes to `~/dl2-archive/checker-runs/<time>/`, outside the
|
||||||
|
repo, because it carries customer names:
|
||||||
|
- `summary.md`: per-field counts and how many fields fully match
|
||||||
|
- `details.json`: failures grouped by what the failing events share,
|
||||||
|
with example events and one-event re-run commands
|
||||||
|
- `changes.md`: regressions against the last run of the same scope
|
||||||
|
- **Running it:** a full run takes ~22 min at `--jobs 4`. `--file NAME`
|
||||||
|
checks one event in seconds. Partial runs: `--serial`, `--year`,
|
||||||
|
`--type`, `--field`, `--sample`.
|
||||||
|
- **Code:** the comparison is pure codec-library code that ingest can
|
||||||
|
call later: `minimateplus/bw_xml_report.py`,
|
||||||
|
`minimateplus/decode_check.py`,
|
||||||
|
`minimateplus/decode_check_carveouts.py`. The runner and reports are
|
||||||
|
lab tools in `scratch/`. Design and plan are in `docs/superpowers/`.
|
||||||
|
- **First full run (70,112 files; 70 have no report):** 5 of 88 fields
|
||||||
|
fully match: sample rate, record time, pre-trigger, notes and waveform
|
||||||
|
event date.
|
||||||
|
- Geophone samples are exact on 6,491 / 6,524 waveforms in every year.
|
||||||
|
The 33 others are on the 1.250 in/s range, read 8× by SFM's
|
||||||
|
Normal-range assumption.
|
||||||
|
- Every histogram reads as a waveform without its filename (#41).
|
||||||
|
- Histogram start times are 1 s early (#51).
|
||||||
|
- Open findings:
|
||||||
|
- histogram PVS: SFM takes the vector magnitude of each channel's
|
||||||
|
interval peak; Blastware takes the per-interval vector sum
|
||||||
|
- mic psi conversion
|
||||||
|
- mic dB on ~1,000 events
|
||||||
|
- 35 sub-minute histograms plus 2 one-minute no-mic ones
|
||||||
|
- 26 histogram start dates
|
||||||
|
- job number, ZC frequency, acceleration, displacement, time of peak,
|
||||||
|
sensor check, battery, calibration, range, units and monitor log
|
||||||
|
are not read yet
|
||||||
|
- It replaces `scratch/verify_bw_fields_against_xml.py`, added and
|
||||||
|
removed within this release.
|
||||||
|
- **Operational consequence: none.** Nothing on the ingest path changes.
|
||||||
|
No schema change, no migration, `TOOL_VERSION` unchanged by this item.
|
||||||
- **README roadmap:** a bulk event importer, parked.
|
- **README roadmap:** a bulk event importer, parked.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- **`CLAUDE.md`:** the 14,338 ASCII-report pairs were said to reach "back
|
- **`CLAUDE.md`:** the 14,338 ASCII-report pairs were said to reach "back
|
||||||
to 2018"; they are all 2025–26 events. Corrected in place.
|
to 2018"; they are all 2025–26 events. Corrected in place. A "Where
|
||||||
|
things stand" entry records the decode checker and its first run.
|
||||||
|
- **`docs/instantel_protocol_reference.md`:** the #53 note is corrected in
|
||||||
|
place. `K440I4LG.JK0W`, `K888HW07.7K0W` and `R349KPNU.FK0W` do not decode
|
||||||
|
as histograms. They decode as waveforms with Blastware's full sample
|
||||||
|
count; only their time falls back to the footer start, 3–4 s late, with
|
||||||
|
no `decode_problems` entry.
|
||||||
- **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.
|
||||||
|
|||||||
Reference in new issue
Block a user