feat(decode): over range from the unit's own peaks -- Blastware's OORANGE
A channel is over range when the unit's own peak (its summary's min / max) passes 2,000: 32,000 counts, full scale, on either geophone range; the mic in counts. Blastware prints OORANGE for that channel's peak, for the vector sum when any geophone is over, and its "Out of Range" line when the mic is (DL2, 2026-11-09): numeric up to 1,991 / 1,933, OORANGE from 2,001; the vector sum is OORANGE on all 43 events with a geophone over and on none of the 38 whose vector sum alone passes 10 in/s -- the open "vector sum alone" carve-out was never needed. PeakValues gains tran/vert/long/mic/pvs_over_range. The checker matches OORANGE by the flag, and calls a flag against a printed number a mismatch. Clipped events that the saturation carve-out used to accept now match outright; the carve-out stays as the fallback for a file without the unit's summary, and its guards are tested that way. 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
e542e61b68
commit
af8dde5114
12 files changed
+1097
-19
No files matched your search
@@ -381,6 +381,14 @@ class PeakValues:
|
||||
tran_peak_disp_in: Optional[float] = None
|
||||
vert_peak_disp_in: Optional[float] = None
|
||||
long_peak_disp_in: Optional[float] = None
|
||||
# Over range: the unit's own peak passed full scale (2026-11-09). Blastware
|
||||
# prints OORANGE for that peak, and for the vector sum when any geophone is
|
||||
# over; the value beside it is then a lower bound.
|
||||
tran_over_range: bool = False
|
||||
vert_over_range: bool = False
|
||||
long_over_range: bool = False
|
||||
mic_over_range: bool = False
|
||||
pvs_over_range: bool = False
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in new issue
Block a user