docs(changelog): Unreleased -- record type from the bytes (#41)
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
ede6292e4d
commit
b6fc71bd28
1 file changed
+18
@@ -7,6 +7,24 @@ All notable changes to seismo-relay are documented here.
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- **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
|
||||||
|
waveform files and `0x0A` on every one of its 63,535 histograms.
|
||||||
|
- The decoder used to read the type from the filename's last letter. So an
|
||||||
|
event with no Blastware name came out "Waveform" whatever it was: SFM's
|
||||||
|
own downloads, the call-in path, and a manual download (`.QZ0`).
|
||||||
|
- The filename is now only a cross-check that logs a disagreement.
|
||||||
|
- An unknown byte gives `record_type` None and a `decode_problems` entry,
|
||||||
|
not a guess. Manual, Event and Combo types never occur in DL2, so their
|
||||||
|
bytes are unknown.
|
||||||
|
- Decode checker: `EventType` matches on 70,042 / 70,042 events (was 6,524),
|
||||||
|
0 regressions.
|
||||||
|
- ⚠ **Codec change, covered by the same release bump as #44/#45.** The
|
||||||
|
backfill rewrites stored `record_type`. Files named `…W` / `…H` keep their
|
||||||
|
type. A histogram stored from a 3-character manual-download name flips
|
||||||
|
from Waveform to Histogram, which also changes how it pairs with its
|
||||||
|
waveform twin. No schema change.
|
||||||
- **A Blastware event imported without its ASCII report now carries its
|
- **A Blastware event imported without its ASCII report now carries its
|
||||||
setup and notes (#44, #45).** Until now such an event stored no sample
|
setup and notes (#44, #45).** Until now such an event stored no sample
|
||||||
rate, a record time of "70 s" (the STRT record-type byte, 0x46), a
|
rate, a record time of "70 s" (the STRT record-type byte, 0x46), a
|
||||||
|
|||||||
Reference in new issue
Block a user