In the setup's channel blocks, the byte 29 after each geophone label is the range: 0x00 Normal (10 in/s), 0x01 Sensitive (1.25 in/s). It matches Blastware's GeoRange on 70,042 / 70,042 DL2 events, all three channels agreeing on every one (35 Sensitive). SFM's live 1A has the same byte at label+33. SFM assumed Normal, so every Sensitive event's peaks, vector sum and .h5 samples read 8x high. - Event.geo_range (0 / 1, None when not read -- channels disagreeing, an unknown value or a missing block -- with a decode_problems entry). - decode_blastware_bytes scales peaks and the histogram vector sum by it. - event_hdf5.write_event_hdf5: geo_range defaults to None = the event's own, else Normal; an explicit argument still wins. - waveform_store.save_imported_bw and scripts/backfill_sidecars.py stop forcing 'normal', so imports and the backfill store the file's range. The waveform_store line was agreed with the parity session, which owns that file; its own branch keeps a geo_range parameter, defaulting to None at its next dev merge. - The checker's SFM side converts at the event's range and reports GeoRange; tests that pinned the old 8x gap now pin the fix, and the saturation carve-out is still tested against an 8x value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
3.9 KiB
Executable File
3.9 KiB
Executable File