51 Commits
Author SHA1 Message Date
serversdown eec88a62b8 Merge pull request 'Release v0.35.0 — 80 of 88 report fields from the file, and monitor logs (.MLG)' (#60) from dev into main
Reviewed-on: #60
2026-11-16 15:49:03 -05:00
serversdownandClaude Opus 5.5 c2b8e76774 chore(release): v0.35.0 — 80 of 88 report fields from the file, and monitor logs (.MLG)
CHANGELOG: Unreleased -> v0.35.0 (2026-11-16), with the release's theme
and its Migration.  pyproject, README, CLAUDE.md -> 0.35.0.
TOOL_VERSION -> 0.35.0: the codec changed (groups D2, E, F, over range,
the mic's range), which gates the backfill's regeneration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-16 12:46:58 -05:00
serversdownandClaude Opus 5.5 ed4f3d2213 docs(changelog): Unreleased -- monitor logs (.MLG) and each unit's timeline
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-16 11:08:30 -05:00
serversdownandClaude Opus 5.5 03c272316f merge: monitor logs (.MLG) and each unit's monitoring timeline
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-16 11:06:39 -05:00
serversdownandClaude Opus 5.5 ba826dfac6 fix(mlg): final-review fixes
A fresh whole-branch review found four Important issues; three of its
Minors and one item it set aside were re-graded up.  Each has a test that
failed first.

- A windowed timeline 500'd when a file came without its modified time
  (Python 3.10 rejects the 'Z' of received_at).  received_at is now
  +00:00 and timeline times parse 'Z' too.
- On the clock-step day an event-triggered call-in moved the event into
  the next session and lost the step.  An event now joins the 'monitoring
  started' record of its own file.
- A call-in whose records came first in another file (a cable download)
  read 'nothing_new'.  Each file now keeps its own call summary
  (last_stop, no_file_stops) from when it arrived.
- Sessions and call-ins now carry record_ids / file_ids / file_id, the
  shot report's proof (spec 5).
- A non-'started' record with no stop made the unit's timeline 500 for
  good; it now opens a session whose end is unknown.
- A serial from a file's bytes (or a hint) could write outside the store;
  only plain serials are used, and records with no serial are refused, not
  dropped.
- Times with a UTC offset, an empty 'at', or a bad mtimes value gave 500s
  (or stored half a request); they are now 400s, checked first.
- A missing call-in file made the gap after its Modem Exit read 'not
  monitoring' for days.  Files are numbered <serial><counter>; a gap
  across a missing number is now 'records missing' (unknown).  A long gap
  after a call-in with no number missing is 'no restart after a call-in':
  real outages on the DL2 data (BE6907 14 days from 2026-10-07; BE8081
  over Labor Day 2019).  Real fixtures BE6907 #899-#902 added.
- Docs: BE8081 did write one empty file (BE80811.MLG).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 14:17:08 -05:00
serversdownandClaude Opus 5.5 35bac40dd5 docs: the .MLG format measured (reference D.4), and the new /db routes
Reference D.4 rewritten from the measurements: the 18-byte prefix,
length-led 292-byte records, the CRC-16/AUG-CCITT (3,329 / 3,329), the
fields, how Blastware writes the files and how a session appears, and
the cross-check against DL2's event files.  The old D.4.1-D.4.3 stay,
marked retracted.  CLAUDE.md gains the five routes and a Where things
stand entry; the spec's footer-CRC note points at dev's 8544e9c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:56:10 -05:00
serversdownandClaude Opus 5.5 4bc669df4d feat(mlg): bulk import, and a cross-check against the event files
scripts/import_mlg_dir.py imports every .MLG under a directory (files
with records first, then the empty ones, so each unit's serial is known
first; dry run writes nothing).  scratch/check_mlg_vs_events.py matches
each Event Recorded record to an event file's footer (stop, flag word,
trigger source) in both directions, inside each unit's .MLG period.

Run on the dev box against DL2's 1,273 sample files (2026-11-13):
  import: 1273 ok, 0 errors, 231 empty, 0 unresolved, 2180 records, 13 s
  BE8081:  785 matched, 0 record-only, 0 file-only
  BE6907:    6 matched, 5 record-only, 0 file-only
  BE12844:  19 matched, 37 record-only, 0 file-only
  every record-only one stops after 2026-08-25, where the DL2 copy ends;
  the 4,303 footers of those three units' event files all pass their CRC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:54:50 -05:00
serversdownandClaude Opus 5.5 c0cdf58527 feat(mlg): /db routes: import .MLG, a unit's timeline, monitoring at T
POST /db/import/mlg_file (per-file status; good files stored even when
another in the request is refused; each file's modified time as a JSON
form field), GET /db/units/{serial}/timeline (optionally windowed),
GET /db/units/{serial}/monitoring_at, GET /db/mlg_records, and
GET /db/mlg_files/{id} (the original, byte for byte, for printing).

Tested by calling the route functions directly: httpx is not in this
venv, so TestClient tests would skip silently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:50:59 -05:00
serversdownandClaude Opus 5.5 faa371a73b feat(mlg): each unit's monitoring timeline, and was it monitoring at T
sfm/mlg_timeline.py builds, from a unit's stored records: sessions (with
how each ended, its events and its trigger level as logged), the gaps
between them and what each means (call-in, scheduled off, lost power,
stopped by a person, memory full), clock steps (a session starting
before the previous one stopped, as at the end of daylight saving), and
call-ins: delivered, no_file (a Modem Exit that left no file) and
nothing_new (an empty file).  monitoring_at() answers monitoring /
not_monitoring / unknown, never claiming more than the records show.
Tested on real files, including BE8081's weekend: Battery Low Exit
Saturday 10:47, back Monday 12:47, two calls that left no file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:48:13 -05:00
serversdownandClaude Opus 5.5 f41e4be382 feat(mlg): ingest one .MLG: verify, resolve the serial, keep the original
sfm/mlg_ingest.ingest_mlg() is shared by the import route and the bulk
script.  A file that is not whole, or with any record failing its
checksum, stores nothing.  The serial comes from the file; for an empty
file (no serial inside) from the caller's hint, else the longest known
serial its <serial><counter> name starts with, else unresolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:45:21 -05:00
serversdownandClaude Opus 5.5 84d6cd05c3 feat(mlg): store .MLG files and records, each record once
Two new tables, created on first start (no migration):
mlg_files (one row per file received, deduped by name + sha256) and
mlg_records (one row per log record, unique on serial, start, stop,
flag word and trigger source; COALESCE on the stop, since an open
record's NULL stop is distinct to a UNIQUE constraint).  The text is not
part of a record's identity: Blastware writes it, and two copies of the
same records differ there.  WaveformStore.save_mlg keeps the original
file byte for byte under <serial>/mlg/.

Operational consequence: two new tables on first start; no migration,
no backfill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:43:47 -05:00
serversdownandClaude Opus 5.5 a8adb03d23 feat(mlg): write .MLG files as Blastware does; retire the old writer
mlg_bytes()/write_mlg() rebuild all 12 fixture files byte for byte:
little-endian times, length-led records, each record's checksum.  The old
blastware_file writer (big-endian times, a zero CRC at the wrong end, 308-
byte header) and the read_mlg stub are removed; nothing called them.  No
re-export: event_file_io imports blastware_file, and mlg_file imports
event_file_io.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:41:38 -05:00
serversdownandClaude Opus 5.5 3cd95db405 feat(mlg): read Blastware .MLG files, every record's checksum verified
minimateplus/mlg_file.py parses the measured format: an 18-byte prefix,
then length-led 292-byte records, each with a CRC-16/AUG-CCITT over
[0:288] stored little-endian.  A record that fails its checksum is
returned flagged, never silently dropped.  One shared CRC function
(minimateplus/crc.py) replaces micromate/setup_block's copy.

Fixtures: 12 real .MLG files (DL2's ACH folder + 3 bench files) in
tests/fixtures/mlg-11-9-26/, force-added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 13:39:44 -05:00
serversdownandClaude Opus 5.5 74ce7abcc6 docs(plan): monitor logs (.MLG) and each unit's monitoring timeline
Eight tasks: reader, writer, storage, ingest, timeline, routes, bulk import
with a cross-check against the event files, and the reference's D.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 03:43:45 -05:00
serversdownandClaude Opus 5.5 6f5898fe4e docs(spec): monitor logs (.MLG) and each unit's monitoring timeline
Design for reading Blastware .MLG files into SFM and deriving each unit's
monitoring timeline (sessions, stop reasons, call-ins), for shot reports
and outage history. Includes the measured MLG format: length-led 292-byte
records with a CRC-16/AUG-CCITT tail (3,329 / 3,329 records).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
2026-11-13 03:33:02 -05:00
serversdownandClaude Opus 5.5 77a0296496 chore: every text file LF by default, and a test that fails on CRLF
5dff54b listed file types; a Dockerfile, .jsonl, .gitignore or any type not
yet invented had no rule.  .gitattributes now defaults every file to
`text=auto eol=lf` (Terra-View's rule), marks the binaries, and keeps
tests/fixtures/** -text.  Renormalizing under it changes no file.

tests/test_line_endings.py fails if a tracked file outside the fixtures is
stored CRLF, or if the rule stops covering new text types, fixtures or
binaries.  Its CRLF detector, pointed at the fixtures, finds all 38.
Suite: 1,711 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-12 16:38:10 -05:00
serversdownandClaude Opus 5.5 5dff54b292 chore: store source and docs with LF line endings (.gitattributes)
The protocol reference, seismo_lab.py and one scratch CSV were CRLF, so a
rewrite outside the Edit tool turned them into whole-file diffs, and merges
into them had to be resolved byte by byte.  They are converted once (line
endings only: the diff ignoring CR at EOL is empty), and .gitattributes keeps
every source and doc type LF from now on, whatever writes it.

tests/fixtures/** is -text: Blastware's own reports and exports, captures and
event files stay byte for byte (38 CRLF fixtures, unchanged).

A branch that edits one of the three files merges with -X renormalize.
Suite: 1,693 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-12 15:29:36 -05:00
serversdownandClaude Opus 5.5 745aab40b1 docs(changelog): Unreleased -- an escaped checksum is the checksum, not data (#58)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-12 15:28:00 -05:00
serversdownandClaude Opus 5.5 ff705ebf87 merge: an escaped checksum is the checksum, not data (#58)
S3FrameParser kept the 10 of a checksum sent as `10 02/03/04` as the reply's
last data byte.  It now takes the pair: 7,747 / 7,747 recorded replies check,
272 of them with an escaped checksum.  Fixes the 1C battery/memory misread
(419.84 V on 12 of 760 recorded status replies) and the 2C call-home read; the
5A file builder's own compensation is removed with it, and pre-fix .a5.pkl
frames are converted on load (A5_PICKLE_VERSION 2).  checksum_valid now sums
the unescaped payload.

Conflict: the reference's changelog table (dev's own 2026-11-06 row); #58's
row kept as 2026-11-06 (2).  Suite on the merge: 1,693 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-12 15:27:00 -05:00
serversdownandClaude Opus 5.5 b24ea33b9d docs(changelog): Unreleased -- over range, the mic's range and dB offset, a green suite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-11 15:23:23 -05:00
serversdownandClaude Opus 5.5 750ef1f84b merge: over range, the mic's range and dB offset, and a green test suite (the last of the 88)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-11 15:23:23 -05:00
serversdownandClaude Opus 5.5 c87e677294 docs: the last 16 values are left as they are, by decision
The vector sum's last digit on 4 waveform/histogram twins (no fitted
factor on a compliance number) and the 4 accelerations (O117I1NK's fit
rests on one clipped file): left and documented, Brian 2026-11-11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-11 15:22:49 -05:00
serversdownandClaude Opus 5.5 8544e9c7e2 docs(reference): the event footer ends in a CRC-16/AUG-CCITT
Footer [24:26] is CRC-16/AUG-CCITT (poly 0x1021, init 0x1D0F), stored
big-endian, over the footer record from its length prefix 00 1a through
footer [0:22] -- 24 bytes; the zero word [22:24] is not covered.
70,041 / 70,041 DL2 files.  Found by the .MLG session, verified here.
Retracts 2026-11-08's 'no common CRC-16 fits' (D.3.3, in place, and the
footer comment in event_file_io): every attempt had started at the
footer itself and missed the length prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-11 14:55:50 -05:00
serversdownandClaude Opus 5.5 8c6cad681c test: the suite runs green -- fix the 16 long-standing 'known failures'
They were two stale tests, not broken code:
- tests/test_bw_ascii_report.py (15) read its Blastware ASCII reports
  from decode-re/5-8-26/ at the repo root, removed when the fixtures
  moved to tests/fixtures/decode-re-5-8-26/.  At the real path all 27 of
  its tests pass.  The same stale path made a report-pairing test in
  test_event_file_io.py skip silently; it now runs and passes.
- test_save_imported_bw_without_report_works_unchanged (1) expected a
  sample-less event's PPV to be 0.0.  Since fa9d3cd (2026-05-20) the
  decoder deliberately leaves peaks unknown (None) so a backfill never
  writes zeros over real peaks; the sidecar-level check now says so.
  Its main assertion -- no bw_report block without a report -- is
  unchanged and covered nowhere else.

Full suite: 1,620 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-11 14:54:16 -05:00
serversdownandClaude Opus 5.5 e2c0f26b69 docs: over range, the mic's range and dB offset, and Blastware's mic unit labels
- Reference D.6.15 (new): over range -- a peak past 2,000 units (the mic
  in counts) is OORANGE, per channel and per histogram interval; the
  vector sum is OORANGE exactly when a geophone is (43 / 43), never on
  its own (38 / 38); the <OORANGE> line marks the mic over (18 / 18).
- D.6.6: the mic's own range byte (an eighth at 1; 7 events read 8x
  high); the dB offset corrected in place to 81.938216 (every printed
  count leaves [81.9382058, 81.9382266]); the unit labels that do not
  hold, and the mixed columns.
- D.6.11, CLAUDE.md: 80 of 88 report fields match on every DL2 event
  (run 20261109-144544, 0 regressions); the two causes left (the vector
  sum's last digit on 4 twins, 4 accelerations); the 'vector sum alone'
  case retracted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 15:11:43 -05:00
serversdownandClaude Opus 5.5 6818e3023e feat(checker): a histogram row printing one unit in both mic columns is the mixed-units case
The ~20 histograms with one mic interval off were Blastware printing
the same number in both mic columns of a row: I145HKWT.DY0H row 672
reads 95.92 under psi(L) and dB(L) (count 5: dB), S353K894.OE0H rows
106 and 608 read 0.000 under both (count 2: psi).  SFM's count agrees
with the neighbouring rows and with the other column.  mic-units-mixed
now covers the interval mic columns too; a column names its own unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 14:45:41 -05:00
serversdownandClaude Opus 5.5 0b6150adb5 feat(checker): read each mic value in the unit Blastware printed; carve out mixed columns
Blastware's dB(L) / psi(L) labels do not hold for the mic on every
report (DL2, 2026-11-09):
- the mic peak carries its own <Units>, which 7 reports set to dB under
  a psi Units line and 3 the reverse: the checker now reads the peak in
  its own unit;
- a mic sample table has no unit of its own and need not follow the
  line (S353JTHU.DT0W prints dB under psi): the checker reads it from
  its cells -- a mic dB value is never under 60, psi never over 1;
- some reports mix the two inside one column: K441L9IN.OT0W prints psi
  '0.000' for counts of 1 to 3 in a dB table.  Carve-out
  mic-units-mixed accepts a mic field when every cell SFM disagrees
  with is SFM's own value in the other unit: 19 DL2 events (14 sample
  tables, 5 peaks); a cell matching neither stays a mismatch.

Not a decoder change: SFM's mic data were right.  Checker run
20261109-141808: 78 of 88 fields, 0 regressions; no mic peak or mic
sample table mismatches left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 14:44:11 -05:00
serversdownandClaude Opus 5.5 e21d23a3f2 fix(decode): the mic dB offset is 81.938216, fitted on every count Blastware printed
The 81.9384 offset came from a window fitted on histogram intervals,
[81.9383, 81.9385], which was too high.  Every count Blastware printed
in DL2 -- 1,704 in waveform sample tables, 520 in histogram intervals,
494 histogram peaks -- leaves [81.9382058, 81.9382266]: count 129
(124.2) bounds it from below, 463 (135.2; 81.9384 prints 135.3) and 677
(138.5) from above.  One offset serves all three printing paths; no
count prints two ways once range-1 mics and psi-formatted tables are
set aside.  Fixes the mic samples and peaks that sat one digit off at a
rounding edge.  The old window's comment is kept, retracted in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 14:04:55 -05:00
serversdownandClaude Opus 5.5 e25784d9db feat(decode): over range inside a histogram's intervals, as in the event
Inside an interval the rule is the event's: a peak past 2,000 units
(the mic in counts) is Blastware's OORANGE, and the interval's vector
sum is OORANGE when any geophone is.  DL2 (2026-11-09): numeric up to
1,846 (geophones) / 1,414 (mic), OORANGE from 2,001; vector sums 16 / 16
OORANGE with a geophone over, 2,862 / 2,862 numeric without.

event_file_io.over_full_scale(count, channel); the checker renders those
interval cells as OORANGE.  The saturation carve-out compares SFM's own
words properly (_differs): an OORANGE from SFM never counts as
saturation, and an OORANGE equal to Blastware's is not a difference.
Its interval tests run on the numeric values it used to see.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 13:35:08 -05:00
serversdownandClaude Opus 5.5 836c9e864b fix(decode): the mic's own range -- a range-1 mic reads an eighth
The mic's channel block carries a range byte at the geophones' offset
(label + 29, reference D.6.4).  At 1 each count is an eighth, 0.25 / 8
Pa: set on 7 DL2 events, all of them Blastware's values divided by 8,
and on none of the other 70,026 -- independently of the geophone range
(28 events have Sensitive geophones and a range-0 mic).  SFM read those
7 mics 8x high: K557J1XQ.GF0W is 79.4 dB(L), not 97.5.

Event.mic_range; the decoded mic peak (and so the .h5 mic samples, whose
scale is the peak's) and the checker's mic conversions follow it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 13:32:07 -05:00
serversdownandClaude Opus 5.5 af8dde5114 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
2026-11-09 12:51:57 -05:00
serversdownandClaude Opus 5.5 e542e61b68 docs(reference): an .MLG is little-endian, and its flags are the footer's flag word
D.2 and D.4.2 said MLG timestamps are big-endian; §7.5 already had the
year little-endian.  Measured on the 4 bench .MLG files: every date's
year is little-endian, and a record's [22:26] is the event footer's
flag word and trigger source (D.6.14), little-endian.  BE9441's 10-25
session lines up 20 / 20 with its event files.  write_mlg() writes
big-endian dates; nothing calls it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 12:37:37 -05:00
serversdownandClaude Opus 5.5 d740897714 docs(changelog): Unreleased -- the monitor log line from the footer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 12:36:02 -05:00
serversdownandClaude Opus 5.5 15112ef83b merge: the monitor log line from the file's footer (group F)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-09 12:36:02 -05:00
serversdownandClaude Opus 5.5 ed8712ac8e docs: the monitor log is in the footer (reference D.6.14)
- Reference D.6.14 (new): the Monitor Log line is the footer's ts1 - ts2
  plus words for its flag word [18:20]; 69,983 / 69,983 DL2 lines,
  character for character; the flag table and how common each is.
- D.3.3: footer [18:20] flags, [20:22] trigger source, [22:24] zero;
  [24:26] still unknown (no common CRC-16 or sum fits).
- D.6.11, CLAUDE.md: 72 of 88 report fields match on every DL2 event
  (run 20261108-034313, 0 regressions) and what is still open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-08 04:08:23 -05:00
serversdownandClaude Opus 5.5 b6309027b3 feat(decode): the monitor log line from the file's footer (group F)
Blastware prints one Monitor Log line per event: the footer's start and
stop, then words for the footer's flag word [18:20] -- 69,983 / 69,983
DL2 lines, character for character (2026-11-08):

  0x0001 Event Recorded       0x0010 Timer Stop
  0x0002 Keyboard Exit        0x0020 Modem Exit
  0x0004 Remote Exit          0x0200 Battery Low Exit
  0x0008 Selfcheck Passed     0x0800 Memory Full Exit

One line sets Modem and Timer and prints Modem, so the higher bit wins
(the order of the others is inferred).  Footer [20:22] is the event
record's trigger source again (69,983 / 69,983); [22:24] is zero; [24:26]
is not a common CRC-16 or sum.

Event.monitor_log: MonitorLogLine(start, stop, flags, description), read
only when the file's record chain is whole, which proves the footer.
The checker compares it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-08 03:43:05 -05:00
serversdownandClaude Opus 5.5 4402753e70 docs(changelog): Unreleased -- sensor check results, and a no-mic unit's traces
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-07 15:58:16 -05:00
serversdownandClaude Opus 5.5 3cd414b589 merge: sensor check results from the unit's own records (group E)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-07 15:58:16 -05:00
serversdownandClaude Opus 5.5 7b45647b23 docs: #58 in the reference and CLAUDE.md; unescape_reply's 748 were replies
Reference row 2026-11-06: an escaped checksum is the checksum, measured on
7,747 / 7,747 recorded replies, with what the stray byte misread.  CLAUDE.md's
phase-5 warning marked fixed, and the reply rule widened.

Corrects 89c5234's unescape_reply docstring: the 2026-10-26 recording's
748/748 was measured on its replies (it also has 748 requests); I had called
them Blastware's requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-06 14:57:39 -05:00
serversdownandClaude Opus 5.5 47da0ddef0 fix(framing): checksum_valid sums the reply's payload unescaped
S3FrameParser summed its payload with the kept `10` of each `10 02/03/04`
still in, so checksum_valid was False on about a third of good replies (the
old "S3 checksums frequently fail" belief).  SUM8 of the unescaped payload
is the unit's checksum on 7,747 of 7,747 recorded replies; the test pins it
on the 2,509 in the committed October fixtures (62 with an escaped checksum),
which also proves #58's split of data from checksum on real replies.

Nothing decides on checksum_valid; seismo_lab's display stops crying wolf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-06 14:54:45 -05:00
serversdownandClaude Opus 5.5 89c5234ac0 fix(framing): an escaped checksum no longer leaves its 0x10 in a reply's data (#58)
A MiniMate sends a checksum of 02, 03 or 04 as `10 X`.  S3FrameParser kept
both bytes and _finalise took only the last as the checksum, so the frame's
data ended in a stray 0x10.  It now takes the pair.

Measured on every recorded reply (60 captures, March to October 2026): SUM8
of the unescaped payload is the checksum on 7,747 of 7,747; 272 arrived
escaped, all valid as an escape pair.

What the stray byte did:
- 1C status: battery and memory are counted from the end; 12 of 760 recorded
  status replies read 419.84 V / 251,654,656 bytes (6.76 V / 983,026).
- 2C call-home read: one byte long, refused as "monitoring".
- 1A, 09 reads: already trimmed (bench 2026-11-04); the trims stay as guards.
- 5A file builder: compensated in _frame_body_bytes; that pairing is removed,
  else a real 0x10 ending a chunk (one in ten do) would be dropped.

Stored .a5.pkl frames: A5_PICKLE_VERSION 2; load_a5 drops the stray 0x10
from version-1 frames.  All 28 pickles on this box rebuild byte-identical
to dev's build.

Operational consequence: none for prod's stored events (S3 events arrive
through save_imported_bw, which keeps no frames); no schema change, no
TOOL_VERSION bump, no backfill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
2026-11-06 14:52:50 -05:00
serversdownandClaude Opus 5.5 a80ea759e4 docs: the record chain to the footer and the sensor check (reference D.6.13)
- Reference D.6.13 (new): the tail of an event file is one record chain
  ending exactly at the file's end (70,041 / 70,041 DL2 files); the
  sensor-check header layout and what Blastware prints from it.
- D.3.3: the footer is the chain's last record (length 00 1a, id 0e).
- D.6.12: 'before and after' retracted in place -- one record per channel.
- D.6.11, CLAUDE.md: 71 of 88 report fields match on every DL2 event
  (run 20261106-125854, 0 regressions; 59 before group E).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 13:23:39 -05:00
serversdownandClaude Opus 5.5 f222ea9e80 fix(sensor-check): a unit without a mic keeps its three geophone traces
The trace decoder required all four records 0x3c-0x3f, so BE16352 (no
mic: 0x3c-0x3e only, all 8 of its DL2 events) got no sensor-check traces
at all.  The three geophone records, chained by their length prefixes,
are now enough.  The .h5 writer already stores a three-channel set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 13:00:16 -05:00
serversdownandClaude Opus 5.5 f7b310b130 feat(decode): sensor check results from the unit's own records (group E)
The record chain that starts with the embedded event record runs to the
file's end on all 70,041 DL2 files: the event record 0x05, the unit's
summary 0x32-0x35, its sensor checks 0x3c-0x3f, then the footer 0x0e
(no 0x35 / 0x3f on a unit without a mic, 8 files).  _record_chain walks
it and refuses a chain that does not end exactly at the file's end; the
unit's summary is now read from it too.

Each sensor-check record's header holds the results (DL2, 2026-11-06):
[2] channel type (1 geophone, 2 mic, 0 disabled), [4] status (0 =
passed), [5:7] frequency x 10, [7:9] ratio x 10, [9:11] amplitude mV.
Blastware prints them as they are: 209,943 / 209,943 geophone
frequencies and ratios, 69,975 / 69,975 mic frequencies and amplitudes;
"Passed" on status 0, "Check" on every other (its bits not decoded:
a Check can sit inside every passing range), "Disabled" on type 0.

Event.sensor_check_results: channel -> SensorCheckResult (result,
status, freq_hz, ratio, amplitude_mv).  The checker compares them.
Behaviour change: an unknown id inside an intact chain now leaves only
that record unread (was: everything after it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 12:58:31 -05:00
serversdownandClaude Opus 5.5 d2fe675650 docs(reference): 256, 4,096 and 65,536 mean a number outgrew its box
A note at the head of Appendix D.6 listing every case so far: the
O117I1NK sample wrap, the unit's 16.16 fixed-point step, the histogram
PVS2 high word above 1.28 in/s, the old 1.275 in/s byte clip, and the
64 KB 5A page.  Brian's observation, 2026-11-05.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 12:35:56 -05:00
serversdownandClaude Opus 5.5 6591b09b31 docs(changelog): Unreleased -- ZC frequency, displacement and times of peak from the unit's summary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 03:22:20 -05:00
serversdownandClaude Opus 5.5 8e9a3ac9cf merge: ZC frequency, peak displacement and times of peak from the unit's own event summary (group D, part 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-06 03:22:02 -05:00
serversdownandClaude Opus 5.5 b53de5448f docs(CLAUDE.md): untangle the acceleration sentence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-05 17:46:39 -05:00
serversdownandClaude Opus 5.5 f5feb0eabc docs: the unit stores its own largest sample step; Blastware's acceleration is still its own
The summary's unidentified [15:21] is the stored samples' largest step
plus 0 to 1 unit, x 65,536, on 19,479 geophone channels: probably the
unit's own step at full resolution (inferred).  Blastware does not print
it -- its acceleration matches the samples on 19,475 / 19,479 and this
field on 879.  Corrects 'acceleration is not stored'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-05 17:46:28 -05:00
serversdownandClaude Opus 5.5 8d5c16b03b docs: the unit's own event summary (reference D.6.12), and group D in CLAUDE.md
- Reference D.6.12 (new): the record chain after the embedded event
  record, the per-channel summary layout, what Blastware prints from it,
  why recomputing failed, and the two odd 2019 files.  Group D part 1
  (time of peak, acceleration with the fitted g) is documented there too.
- Reference §7.8.9: its "constant, meaning unknown" bytes amended in
  place (the vector-sum peak sample, then the next record's lead).
- Reference D.6.11 and CLAUDE.md: 59 of 88 report fields match on every
  DL2 event (run 20261105-140021, 0 regressions; 47 before group D).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-05 14:25:31 -05:00
serversdownandClaude Opus 5.5 9091fe75a9 feat(decode): ZC frequency, peak displacement and times of peak from the unit's own event summary
After its embedded event record, every Blastware event file carries the
unit's own per-channel summary: a chain of [length][id][payload] records,
ids 0x32 Tran .. 0x35 MicL, each with min, max, peak sample,
half-period and a displacement integral; the event record itself holds
the vector-sum peak's sample.  Blastware prints these as they are
(measured on DL2, 2026-11-05):

- ZC frequency = (rate / 2) / half-period: 15,844 / 15,844 waveform and
  104,000 / 104,000 histogram values; every word too (">100" at <= 5
  samples, "N/A" at 0, "<1.0" beyond rate / 2).  Recomputing from the
  samples had reached 46%: the unit works at full resolution.
- peak displacement = half the integral x 16 counts x in/s per count /
  rate: 19,479 / 19,479 (84% recomputed).
- times of peak and the vector-sum time now come from the unit's peak
  samples.  They equal the samples' argmax on 25,962 / 25,966 channels;
  the 4 others are O117I1NK.R70W, whose stored samples wrap at the
  trigger (Blastware's own sample table has the same wrapped values).

The event-record readers return the validated record's offset, so the
summary is read from that spot only.  No summary: nothing is set, and
times of peak stay the samples'.

The checker reports ZC frequency and displacement, and reads the mic's
above-range flag under its real name (mic_zc_above_range).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
2026-11-05 14:00:13 -05:00
98 changed files with 65358 additions and 7683 deletions

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# Line endings (2026-11-12): every text file is stored and checked out with LF,
# whatever tool or OS wrote it -- file types we have not invented yet included.
# The protocol reference and seismo_lab.py were CRLF, so any rewrite outside the
# Edit tool turned them into whole-file diffs, and merges into them had to be
# resolved byte by byte. Same rule as Terra-View's. tests/test_line_endings.py
# fails if a CRLF file gets in anyway.
* text=auto eol=lf
# Binary -- never converted.
*.bin binary
*.pdf binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.h5 binary
*.pkl binary
*.db binary
*.sqlite binary
*.zip binary
*.gz binary
*.xlsx binary
*.docx binary
# Test fixtures are recorded bytes -- Blastware's own reports and exports, unit
# captures, event files -- kept byte for byte as ground truth: never converted.
tests/fixtures/** -text
+377
View File
@@ -4,6 +4,383 @@ All notable changes to seismo-relay are documented here.
--- ---
## v0.35.0 — 2026-11-16
**The file-only decode reaches 80 of Blastware's 88 report fields, and SFM
reads monitor logs (.MLG).**
Three lines of work ship together.
**The file-only decode, groups D (part 2), E and F.** 80 of Blastware's 88
report fields now match on every DL2 event, 47 at v0.34.0. The last 16 values,
in two causes, are left as they are by decision (Brian, 2026-11-11).
- **New, from the unit's own records in the file:**
- ZC frequency, peak displacement and times of peak
- the sensor check results
- the Monitor Log line
- over range (Blastware's `OORANGE`)
- **Fixed:**
- a range-1 mic read 8× high (7 DL2 events)
- the mic dB offset
- a unit without a mic lost its sensor-check traces
**Monitor logs (.MLG).** SFM reads Blastware's monitor logs and keeps each
unit's monitoring timeline: sessions, gaps and what each means, and call-ins,
including calls that left no file. It answers "was unit X monitoring at T",
which is what a shot report needs for a unit that did not trigger. Nothing flows
in until the watcher forwards `.MLG`s or they are bulk-imported.
**An escaped checksum is the checksum, not data (#58).** SFM's live reads no
longer carry a stray byte, which had corrupted the battery and memory status and
the call-home read.
Prod still overlays a paired ASCII report onto the decode. Retiring that overlay
is the plan's step 3 and is not part of this release.
⚠ **This release owes a backfill, about 8 hours on the NAS, and creates two
empty tables on first start.** There is no migration, and no stored event time
moves. See *Migration*.
### Added
- **ZC frequency, peak displacement and times of peak come from the unit's own
event summary** (group D, part 2 of the file-only decode;
`feat/waveform-zc-displacement`, merged 2026-11-06). Measured on DL2
2026-11-05.
- **Where they are:** every event file carries the unit's per-channel
summary right after its embedded event record. It is a chain of
`[length][id][payload]` records, ids `0x32`–`0x35`, each holding min, max,
peak sample, half-period and a displacement integral (reference D.6.12).
Blastware prints these values as they are.
- **ZC frequency** = (rate / 2) / half-period, on every record type. It
matches 25,966 / 25,966 waveform and 253,958 / 253,958 histogram channel
values, including the words (">100", "N/A", "<1.0"). Above range the value
is Blastware's threshold, flagged, as when it comes from a report.
- **Peak displacement** = half the integral (new
`PeakValues.*_peak_disp_in`): 19,479 / 19,479.
- **Times of peak and the vector-sum time** now come from the unit's peak
samples. They differ from the samples' own only on O117I1NK.R70W, whose
stored samples wrap at the trigger. Blastware's own sample table has the
same wrapped values.
- **Why recomputing failed:** from the samples, ZC frequency had matched 46%
and displacement 84%. The unit computes them at full resolution.
- **Peak acceleration** stays Blastware's own computation from the samples.
The unit stores its own largest step too (`[15:21]`, inferred), and
Blastware ignores it.
- **Decode checker:** 59 of 88 fields now match on every DL2 event, 47 before
group D (run `20261105-140021`, 0 regressions). Still open: O117I1NK's three
accelerations and S353I5PZ.EP0W's Vert acceleration.
- ⚠ **Operational:** codec change.
- The next release bumps `TOOL_VERSION`, then runs `backfill_sidecars.py`
and `backfill_event_shape.py`: about 8 h on the NAS (v0.34.0's took
13:13 → 21:16 on 2026-11-05).
- No schema change, no migration, and no stored time moves.
- **Report-less events gain a ZC frequency** in the existing `*_zc_freq` /
`*_zc_above_range` columns, so Terra-View shows a frequency where it
showed "—".
- Report-paired events keep the report's values, which are equal. A
report's "<1.0" still overlays as no value until the overlay is retired.
- Displacement and times of peak are not stored in the DB or `.h5` yet.
- **Sensor check results come from the unit's own records** (group E of the
file-only decode; `feat/sensor-check-results`, merged 2026-11-07). Measured
on DL2 2026-11-06.
- **Where they are:** the header of each sensor-check record (`0x3c` Tran ..
`0x3f` MicL), whose traces `minimateplus/sensor_check.py` already decoded
(reference D.6.13).
- **What it holds:** channel type, status, frequency × 10, ratio × 10 and
amplitude in mV.
- **Blastware prints them as they are:**
- 209,943 / 209,943 geophone frequencies and ratios
- 69,975 / 69,975 mic frequencies and amplitudes
- the result: "Passed" at status 0, "Check" at any other, "Disabled"
when the check is off
- **"Check" is the unit's own verdict.** K559L6N1's Tran is a Check at
8.1 Hz and 3.3, inside every passing range. SFM keeps the status code; its
bits are not decoded.
- New `Event.sensor_check_results`: channel → `SensorCheckResult`, with
`result`, `status`, `freq_hz`, `ratio` and `amplitude_mv`.
- **The tail of every event file is one record chain:** event record →
unit's summary → sensor checks → footer. It ends exactly at the file's end
on all 70,041 DL2 files.
- SFM now reads none of it unless it does.
- An unknown id inside an intact chain leaves only that record unread.
Before, it left everything after it unread too.
- **Decode checker:** 71 of 88 fields now match on every DL2 event, 59
before (run `20261106-125854`, 0 regressions). All 12 sensor-check fields
match on every event that has them.
- ⚠ **Operational:** codec change.
- Rides the next release's `TOOL_VERSION` bump and backfill with group D
part 2.
- No schema change and no migration.
- The results are on the decoded event only. They are not stored in the
DB, sidecar or `.h5` yet. Report-paired events keep the report's values
in the sidecar.
- **The Monitor Log line comes from the file's footer** (group F;
`feat/monitor-log`, merged 2026-11-09). Measured on DL2 2026-11-08.
- Blastware prints one line per event: the footer's start and stop, then
words for the footer's flag word `[18:20]` (reference D.6.14).
- The words: Event Recorded, then how the session ended — Keyboard, Remote
or Modem Exit, Timer Stop, Selfcheck Passed, Battery Low or Memory Full
Exit.
- Rebuilt that way it equals Blastware's line character for character on
69,983 / 69,983 DL2 lines.
- One line sets two session-end bits and prints the higher, so the order
of the others is inferred.
- Footer `[20:22]` is the trigger source again. `[24:26]` is still unknown.
- New `Event.monitor_log`: `MonitorLogLine(start, stop, flags,
description)`. It is read only when the record chain is whole, which
proves the footer.
- **Decode checker:** 72 of 88 fields now match on every DL2 event, 71
before (run `20261108-034313`, 0 regressions).
- ⚠ **Operational:** codec change. It rides the next release's
`TOOL_VERSION` bump and backfill. No schema change. The line is on the
decoded event only: not stored in the DB, sidecar or `.h5` yet.
- **Over range from the unit's own peaks: Blastware's `OORANGE`**
(`feat/decode-last-fields`, merged 2026-11-11; measured on DL2 2026-11-09;
reference D.6.15).
- **The rule:** a peak past full scale, 2,000 units (32,000 counts on
either geophone range; the mic in counts), is `OORANGE`. It holds per
channel and per histogram interval, from the unit's summary peaks, which
stay true where the stored samples clip or wrap.
- **The vector sum** is `OORANGE` exactly when a geophone is over: 43 / 43,
and never on its own (38 / 38 numeric, up to 14.49 in/s). That retracts
the open "vector sum alone" carve-out.
- **The report's "Out of Range" line** marks the mic over: 18 / 18.
- New `PeakValues.tran/vert/long/mic/pvs_over_range`, and
`event_file_io.over_full_scale()`.
- **Checker:** it matches `OORANGE` only by the flag, and a flag against a
printed number is a mismatch. The `saturation` carve-out now accepts no
DL2 event; it stays for a file without the unit's summary.
- **The checker reads each mic value in the unit Blastware printed.**
- The peak is read in its own `<Units>`, and a sample table by its cells
(a dB value is never under 60, psi never over 1). Blastware's event
`Units` line does not hold for the mic on every report.
- New carve-out `mic-units-mixed`, with evidence: a report that mixes dB
and psi in one mic column, or prints one unit in both mic columns of a
histogram row, is accepted when every differing cell is SFM's own value
in the other unit. 40 DL2 fields; a cell matching neither stays a
mismatch.
- **Decode checker:** **80 of 88 fields now match on every DL2 event**, 72
before (run `20261109-144544`, 0 regressions). What is left is 16 values
in two causes, left as they are by decision (Brian, 2026-11-11):
- the vector sum's last digit on 4 waveform/histogram twins: Blastware's is
about 1.5 ppm lower, cause unknown, and no fitted factor is applied;
- 4 accelerations: O117I1NK ×3 and S353I5PZ Vert.
- ⚠ **Operational:** codec change.
- It rides the next release's `TOOL_VERSION` bump and backfill.
- No schema change.
- The over-range flags are on the decoded event only: not stored in the
DB, sidecar or `.h5` yet.
- **Monitor logs (.MLG): SFM reads them and keeps each unit's monitoring
timeline** (`feat/mlg-import`, merged 2026-11-16). Spec
`docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md`.
- **Why (Brian, 2026-11-09):** every unit sends an `.MLG` at every call-in,
whatever its mode. A continuous-mode unit sends no event file on a quiet
day, so its `.MLG` is the only proof it was monitoring. That proof is what
a shot report attaches for a unit that did not trigger. Outage history is
the second use.
- **The format, measured** (reference D.4, rewritten):
- an 18-byte prefix, then length-led 292-byte records
- each record ends in a CRC-16/AUG-CCITT over `[0:288]`, little-endian:
3,329 / 3,329 records
- `minimateplus/mlg_file.py` reads it, checking every record's checksum,
and writes it: 16 / 16 real files rebuilt byte for byte
- the old unused writer in `blastware_file.py` (big-endian, a zero CRC
at the wrong end) is removed
- `minimateplus/crc.py` is the one CRC, now used by
`micromate/setup_block.py` too
- **Storage:** new tables `mlg_files` (one row per file received) and
`mlg_records` (one row per record, stored once). The original file is kept
under `<store>/<serial>/mlg/`.
- An empty file has no serial inside. It takes the longest known serial
its `<serial><counter>` name starts with, or is stored as unresolved,
never guessed.
- Only plain serials become directories.
- **The timeline** (`sfm/mlg_timeline.py`):
- **sessions:** how each ended, its events, and its trigger level as
logged
- **gaps and what each means:** call-in, scheduled off, lost power,
stopped by a person, memory full, no restart after a call-in, records
missing
- **clock steps:** the unit's clock steps back an hour at its first
call-in after daylight saving ends
- **call-ins:** delivered, no_file (a Modem Exit that left no file) and
nothing_new (an empty file)
- **"Was it monitoring at T"** answers monitoring / not_monitoring / unknown,
naming the records and file behind the answer. It never claims more than
the records show: a gap across a missing call-in number (files are
numbered) reads unknown.
- **Routes:** `POST /db/import/mlg_file`; `GET /db/units/{serial}/timeline`,
`/db/units/{serial}/monitoring_at`, `/db/mlg_records` and
`/db/mlg_files/{id}` (the original, for printing).
- **Tools:** `scripts/import_mlg_dir.py` (bulk import, with a dry run) and
`scratch/check_mlg_vs_events.py` (cross-check against the event files'
footers).
- **Measured on DL2's 1,273-file sample** (BE6907 and BE12844 from 2026,
BE8081 from 2018–19):
- 0 errors, 0 unresolved
- BE8081's 785 Event Recorded records match its 785 event files, both ways
- every recorded event falls inside a session
- two real outages: BE6907 recorded nothing for 14 days from 2026-10-07,
and BE8081 didn't restart after a failed call over Labor Day 2019
- ⚠ **Operational:**
- Two new tables are created on first start: no migration, no backfill,
no `TOOL_VERSION` bump (the event decode and the `.h5` files are
unchanged).
- Nothing arrives until `.MLG`s are imported. The watcher does not forward
them yet (`../series3-watcher`, Brian's call).
- DL2's full set (~86,000 files) loads with `scripts/import_mlg_dir.py`.
Load it from a robocopy copy: a Windows zip shifts summer file dates by
an hour.
- Terra-View shows none of it yet.
### Fixed
- **The mic's own range: a range-1 mic reads an eighth.**
- The mic's channel block has a range byte at the geophones' offset
(label + 29). At `1` each count is 0.25 / 8 Pa.
- It is set on 7 DL2 events, and SFM read their mic 8× high, e.g.
K557J1XQ.GF0W: 79.4 dB(L), not 97.5.
- It is independent of the geophone range.
- New `Event.mic_range`.
- ⚠ **Operational:** after the next release's backfill those events' DB
`mic_ppv`, and their `.h5` mic samples, drop 8×. Report-paired events
keep the report's value.
- **The mic dB offset is 81.938216**, not 81.9384.
- Every count Blastware printed in DL2 (1,704 in sample tables, 520 in
histogram intervals, 494 histogram peaks) leaves
[81.9382058, 81.9382266].
- It fixes mic values one digit off at a rounding edge (count 463: 135.2,
not 135.3).
- Operational: dB is not stored. SFM's own reports change in the last
digit at most.
- **The test suite runs green, with 0 failures.** The 16 long-standing "known
failures" were two stale tests:
- 15 ASCII-report tests read from a removed `decode-re/` folder;
- 1 expected 0.0 where the decoder deliberately leaves peaks unknown.
A report-pairing test that the same stale path had been skipping now runs.
- **A unit without a mic keeps its sensor-check traces.** The trace decoder
required all four records `0x3c`–`0x3f`, so BE16352 (no `0x3f`) had none in
its `.h5`: all 8 of its DL2 events. Its three geophone traces are now decoded.
- ⚠ Operational: they appear after the next release's backfill.
- **The decode checker reads the mic's above-range ZC flag under its real name**
(`mic_zc_above_range`). A mic ">100" could never match before.
- **An escaped checksum is the checksum, not data (#58;
`fix/escaped-checksum`, merged 2026-11-12).** Measured on every recorded
Series-3 reply.
- **The bug:** a MiniMate sends a checksum of 02, 03 or 04 as `10 X`.
`S3FrameParser` kept that `10` as the reply's last data byte, so the reply
read one byte long.
- **The evidence:** 60 recordings, March to October 2026, three units.
SUM8 of the unescaped payload is the checksum on 7,747 / 7,747 replies;
272 arrived escaped, and every one checks as an escape pair.
- **What it misread:**
- live status (SUB 1C): battery and memory are counted from the end. 12 of
760 recorded status replies read 419.84 V and 251,654,656 bytes, for
6.76 V and 983,026;
- the call-home read (SUB 2C) came out one byte long, and SFM refused the
unit as "monitoring".
- The settings and waveform reads already took only what they asked for
(benched 2026-11-04); those trims stay as guards.
- **The 5A file builder had compensated since April.** With the parser
fixed, that rule would drop a real `0x10` ending a chunk (one A5 chunk in
ten ends in one), so it is removed. The 8 recorded BE9441 events still
build byte for byte as Blastware's own files.
- **`.a5.pkl` frames:** `A5_PICKLE_VERSION` 2. `load_a5` drops the stray
`0x10` from version-1 frames; all 28 pickles on the dev box rebuild
byte-identical.
- **`checksum_valid` now sums the unescaped payload**, and every recorded
reply checks. It had read about a third of good replies as bad; nothing
decides on it.
- Operational: none for stored events (prod's Series-3 events arrive through
`save_imported_bw`, which keeps no frames). No schema change, no
`TOOL_VERSION` bump, no backfill.
### Protocol / Documentation
- **Reference D.6.12 (new):**
- the unit's event summary: its layout, and what Blastware prints from it
- why recomputing failed
- the two odd 2019 files
- group D part 1 (time of peak, acceleration with the fitted g),
documented there too
- **Reference §7.8.9:** its "constant, meaning ❓" bytes amended in place. They
are the vector-sum peak's sample, then the next record's lead.
- **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.2 and D.4.2, corrected in place:** an `.MLG` stores its dates
little-endian, and its record flags are the event footer's flag word and
trigger source, little-endian. Measured on the 4 bench `.MLG` files; a
BE9441 session lines up 20 / 20 with its event files. `write_mlg()` writes
dates big-endian; nothing calls it.
- **Reference D.6.14 (new):** the monitor log. **D.3.3:** footer `[18:24]`
identified: flags, trigger source and zero.
- **Reference D.6.13 (new):**
- the record chain to the footer
- the sensor-check header and what Blastware prints from it
- **Reference D.3.3:** the footer is the chain's last record (`00 1a`, id `0e`).
- **Reference D.6.12:** its "`0x3c` / `0x3d`, before and after" retracted in
place. It is one record per channel.
- **Reference D.6.15 (new):** over range.
- **Reference D.6.6, corrected in place:** the mic's range byte; the dB offset
(the old window was too high); Blastware's mic unit labels and the mixed
columns.
- **Reference D.3.3:** the footer's last two bytes are a CRC-16/AUG-CCITT (init
`0x1D0F`), big-endian, over the footer record from its length prefix `00 1a`
through footer `[0:22]`. It holds on 70,041 / 70,041 DL2 files. Found by the
`.MLG` session; it retracts 2026-11-08's "no common CRC-16 fits".
- **Reference D.6.11 and CLAUDE.md:** the 80 / 88 status, and the two causes
left by decision.
- **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).
- **Reference D.4, rewritten:** the `.MLG` format, measured.
- Its framing, CRC and fields.
- How Blastware writes the files: one per call-in, no record repeated, and
a Modem Exit that is not a file's last record was a call that left no file.
- How a session appears, and the cross-check against the event files.
- The old D.4.1–D.4.3 (a 308-byte header, a CRC at each record's start) are
kept, marked retracted.
### Migration
⚠ **A backfill, no schema migration.** Not rehearsed on a prod snapshot.
**Before you start:**
- `TOOL_VERSION` is bumped to **0.35.0**, which gates the regeneration, so no
`--force` is needed.
- **Back up `seismo_relay.db` first.**
**Then:**
1. **Deploy.** On first start SFM creates `mlg_files` and `mlg_records`, both
empty. No other table changes, and no event row or id moves.
2. **In the `sfm` container, run `python scripts/backfill_sidecars.py`.** It
re-decodes every event file. ⚠ **Plan about 8 hours**: v0.34.0's run took
13:13 → 21:16 on 2026-11-05.
- **Report-less events gain a ZC frequency** in the existing `*_zc_freq` /
`*_zc_above_range` columns. Terra-View shows a frequency where it showed
"—".
- **The range-1 mic events' `mic_ppv` and `.h5` mic samples drop 8×** (7
in DL2; e.g. K557J1XQ.GF0W reads 79.4 dB(L), not 97.5). Report-paired
events keep the report's value.
- **A unit without a mic gets its geophone sensor-check traces** in its
`.h5` (BE16352's 8 DL2 events).
- **On the decoded event only, not stored in the DB or `.h5` yet:** the
sensor-check results, the Monitor Log line, over range, displacement and
times of peak.
- No stored event time moves.
3. **Run `python scripts/backfill_event_shape.py --db-path
bridges/captures/seismo_relay.db --store-root bridges/captures/waveforms`.**
It recomputes the shape and offset metrics.
4. **Optional, any time after: load DL2's `.MLG`s.**
- Copy `C:\Blastware 10\Event\autocall home` with robocopy, not a zip: a
Windows zip shifts summer file dates by an hour.
- Run `python scripts/import_mlg_dir.py <dir> --db-path ... --store-root
...`, with `--dry-run` first.
- On the dev box, a 1,273-file sample loaded in 13 s with 0 errors.
**Terra-View** needs no change: it reads rows by id. ZC frequencies appear,
and the range-1 mic values drop.
## v0.34.0 — 2026-11-04 ## v0.34.0 — 2026-11-04
**SFM reaches Series-4 parity, and reads most of Blastware's report from the **SFM reaches Series-4 parity, and reads most of Blastware's report from the
+84 -24
View File
@@ -2,7 +2,7 @@
Ground-up Python replacement for **Blastware**, Instantel's Windows-only software for Ground-up Python replacement for **Blastware**, Instantel's Windows-only software for
managing MiniMate Plus seismographs. Connects over direct RS-232 or cellular modem managing MiniMate Plus seismographs. Connects over direct RS-232 or cellular modem
(Sierra Wireless RV50 / RV55). Current version: **v0.34.0**. (Sierra Wireless RV50 / RV55). Current version: **v0.35.0**.
Stack-level context — which repo owns what, and how the three project versions Stack-level context — which repo owns what, and how the three project versions
pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
@@ -10,7 +10,7 @@ pair — lives in `../terra-view/docs/tmi-stack.md`, which is also loaded as
--- ---
## Where things stand (updated 2026-11-03) ## Where things stand (updated 2026-11-16)
Read this first when picking the project back up. Read this first when picking the project back up.
@@ -31,6 +31,17 @@ Read this first when picking the project back up.
3. switch ingest so reports are kept only for checking (retire the overlay) 3. switch ingest so reports are kept only for checking (retire the overlay)
4. stop the watchers forwarding reports 4. stop the watchers forwarding reports
- Until step 3, prod keeps the report as truth wherever one exists. - Until step 3, prod keeps the report as truth wherever one exists.
- **🔑 Monitor logs (.MLG) and each unit's timeline (v0.35.0, 2026-11-16).**
- **What:** every unit sends an `.MLG` at every call-in, in every mode. SFM reads it
(`minimateplus/mlg_file.py`, reference D.4) and keeps each unit's monitoring timeline:
sessions, gaps and what they mean, clock steps, and the call-ins, including calls that
left no file.
- **Why (Brian, 2026-11-09):** shot reports need proof that a unit which did not trigger was
monitoring. Continuous-mode units send no file on a quiet day. Outage history is the
second use.
- **Spec:** `docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md`.
- **Not yet:** the watcher still does not forward `.MLG`s (its repo, Brian's call), and
Terra-View shows none of it.
- **🔑 The Series-3 decode checker (2026-10-29; v0.33.0).** - **🔑 The Series-3 decode checker (2026-10-29; v0.33.0).**
- **Goal:** SFM produces everything Blastware reports, from the event file - **Goal:** SFM produces everything Blastware reports, from the event file
alone (spec and plan in `docs/superpowers/`). alone (spec and plan in `docs/superpowers/`).
@@ -45,10 +56,17 @@ Read this first when picking the project back up.
- **Byte layouts** of every field read from the file: - **Byte layouts** of every field read from the file:
`docs/instantel_protocol_reference.md` Appendix **D.6**. `docs/instantel_protocol_reference.md` Appendix **D.6**.
**Where the decoder stands on `dev`** (2026-11-03, run `20261103-213557`): **Where the decoder stands** (v0.35.0; run `20261109-144544`):
**47 of 88 fields match on every event**, up from about 6 before v0.33.0. **80 of 88 fields match on every event**, up from about 6 before v0.33.0,
Everything below on `dev` shares one release and one backfill. Groups A, B 47 before group D and 59 after it. Every other field matches or is accepted
and C are done, which also fixed #50 and #51. under a carve-out with its evidence.
- Groups A, B, C and D part 1 shipped in v0.34.0 (#50, #51).
- D part 2 (the unit's own summary), E (the sensor check), F (the monitor
log), over range and the mic fixes shipped in v0.35.0, with its backfill
(`TOOL_VERSION` 0.35.0).
- Left: 16 values in two causes -- the vector sum's last digit on 4
waveform/histogram twins, and 4 accelerations (reference D.6.11). Brian
decided 2026-11-11 to leave both as they are, documented.
- 🔑 **Events are keyed unit + time + type:** `UNIQUE(serial, timestamp, - 🔑 **Events are keyed unit + time + type:** `UNIQUE(serial, timestamp,
record_type)` (#51, Migration 3 in `sfm/database.py`, `dev`). record_type)` (#51, Migration 3 in `sfm/database.py`, `dev`).
- A waveform and its histogram may share a second: 209 times in prod's - A waveform and its histogram may share a second: 209 times in prod's
@@ -66,6 +84,26 @@ Read this first when picking the project back up.
- group B (`dev`, D.6.9): interval frequencies, vector sums, size, stop - group B (`dev`, D.6.9): interval frequencies, vector sums, size, stop
- group C (`dev`, D.6.10): histogram start and stop from the histogram's - group C (`dev`, D.6.10): histogram start and stop from the histogram's
own event record, interval times, and the peak dates and times own event record, interval times, and the peak dates and times
- group D (D.6.12): ZC frequency on every record type, peak displacement,
times of peak and the vector-sum time.
- These are **the unit's own values**, stored in the file right after
the event record. Blastware prints them; recomputing from the samples
reached only 46% and 84%.
- Peak acceleration is Blastware's own computation from the samples
(fitted g 386.2238): 6,522–6,523 / 6,524. The unit stores its own
too, which Blastware ignores. The misses are O117I1NK.R70W, whose
samples wrap at the trigger, and S353I5PZ.EP0W Vert (open).
- group E (D.6.13): sensor check frequency, ratio, mic amplitude and
result, every record type. Also the unit's own, in each sensor-check
record's header. "Check" is the unit's status code, not a limit SFM can
recompute.
- group F (D.6.14): the Monitor Log line. It is the footer's start and
stop plus words from the footer's flag word (Modem Exit, Timer Stop,
Keyboard Exit…), character for character on 69,983 / 69,983.
- 🔑 **The tail of every event file is one record chain** (D.6.13):
event record → unit summary → sensor checks → footer, each
`[length][id][payload]`. It ends exactly at the file's end on all 70,041
DL2 files, and SFM reads none of it otherwise.
- 🔑 **"Units" means three different things — keep them apart** (reference - 🔑 **"Units" means three different things — keep them apart** (reference
D.6.6): D.6.6):
- **Recorded data:** the mic samples and interval peaks in the file, as - **Recorded data:** the mic samples and interval peaks in the file, as
@@ -90,20 +128,29 @@ Read this first when picking the project back up.
- Blastware's "Number of Intervals" is the monitoring time ÷ the interval: - Blastware's "Number of Intervals" is the monitoring time ÷ the interval:
a carve-out, 8 events. a carve-out, 8 events.
- ✅ **Histogram PVS** = the stored per-interval PVS²: 69,989 / 70,042. - ✅ **Histogram PVS** = the stored per-interval PVS²: 69,989 / 70,042.
**Mic:** one count = 0.25 Pa, dB offset 81.9384; a few dozen stragglers. **Mic:** one count = 0.25 Pa (an eighth at mic range 1, the mic block's
label + 29), dB offset 81.938216 (2026-11-09; 81.9384 was too high).
- ✅ **Over range (D.6.15):** a peak past 2,000 units (32,000 counts; the
mic in counts) is Blastware's `OORANGE`, per channel and per interval; the
vector sum is `OORANGE` exactly when a geophone is, never on its own.
- 🔑 **Blastware's mic unit labels don't hold on every report** (D.6.6): the
peak carries its own `<Units>`, a sample table's cells say its unit, and
a few reports mix dB and psi in one column (carve-out `mic-units-mixed`).
- ❌ **Open:** - ❌ **Open:**
- the mic stragglers: ~20 one-minute histograms with an interval or two off - the vector sum's last digit on 4 waveform/histogram twins: Blastware's
- Blastware prints `OORANGE` when the vector sum alone exceeds the range value is ~1.5 ppm lower, cause unknown (no factor applied)
(a carve-out to prove) - 4 accelerations (D.6.12)
- ⬜ **Not read yet, in the order proposed** (2026-11-03): - ⬜ **Not read yet, in the order proposed** (2026-11-03):
- ~~**A. Setup fields**~~ ✅ done on `dev`. - ~~**A. Setup fields**~~ ✅ done on `dev`.
- ~~**B. Histogram interval detail**~~ ✅ done on `dev`. Frequencies (#50), - ~~**B. Histogram interval detail**~~ ✅ done on `dev`. Frequencies (#50),
per-interval PVS, interval size, stop. per-interval PVS, interval size, stop.
- ~~**C. #51 timing**~~ ✅ done on `dev`. - ~~**C. #51 timing**~~ ✅ done on `dev`.
- **D. Blastware's waveform calculations:** ZC frequency, acceleration, - ~~**D. Blastware's waveform calculations**~~ ✅ done. ZC frequency,
displacement, time of peak. displacement and time of peak are the unit's own (D.6.12); acceleration
- **E. Sensor check results.** is Blastware's.
- **F. Monitor log:** probably not in the event file at all. - ~~**E. Sensor check results**~~ ✅ done (D.6.13). Plus the traces of a
unit without a mic, which the trace decoder had been dropping.
- ~~**F. Monitor log**~~ ✅ done (D.6.14): in the footer after all.
- 🔶 **#48 is still open.** The event file's setup block puts the pre-trigger - 🔶 **#48 is still open.** The event file's setup block puts the pre-trigger
where the 1A "stable anchor" `be 80 00 00 00 00` sits. In the file, though, where the 1A "stable anchor" `be 80 00 00 00 00` sits. In the file, though,
it is **each event's own pre-trigger**, not the setting: 253–256 samples at it is **each event's own pre-trigger**, not the setting: 253–256 samples at
@@ -325,9 +372,12 @@ Read this first when picking the project back up.
- ⚠ **A MiniMate's open setup menu wins:** a change sent while it is open is - ⚠ **A MiniMate's open setup menu wins:** a change sent while it is open is
lost when the operator presses Cancel or Save (the menu writes its whole-block lost when the operator presses Cancel or Save (the menu writes its whole-block
copy back). The preview warns; nobody in the menus while the office sends. copy back). The preview warns; nobody in the menus while the office sends.
- ⚠ An escaped checksum byte leaves a stray `0x10` in a Series-3 reply's data - ~~⚠ An escaped checksum byte leaves a stray `0x10` in a Series-3 reply's data
(about 1 frame in 85). The settings and waveform reads take exactly what they (about 1 frame in 85).~~ **Fixed in the parser (#58, 2026-11-06, measured):**
asked for; other reads are unaudited for it. a checksum of 02/03/04 arrives as `10 X`, and that `10` is never data (7,747 /
7,747 recorded replies check). It had misread 1C battery/memory (419.84 V) and
the 2C call-home read; the 5A file builder's own compensation is gone with it,
and pre-fix `.a5.pkl` frames are converted on load (pickle version 2).
- ⚠ The Micromate scheduler switch is not in any block SFM reads, so a leftover - ⚠ The Micromate scheduler switch is not in any block SFM reads, so a leftover
schedule blocks a change even with the scheduler Off. schedule blocks a change even with the scheduler Off.
**Ring path measured the same night:** with THOR's watchdog off, a call-home **Ring path measured the same night:** with THOR's watchdog off, a call-home
@@ -460,9 +510,11 @@ Read this first when picking the project back up.
retracted 5A model: SUB 71's "offset 0x1004" reads as length 0x0400 escaped, and retracted 5A model: SUB 71's "offset 0x1004" reads as length 0x0400 escaped, and
Blastware escapes `03` in write data. A write whose payload holds a bare Blastware escapes `03` in write data. A write whose payload holds a bare
02/03/04/10 may be malformed. One Blastware config-write capture settles it. 02/03/04/10 may be malformed. One Blastware config-write capture settles it.
🔑 **Replies follow the same rule (measured, 748/748):** every 02/03/04/10 escaped, 🔑 **Replies follow the same rule (measured, 748/748; 7,747 / 7,747 across every
checksum = SUM8 of the unescaped payload. The "S3 checksums frequently fail" belief recording, #58):** every 02/03/04/10 escaped, the checksum too, and checksum = SUM8
is `S3FrameParser` summing its output with the `10` of `10 02/03/04` still in it. of the unescaped payload. The "S3 checksums frequently fail" belief was
`S3FrameParser` summing its output with the `10` of `10 02/03/04` still in it
(fixed 2026-11-06: `checksum_valid` holds on every recorded reply).
~~**⚠ KNOWN BUG — the 5A walk breaks once a unit's buffer crosses 64 KB.**~~ ~~**⚠ KNOWN BUG — the 5A walk breaks once a unit's buffer crosses 64 KB.**~~
`parse_strt_end_offset()` returns only `(end_key[2] << 8) | end_key[3]`, `parse_strt_end_offset()` returns only `(end_key[2] << 8) | end_key[3]`,
discarding the key's page byte. An event starting at `0x0111F2A2` and ending discarding the key's page byte. An event starting at `0x0111F2A2` and ending
@@ -968,8 +1020,9 @@ with zero mismatches. Before: 1 of 1196.
shows mic in dB(L) with ~6 dB quantization steps. Need to map shows mic in dB(L) with ~6 dB quantization steps. Need to map
ADC counts → dB(L) for direct comparison; likely ADC counts → dB(L) for direct comparison; likely
`dB = 20*log10(|counts|) + offset` or similar.~~ **Solved in v0.33.0.** `dB = 20*log10(|counts|) + offset` or similar.~~ **Solved in v0.33.0.**
One count = 0.25 Pa, and dB(L) = 81.9384 + 20·log10(|count|), an offset One count = 0.25 Pa, and dB(L) = 81.938216 + 20·log10(|count|), an offset
measured from Blastware's printed values (reference D.6.6). measured from Blastware's printed values (reference D.6.6; 81.9384 until
2026-11-09).
- **Variable-prefix segment descriptors** — 3 of the 75 ground-truth - **Variable-prefix segment descriptors** — 3 of the 75 ground-truth
production events still truncate. The walk reaches a segment header production events still truncate. The walk reaches a segment header
whose channel-id field is preceded by a *variable-width* prefix (2, 4 whose channel-id field is preceded by a *variable-width* prefix (2, 4
@@ -1817,10 +1870,16 @@ GET /db/monitor_log?serial=BE11529&from_dt=&to_dt= ← monitoring intervals
GET /db/sessions?serial=BE11529&limit=50 ← ACH call-home sessions, newest first GET /db/sessions?serial=BE11529&limit=50 ← ACH call-home sessions, newest first
PATCH /db/events/{id}/false_trigger?value=true ← flag/unflag false triggers PATCH /db/events/{id}/false_trigger?value=true ← flag/unflag false triggers
GET /db/device_commands?serial=UM20147&limit=100 ← start/stop audit trail (sent, states), newest first GET /db/device_commands?serial=UM20147&limit=100 ← start/stop audit trail (sent, states), newest first
POST /db/import/mlg_file?serial=&call_in=true ← Blastware .MLG upload (form field mtimes = JSON {name: unix s UTC})
GET /db/units/{serial}/timeline?from_dt=&to_dt= ← sessions, gaps (+ meaning), clock steps, call-ins, from .MLGs
GET /db/units/{serial}/monitoring_at?at= ← monitoring / not_monitoring / unknown at a unit-clock time
GET /db/mlg_records?serial=BE8081&from_dt=&to_dt= ← raw .MLG records, oldest first
GET /db/mlg_files/{id} ← the original .MLG, byte for byte
``` ```
DB file: `bridges/captures/seismo_relay.db` (default; override with `--db-path` at startup). DB file: `bridges/captures/seismo_relay.db` (default; override with `--db-path` at startup).
All DB endpoints are read-only except `PATCH /db/events/{id}/false_trigger`. All DB endpoints are read-only except `PATCH /db/events/{id}/false_trigger` and the
`/db/import/*` uploads.
--- ---
@@ -2011,7 +2070,8 @@ A re-analysis in the prior session incorrectly concluded `section[1]` is always
and is device-specific. The 2026-04-09 re-analysis confirms `section[1]` was right. and is device-specific. The 2026-04-09 re-analysis confirms `section[1]` was right.
**IMPORTANT — `frame.data` has checksum already stripped** by `S3FrameParser._finalise()` **IMPORTANT — `frame.data` has checksum already stripped** by `S3FrameParser._finalise()`
(`raw_payload = body[:-1]`; `data = raw_payload[5:]`). There is NO trailing checksum byte in (`raw_payload` = the body less its checksum, and less the `10` of an escaped one since #58;
`data = raw_payload[5:]`). There is NO trailing checksum byte in
`section`. All relative-from-end offsets must account for this. `section`. All relative-from-end offsets must account for this.
Battery and memory fields are present in **both** states: Battery and memory fields are present in **both** states:
+25 -4
View File
@@ -1,4 +1,4 @@
# seismo-relay `v0.34.0` # seismo-relay `v0.35.0`
A ground-up replacement for **Blastware** — Instantel's aging Windows-only A ground-up replacement for **Blastware** — Instantel's aging Windows-only
software for managing seismographs. Supports both the **MiniMate Plus software for managing seismographs. Supports both the **MiniMate Plus
@@ -114,6 +114,19 @@ over direct RS-232 or cellular modem (Sierra Wireless RV50 / RV55).
> ⚠ The deploy migrates the events table and owes an overnight backfill that > ⚠ The deploy migrates the events table and owes an overnight backfill that
> moves every Series-3 histogram time by one second. See the changelog's > moves every Series-3 histogram time by one second. See the changelog's
> *Migration*. > *Migration*.
>
> **v0.35.0 (2026-11-16)** reaches 80 of Blastware's 88 report fields from the
> event file alone, and reads monitor logs.
> - **The file-only decode, groups D–F:** ZC frequency, displacement, times of
> peak, the sensor check, the Monitor Log line and over range, all from the
> unit's own records. A range-1 mic no longer reads 8× high.
> - **Monitor logs (.MLG):** SFM reads Blastware's `.MLG` files and keeps each
> unit's monitoring timeline, so it can answer "was unit X monitoring at T"
> for a shot report. See the `.MLG` endpoints below.
> - **An escaped checksum is the checksum, not data (#58).**
>
> ⚠ The deploy owes a backfill (about 8 hours on the NAS) and creates two
> empty tables. See the changelog's *Migration*.
> See [CHANGELOG.md](CHANGELOG.md) for full version history. > See [CHANGELOG.md](CHANGELOG.md) for full version history.
--- ---
@@ -272,6 +285,10 @@ Query the SQLite database written by `ach_server.py`. All read-only except
| `GET` | `/db/monitor_log` | Monitoring intervals | | `GET` | `/db/monitor_log` | Monitoring intervals |
| `GET` | `/db/sessions` | ACH call-home session history | | `GET` | `/db/sessions` | ACH call-home session history |
| `PATCH` | `/db/events/{id}/false_trigger?value=true` | Flag / unflag false triggers | | `PATCH` | `/db/events/{id}/false_trigger?value=true` | Flag / unflag false triggers |
| `GET` | `/db/units/{serial}/timeline?from_dt=&to_dt=` | A unit's monitoring timeline from its `.MLG`s: sessions (how each ended, events, trigger level), gaps and what each means, clock steps, call-ins (delivered / no_file / nothing_new). Times are the unit's own clock. |
| `GET` | `/db/units/{serial}/monitoring_at?at=` | Was the unit monitoring at `at`: `monitoring` / `not_monitoring` / `unknown`, with the session or gap that says so and the records and file behind it. |
| `GET` | `/db/mlg_records?serial=&from_dt=&to_dt=` | A unit's raw `.MLG` records, oldest first |
| `GET` | `/db/mlg_files/{id}` | The original `.MLG`, byte for byte (for printing or opening in Blastware) |
### File ingest endpoints ### File ingest endpoints
@@ -286,6 +303,7 @@ its Blastware filename and moved in place (see *Database* below).
|--------|-----|-------------| |--------|-----|-------------|
| `POST` | `/db/import/blastware_file` | Series III: `.AB0*` / `.N00` binaries + paired `_ASCII.TXT`. Source: `series3-watcher`. | | `POST` | `/db/import/blastware_file` | Series III: `.AB0*` / `.N00` binaries + paired `_ASCII.TXT`. Source: `series3-watcher`. |
| `POST` | `/db/import/idf_file` | Series IV: `.IDFH` / `.IDFW` binaries + paired `.IDFW.txt` / `.IDFH.txt`. Source: `thor-watcher`. | | `POST` | `/db/import/idf_file` | Series IV: `.IDFH` / `.IDFW` binaries + paired `.IDFW.txt` / `.IDFH.txt`. Source: `thor-watcher`. |
| `POST` | `/db/import/mlg_file` | Series III monitor logs (`.MLG`), with each file's modified time as a JSON form field `mtimes`. Each file stored once; a damaged file stores nothing. Source: `scripts/import_mlg_dir.py` today; `series3-watcher` does not forward `.MLG`s yet. |
### DB snapshot / restore endpoints ### DB snapshot / restore endpoints
@@ -402,13 +420,15 @@ reverse-engineering plan. The `micromate/idf_file.py` stub is where
`ach_server.py` and the file-ingest endpoints write to `ach_server.py` and the file-ingest endpoints write to
`bridges/captures/seismo_relay.db` (SQLite, WAL mode) via the `SeismoDb` `bridges/captures/seismo_relay.db` (SQLite, WAL mode) via the `SeismoDb`
persistence layer. Three tables, all unit-keyed by serial number: persistence layer. The main tables, all unit-keyed by serial number:
| Table | Key | Contents | | Table | Key | Contents |
|-------|-----|----------| |-------|-----|----------|
| `ach_sessions` | UUID | Per-call-home audit record: serial, timestamp, peer IP, events_downloaded, monitor_entries, duration_seconds | | `ach_sessions` | UUID | Per-call-home audit record: serial, timestamp, peer IP, events_downloaded, monitor_entries, duration_seconds |
| `events` | UUID, UNIQUE(serial, timestamp) | Triggered events: timestamp, Tran/Vert/Long/VectorSum/Mic PPV, project/client/operator/sensor_location strings, sample_rate, record_type, false_trigger flag, **`device_family`** ("series3" / "series4"), `blastware_filename` (binary at-rest in `waveforms/`), sidecar references | | `events` | UUID, UNIQUE(serial, timestamp) | Triggered events: timestamp, Tran/Vert/Long/VectorSum/Mic PPV, project/client/operator/sensor_location strings, sample_rate, record_type, false_trigger flag, **`device_family`** ("series3" / "series4"), `blastware_filename` (binary at-rest in `waveforms/`), sidecar references |
| `monitor_log` | UUID, UNIQUE(serial, start_time) | Monitoring intervals: serial, waveform_key, start_time, stop_time, duration_seconds, geo_threshold_ips | | `monitor_log` | UUID, UNIQUE(serial, start_time) | Monitoring intervals from live 0x0A reads (`ach_server.py` only): serial, waveform_key, start_time, stop_time, duration_seconds, geo_threshold_ips |
| `mlg_files` | UUID, UNIQUE(file_name, sha256) | One row per Blastware `.MLG` received (v0.35.0): serial, size, record count, empty flag, call-in flag, the file's modified time, where the original is kept, and the call it came from (`last_stop`, `no_file_stops`) |
| `mlg_records` | UUID, UNIQUE(serial, start, stop, flag word, trigger source) | One row per `.MLG` log record, stored once: start, stop (NULL = monitoring started), flag word, trigger source, Blastware's text and trigger level |
**Deduplication is by `(serial, timestamp)`** — the device clock is the **Deduplication is by `(serial, timestamp)`** — the device clock is the
stable natural key. Repeat call-homes or re-runs UPSERT the row in place, stable natural key. Repeat call-homes or re-runs UPSERT the row in place,
@@ -533,6 +553,7 @@ Use **com0com** or **VSPD** to create the virtual COM pair on Windows.
- [x] Monitor control (start/stop, status polling, battery/memory) - [x] Monitor control (start/stop, status polling, battery/memory)
- [x] Monitor log entries (continuous monitoring intervals without full waveform download) - [x] Monitor log entries (continuous monitoring intervals without full waveform download)
- [x] Blastware file ingest at `/db/import/blastware_file` (paired with `series3-watcher`) - [x] Blastware file ingest at `/db/import/blastware_file` (paired with `series3-watcher`)
- [x] Blastware monitor logs (`.MLG`) at `/db/import/mlg_file`, and each unit's monitoring timeline (`/db/units/{serial}/timeline`, `/monitoring_at`) (v0.35.0)
**Series IV (Micromate / Thor) device support:** **Series IV (Micromate / Thor) device support:**
- [x] Thor IDF file ingest at `/db/import/idf_file` (paired with `thor-watcher`, v0.18.0+) - [x] Thor IDF file ingest at `/db/import/idf_file` (paired with `thor-watcher`, v0.18.0+)
@@ -542,7 +563,7 @@ Use **com0com** or **VSPD** to create the virtual COM pair on Windows.
- [ ] Live-device protocol — pending codec - [ ] Live-device protocol — pending codec
**Data persistence:** **Data persistence:**
- [x] SQLite database (`seismo_relay.db`) with `events`, `monitor_log`, `ach_sessions` tables - [x] SQLite database (`seismo_relay.db`) with `events`, `monitor_log`, `ach_sessions`, `device_commands`, `mlg_files` and `mlg_records` tables
- [x] Per-row `device_family` column ("series3" / "series4") for clean UI / unit-of-measurement dispatch (v0.19.0+) - [x] Per-row `device_family` column ("series3" / "series4") for clean UI / unit-of-measurement dispatch (v0.19.0+)
- [x] Deduplication by `(serial, timestamp)` — natural key handles post-erase counter resets - [x] Deduplication by `(serial, timestamp)` — natural key handles post-erase counter resets
- [x] UPSERT on re-import refreshes every device-authoritative field (peaks, project, sample_rate); preserves operator review state (`false_trigger`) - [x] UPSERT on re-import refreshes every device-authoritative field (peaks, project, sample_rate); preserves operator review state (`false_trigger`)
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,655 @@
# Monitor logs (.MLG) and each unit's monitoring timeline — Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** SFM reads Blastware `.MLG` files, stores them, and answers "was unit X monitoring at
time T?" and "when was it not, and why?" from each unit's monitoring timeline.
**Architecture:**
- **Codec library:** a pure reader and writer in `minimateplus/mlg_file.py`.
- **SFM:**
- two new tables, plus the original files kept in the waveform store
- one ingest function shared by the HTTP route and the bulk-import script
- the timeline as a pure function over stored rows, computed on each request
**Tech Stack:** Python 3.10, FastAPI, SQLite (`sfm/database.py`), pytest.
**Spec:** `docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md`. Read it first: the
measured format, session shapes and anti-goals are there and are not repeated here.
## Global Constraints
- **Where to work:** worktree `~/seismo-relay-mlg`, branch `feat/mlg-import`.
- Never commit to `dev` or `main`.
- Do not touch `CHANGELOG.md` (it is written on `dev` at merge).
- **Do not edit** `minimateplus/event_file_io.py`, `decode_check.py`, `histogram_codec.py` or
`waveform_codec.py`. Another session owns them; import from them only.
- **Running tests:** `cd ~/seismo-relay-mlg && ~/seismo-relay/.venv/bin/python -m pytest …`.
- The worktree has no venv. The tests put the worktree first on `sys.path`.
- `httpx` is not installed, so `starlette.testclient` tests skip silently. Test routes by
calling the route functions directly.
- **Baseline:** 1,659 passed, 63 skipped, 0 failed. Every commit keeps 0 failed. Read the
summary line, not just the exit code.
- That baseline needs the main checkout's git-ignored fixtures in the worktree. They were
copied on 2026-11-13; without them, 13 `idf`/`save_shape` tests fail.
- If they are missing: `rsync -a --ignore-existing ~/seismo-relay/tests/fixtures/ tests/fixtures/`
- **The codec library stays pure:** `minimateplus/` never imports `sfm`, never touches a DB,
and does no I/O beyond reading a path it was given.
- **The checksum:** CRC-16/AUG-CCITT (poly `0x1021`, init `0x1D0F`, no reflection), over
`record[0:288]`, stored little-endian at `record[290:292]`. Bytes `[288:290]` are `00 00`.
- **The format:**
- prefix `10 00 01 80 00 00 "Instantel\0" 07 2c` (18 bytes), then whole 292-byte records
- each record starts with its length `22 01` (290 LE)
- id `0e a0` is the header record (always first), `0e 80` a log record
- year little-endian in every timestamp
- **Time:** unit times are naive `datetime`s on the unit's own clock, stored with
`.isoformat()` and never converted. File times are aware UTC `datetime`s.
- **Fixtures:** `tests/fixtures/` is git-ignored, so new fixtures need `git add -f`.
- **Docs:** `docs/instantel_protocol_reference.md` is LF (enforced by `tests/test_line_endings.py`).
- **Commit messages** end with:
```
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
```
## Review Focus
1. **An empty file whose name prefix matches two known serials** (`BE11010304.MLG` with both
`BE1101` and `BE11010` known) resolves to the longest, `BE11010`. Test: Task 4,
`test_empty_file_takes_the_longest_known_serial`.
2. **One request with a good file and a corrupted one** stores the good file and refuses the bad
one per file. Nothing of the bad one lands: no row, no file in the store. Test: Task 6,
`test_import_route_stores_good_file_and_refuses_bad_one`.
3. **The same open "monitoring started" record arriving in a second file** (a re-forward, or a
cable download) is stored once, despite its NULL stop. Test: Task 3,
`test_open_record_is_stored_once`.
4. **A serial with no `.MLG` data** gets an empty timeline and `unknown`, never a 500 or a
"not monitoring". Test: Task 6, `test_timeline_routes_for_unknown_serial`.
5. **`at` exactly on a session's start or stop, or inside the repeated hour after the
clock step back,** gives a defined answer: boundaries count as monitoring, and the repeated
hour is `ambiguous`. Tests: Task 5, `test_monitoring_at_boundaries_are_inclusive`,
`test_clock_step_back_is_not_a_negative_gap`.
---
### Task 1: The reader, and one shared CRC
**Files:**
- Create: `minimateplus/crc.py`, `minimateplus/mlg_file.py`, `tests/test_mlg_file.py`
- Modify: `minimateplus/models.py` (add `MlgRecord`, `MlgFile` after `MonitorLogEntry`)
- Modify: `micromate/setup_block.py:63-69` (`_crc16_aug_ccitt` calls the shared function)
- Fixtures: `tests/fixtures/mlg-11-9-26/` (force-added)
**Interfaces:**
- Produces:
- `minimateplus.crc.crc16_aug_ccitt(data: bytes) -> int`
- `models.MlgRecord`, with fields:
- `index: int`: position in the file; 0 is the header record
- `start: datetime`, `stop: Optional[datetime]`
- `flags: int`, `trigger_source: int`, `serial: str`
- `text_raw: bytes`: exactly `record[34:288]`
- `event_time: Optional[datetime]`
- `text: str`, `trigger_level: Optional[str]`, `description: str`
- `crc_ok: bool`
- property `is_start` (`flags == 0xFFFF`)
- `models.MlgFile`:
- fields `serial: Optional[str]`, `records: list[MlgRecord]` (log records only, file order)
- properties `empty` (no records and no serial) and `crc_failures -> list[int]` (the indexes)
- `mlg_file.MlgFormatError(ValueError)`, `mlg_file.MLG_PREFIX: bytes`,
`mlg_file.RECORD_SIZE = 292`
- `mlg_file.parse_mlg(data: bytes) -> MlgFile`, `mlg_file.read_mlg(path) -> MlgFile`
- [ ] **Step 1: Copy the fixtures and force-add them**
Copy into `tests/fixtures/mlg-11-9-26/` with `cp -p`:
- from `~/dl2-archive/mlg/mlg-slice/`: `BE128443065.MLG`, `BE128443067.MLG`,
`BE128443068.MLG`, `BE128443155.MLG`, `BE128443156.MLG`, `BE6907750.MLG`, `BE6907751.MLG`
- from `~/dl2-archive/mlg/mlg-slice2/`: `BE8081.MLG`, `BE8081321.MLG`
- from `~/seismo-relay/example-events/ach-vs-manual/`: `BE11529.MLG`, `BE115292.MLG`
- from `~/seismo-relay/example-events/10-26-26/`: `BE94412.MLG`
Then `git add -f tests/fixtures/mlg-11-9-26`. Expected: 12 files, about 14 KB.
- [ ] **Step 2: Write the failing tests** in `tests/test_mlg_file.py`
Use `FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"` and
`dt = datetime.datetime`.
```python
def test_crc_matches_the_micromate_rule():
from micromate.setup_block import _crc16_aug_ccitt
assert crc16_aug_ccitt(b"123456789") == _crc16_aug_ccitt(b"123456789") == 0xE5CC
def test_every_fixture_record_passes_its_checksum():
for p in FIX.glob("*.MLG"):
assert parse_mlg(p.read_bytes()).crc_failures == [], p.name
def test_closed_records(): # BE128443065
m = read_mlg(FIX / "BE128443065.MLG")
assert m.serial == "BE12844" and len(m.records) == 2
r1, r2 = m.records
assert (r1.index, r1.start, r1.stop, r1.flags, r1.trigger_source) == (
1, dt(2026, 9, 5, 18, 47, 26), dt(2026, 9, 5, 20, 0, 0), 0x0010, 0)
assert r1.description == "Timer Stop"
assert r1.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert (r2.start, r2.stop, r2.description) == (
dt(2026, 9, 6, 6, 0, 13), dt(2026, 9, 6, 18, 45, 0), "Modem Exit")
def test_monitoring_started_and_an_event(): # BE128443067
m = read_mlg(FIX / "BE128443067.MLG")
start, ev = m.records[1], m.records[2]
assert start.is_start and start.stop is None and start.description == "Monitoring started"
assert start.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert (ev.flags, ev.trigger_source, ev.description) == (0x0001, 0x0001, "Event Recorded")
assert ev.event_time == dt(2026, 9, 8, 13, 38, 22)
assert ev.text == "Geo: 0.0500 in/s Mic: 125.0 dB(L)\rTran: 0.0500 in/s"
assert ev.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
def test_histogram_with_a_waveform_event(): # BE8081.MLG
r = read_mlg(FIX / "BE8081.MLG").records
assert (r[1].flags, r[1].trigger_source, r[1].description) == (
0x0021, 0x0400, "Event Recorded Modem Exit")
assert r[1].trigger_level == "Histogram"
assert (r[2].trigger_source, r[2].trigger_level) == (0x0002, "Geo: 0.300 in/s")
def test_trigger_level_with_or_without_a_space_before_the_colon():
a = read_mlg(FIX / "BE11529.MLG").records[0]
b = read_mlg(FIX / "BE115292.MLG").records[0]
assert a.text == "Trigger Level: Histogram" and b.text == "Trigger Level : Histogram"
assert a.trigger_level == b.trigger_level == "Histogram"
def test_empty_file():
m = read_mlg(FIX / "BE6907751.MLG")
assert m.serial is None and m.records == [] and m.empty
def test_a_flipped_byte_fails_only_its_record():
data = bytearray((FIX / "BE128443065.MLG").read_bytes())
data[18 + 292 + 40] ^= 0xFF # inside record 1's text
m = parse_mlg(bytes(data))
assert m.crc_failures == [1]
assert m.records[0].crc_ok is False and m.records[1].crc_ok is True
@pytest.mark.parametrize("mangle", [
lambda d: d[:-1], # not 18 + 292·n
lambda d: b"\x00" + d[1:], # wrong prefix
lambda d: d[:18] + b"\x23" + d[19:], # header length field not 290
])
def test_structure_errors_raise(mangle):
with pytest.raises(MlgFormatError):
parse_mlg(mangle((FIX / "BE128443065.MLG").read_bytes()))
```
- [ ] **Step 3: Run them to verify they fail**
Run: `~/seismo-relay/.venv/bin/python -m pytest tests/test_mlg_file.py -q`
Expected: collection error, `ModuleNotFoundError: minimateplus.crc`.
- [ ] **Step 4: Implement**
**The shared CRC.** `crc16_aug_ccitt` uses the same bitwise loop as `setup_block`. Point
`setup_block._crc16_aug_ccitt` at it, keeping the name, since its tests import it.
**Timestamps.** A timestamp is `day, month, year LE (2 bytes), 0, hour, minute, second`, and
all-zero means `None`.
**`parse_mlg` raises `MlgFormatError`, naming the record, when:**
- `len < 18`, or the prefix differs
- `(len - 18) % 292 != 0`
- any record's length field is not 290
- record 0's id is not `0e a0`, or a later record's id is not `0e 80`
- a start time cannot be decoded
**A checksum failure does not raise.** It only sets `crc_ok=False`.
**The text:**
- If `text_raw[0] == 0x08`, then `event_time` is `text_raw[1:9]` and the text starts at
`text_raw[9]`.
- `text` is the bytes up to the first NUL, latin-1.
- `trigger_level` is `text`'s first line (split on `\r`), with a leading `Trigger Level :` or
`Trigger Level:` removed and stripped. An empty result is `None`.
**`description`** is `"Monitoring started"` for `is_start`. Otherwise it is
`event_file_io.monitor_log_description(flags).strip()`.
**The header record** gives `MlgFile.serial` (`record[24:34]`, NUL-stripped ASCII).
- [ ] **Step 5: Run the tests, then the whole suite**
Run: `~/seismo-relay/.venv/bin/python -m pytest tests/test_mlg_file.py tests/test_micromate_setup.py -q`
Expected: all pass.
Then the full suite. Expected: `0 failed`.
- [ ] **Step 6: Commit**
```bash
git add minimateplus/crc.py minimateplus/mlg_file.py minimateplus/models.py micromate/setup_block.py tests/test_mlg_file.py
git commit -m "feat(mlg): read Blastware .MLG files, every record's checksum verified"
```
---
### Task 2: The writer, and the old MLG code retired
**Files:**
- Modify: `minimateplus/mlg_file.py` (add the writer)
- Modify: `minimateplus/blastware_file.py`:
- delete `_build_mlg_header`, `_build_mlg_record`, the old `write_mlg`, the `read_mlg` stub,
`_MLG_*` and `MLG_FLAGS_*`
- the module docstring's MLG sections become one line pointing at `minimateplus/mlg_file.py`
- ⚠ **Do not re-export from `blastware_file`.** `event_file_io` imports `blastware_file`
and `mlg_file` imports `event_file_io`, so a re-export makes an import cycle. Nothing outside
`blastware_file.py` uses the old names (checked 2026-11-13).
- Test: `tests/test_mlg_file.py`
**Interfaces:**
- Consumes: `MlgFile`, `MlgRecord` (Task 1)
- Produces:
- `mlg_file.mlg_bytes(mlg: MlgFile) -> bytes`
- `mlg_file.write_mlg(mlg: MlgFile, path) -> None`
- [ ] **Step 1: Write the failing tests**
```python
@pytest.mark.parametrize("name", sorted(p.name for p in FIX.glob("*.MLG")))
def test_rebuilds_every_fixture_byte_for_byte(name):
raw = (FIX / name).read_bytes()
assert mlg_bytes(parse_mlg(raw)) == raw
def test_old_mlg_code_is_gone():
import minimateplus.blastware_file as bw
assert not hasattr(bw, "read_mlg") and not hasattr(bw, "MLG_FLAGS_TRIGGER")
```
- [ ] **Step 2: Run them to verify they fail** (`ImportError: mlg_bytes`)
- [ ] **Step 3: Implement `mlg_bytes`**
Write the prefix, then for a non-empty file the header record:
- length, id `0e a0`, zeros, the serial at `[24:34]`, zeros, then the CRC
Every other byte of the header record is zero on all 1,273 DL2 files (measured).
Then each log record, from its fields:
- length, id `0e 80`, both times, flags and source LE, the serial
- `text_raw`, then `00 00`, then the CRC
An empty `MlgFile` is the prefix alone. Confirm nothing else imports the deleted names:
`grep -rn "MLG_FLAGS_\|_build_mlg\|_MLG_" --include=*.py .`
- [ ] **Step 4: Run the tests and the full suite.** Expected: 12 rebuilds pass; `0 failed`.
- [ ] **Step 5: Commit**
`git commit -m "feat(mlg): write .MLG files as Blastware does; retire the old writer"`
---
### Task 3: Storage
**Files:**
- Modify: `sfm/database.py`: the two tables appended to `_SCHEMA`, and the methods below.
- The docstring's table list gains both tables.
- No migration: `CREATE … IF NOT EXISTS` runs on every start.
- Modify: `sfm/waveform_store.py`: add `save_mlg`
- Test: `tests/test_mlg_storage.py`
**Interfaces:**
- Consumes: `MlgRecord` (Task 1)
- Produces:
- `WaveformStore.save_mlg(serial: Optional[str], file_name: str, data: bytes) -> str`.
- Writes `<root>/<serial or "_unresolved">/mlg/<file_name>` and returns that path
relative to the root (posix).
- If that path already holds different bytes, it uses `<stem>.<sha256[:8]><suffix>`.
- If it holds the same bytes, it reuses the path.
- `SeismoDb.mlg_file_exists(file_name: str, sha256: str) -> bool`
- `SeismoDb.insert_mlg(*, serial, file_name, sha256, size, empty, call_in, file_mtime, stored_path, records) -> tuple[Optional[str], int, int]`
- One transaction; returns `(file_id, inserted, skipped)`.
- Returns `(None, 0, 0)` when `(file_name, sha256)` already exists.
- `SeismoDb.query_mlg_records(serial: str, from_dt=None, to_dt=None) -> list[dict]`:
- ascending by `start_time`, then `seq`
- keys: `id, serial, start_time, stop_time, flags, trigger_source, text, trigger_level,
event_time, file_id, seq`
- `SeismoDb.query_mlg_files(serial: str) -> list[dict]`:
- ascending by `COALESCE(file_mtime, received_at)`
- keys: `id, serial, file_name, sha256, size, record_count, empty, call_in, file_mtime,
received_at, stored_path`
- `SeismoDb.get_mlg_file(file_id: str) -> Optional[dict]`
- `SeismoDb.known_serials() -> set[str]`: distinct non-null serials from `events`,
`mlg_files` and `mlg_records`
Schema:
```sql
CREATE TABLE IF NOT EXISTS mlg_files (
id TEXT PRIMARY KEY, serial TEXT, file_name TEXT NOT NULL, sha256 TEXT NOT NULL,
size INTEGER NOT NULL, record_count INTEGER NOT NULL, empty INTEGER NOT NULL,
call_in INTEGER NOT NULL DEFAULT 1, file_mtime TEXT,
received_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
stored_path TEXT, UNIQUE(file_name, sha256));
CREATE TABLE IF NOT EXISTS mlg_records (
id TEXT PRIMARY KEY, serial TEXT NOT NULL, start_time TEXT NOT NULL, stop_time TEXT,
flags INTEGER NOT NULL, trigger_source INTEGER NOT NULL, text TEXT, trigger_level TEXT,
event_time TEXT, file_id TEXT NOT NULL REFERENCES mlg_files(id), seq INTEGER NOT NULL);
CREATE UNIQUE INDEX IF NOT EXISTS ux_mlg_records_identity
ON mlg_records(serial, start_time, COALESCE(stop_time, ''), flags, trigger_source);
CREATE INDEX IF NOT EXISTS idx_mlg_files_serial ON mlg_files(serial);
```
- [ ] **Step 1: Write the failing tests**
- `test_insert_and_query_round_trip`: insert BE128443067's records; query returns 3 rows in
start order, with the open record's `stop_time` None.
- `test_same_file_twice_is_a_duplicate`: the second `insert_mlg` returns `(None, 0, 0)` and
there is still one file row.
- `test_open_record_is_stored_once`: insert the same `MlgFile` under two names (as a cable
download would arrive). The second returns `inserted == 0, skipped == 3`.
- `test_records_differing_only_in_text_are_the_same_record`: `BE11529.MLG`, then
`BE115292.MLG`. The second is `(id, 0, 3)`.
- `test_known_serials`, and `test_save_mlg_keeps_both_when_names_collide`: same name,
different bytes, two paths.
- [ ] **Step 2: Run them to verify they fail** (`AttributeError: insert_mlg`)
- [ ] **Step 3: Implement** the schema and the methods above. `record_count` is
`len(records)`.
- [ ] **Step 4: Run the tests and the full suite.** Expected: pass; `0 failed`.
- [ ] **Step 5: Commit**
`git commit -m "feat(mlg): store .MLG files and records, each record once"`
---
### Task 4: Ingest
**Files:**
- Create: `sfm/mlg_ingest.py`, `tests/test_mlg_ingest.py`
**Interfaces:**
- Consumes: `parse_mlg`, `MlgFormatError` (Task 1); `insert_mlg`, `mlg_file_exists`,
`known_serials`, `save_mlg` (Task 3)
- Produces:
- `resolve_serial(file_name: str, header_serial: Optional[str], hint: Optional[str], known: set[str]) -> Optional[str]`
- `ingest_mlg(db, store, file_name: str, data: bytes, *, serial_hint=None, file_mtime: Optional[datetime]=None, call_in: bool=True) -> dict`
Keys: `filename, status ("ok" | "duplicate" | "error"), detail, serial, serial_unresolved,
empty, records, inserted, skipped, file_id`.
**Rules:**
- **Serial:** the header serial wins. Otherwise the hint. Otherwise the longest known serial
that the name starts with (case-insensitive), as long as only digits follow it before
`.MLG`. Otherwise `None`.
- **Order of work:**
1. parse
2. a `MlgFormatError`, or any checksum failure, is `status "error"`, with `detail` naming
the record (e.g. `"record 1 fails its checksum"`); nothing is written
3. `mlg_file_exists` gives `"duplicate"`
4. `save_mlg`
5. `insert_mlg`
- [ ] **Step 1: Write the failing tests** (a tmp `SeismoDb` and `WaveformStore`, as
`tests/test_db_snapshot_endpoints.py::_client` builds them)
- `test_ingest_ok`: BE128443067 gives `status "ok"`, serial `BE12844`, `records 3`,
`inserted 3`. The file exists in the store under `BE12844/mlg/`.
- `test_ingest_twice_is_duplicate`
- `test_corrupted_file_stores_nothing`: flip byte `18+292+40`. Expect `"error"`, `"record 1"`
in `detail`, no `mlg_files` row, and no `mlg/` directory in the store.
- `test_truncated_file_is_an_error`
- `test_empty_file_takes_known_serial`: ingest `BE6907750` then `BE6907751`. The second is
`serial "BE6907"`, `empty True`.
- `test_empty_file_without_known_serial_is_unresolved`: serial `None`,
`serial_unresolved True`, stored under `_unresolved/mlg/`.
- `test_empty_file_takes_the_longest_known_serial`:
- `resolve_serial("BE11010304.MLG", None, None, {"BE1101", "BE11010"}) == "BE11010"`
- `resolve_serial("XY123.MLG", None, None, {"BE1101"}) is None`
- `resolve_serial("BE6907751.MLG", "BE12844", "BE6907", {"BE6907"}) == "BE12844"` (the
header wins)
- `test_file_mtime_and_call_in_are_stored`
- [ ] **Step 2: Run them to verify they fail**
- [ ] **Step 3: Implement `sfm/mlg_ingest.py`**
- [ ] **Step 4: Run the tests and the full suite.** Expected: pass; `0 failed`.
- [ ] **Step 5: Commit**
`git commit -m "feat(mlg): ingest one .MLG: verify, resolve the serial, keep the original"`
---
### Task 5: The timeline
**Files:**
- Create: `sfm/mlg_timeline.py`, `tests/test_mlg_timeline.py`
**Interfaces:**
- Consumes: rows from `query_mlg_records` and `query_mlg_files` (Task 3)
- Produces:
- `build_timeline(records: list[dict], files: list[dict]) -> dict`, with keys `sessions`,
`gaps`, `clock_steps`, `call_ins`. All times are ISO strings.
- **a session:** `start, stop, end_after, end_before, ended_by, kind ("histogram" |
"monitoring"), trigger_level, running_at_last_report, events`
- **an event:** `start, stop, trigger_source, trigger_level, description`
- **a gap:** `start, stop, minutes, meaning`
- **a clock step:** `previous_stop, next_start, minutes` (negative)
- **a call-in:** `kind ("delivered" | "no_file" | "nothing_new"), unit_time, file_time,
file_name`
- `monitoring_at(timeline: dict, at: datetime) -> dict`, with keys `status ("monitoring" |
"not_monitoring" | "unknown"), ambiguous, sessions, gap, trigger_level, reason`
**Rules.** These are the spec's §4 rules, made exact.
- **Sort:** records by `(start_time, 0 if flags == 0xFFFF else 1, seq)`.
- **Record kinds:**
- **start:** `flags == 0xFFFF`
- **histogram:** `flags & 1` and `trigger_source == 0x0400`
- **event:** `flags & 1` and any other non-zero source
- **closed:** everything else
- **Building sessions, walking the sorted records:**
- **A start record opens a pending session.** Close any pending one first, with
`end_after` = its last event's stop (or its own start) and `end_before` = this start.
- **A histogram record joins the pending session** when its start is ≤ 2 s after the pending
start, giving the session `stop` and `kind "histogram"`. Otherwise it is a session of its
own.
- **An event record:**
- joins the last session if its start lies within that session's `[start, stop]`
- otherwise it joins the pending session
- an event carrying an end bit closes a pending (non-histogram) session at its stop
- with no session to join, it opens one at its own start
- **A closed record** first closes any pending session (as above, `end_before` = its start),
then is a session `[start, stop]`.
- **A session still pending at the end** has `running_at_last_report True` and
`end_after` = its last event's stop, or its start.
- **`ended_by`** is `monitor_log_description(flags & ~1).strip()` of the record that set
`stop`, or `None`. `trigger_level` is the start record's, else the stop record's.
- **Gaps:** from a session's end (`stop`, else `end_after`) to the next session's start.
- If the next start is earlier than that end, it is a clock step, not a gap.
- The meaning comes from `ended_by`:
- Modem Exit: "call-in"
- Timer Stop: "scheduled off"
- Battery Low Exit: "lost power"
- Keyboard Exit and Remote Exit: "stopped by a person"
- Memory Full Exit: "memory full"
- anything else: "unknown"
- **Call-ins**, per file in `query_mlg_files` order (`file_time` = `file_mtime`, else
`received_at`):
- **An empty file** gives `nothing_new`.
- **A `call_in` file with records** gives `delivered`, with `unit_time` = the stop of the
file's last record (by `seq`). Each Modem Exit (`flags & 0x20`, not a start) that is not
the file's last record gives `no_file`, with `unit_time` = its stop and `file_time` None.
- **Non-call-in files** give nothing.
- **`monitoring_at`:**
- **monitoring:** `start ≤ at ≤ stop`, or `≤ end_after` when the stop is unknown. Two or more
matches set `ambiguous True`.
- **unknown:** inside an unknown end window, or after `end_after` of a session running at the
last report.
- **not_monitoring:** inside a gap, with the gap.
- **unknown:** anything else, including no data.
- [ ] **Step 1: Write the failing tests.** Ingest fixtures into a tmp DB with explicit
`file_mtime` values, then call `build_timeline(db.query_mlg_records(s), db.query_mlg_files(s))`.
- `test_sessions_gaps_and_an_event_session` (BE128443067 + 068):
- three sessions: `09-07 18:47:27 → 20:00:00 "Timer Stop"`; `09-08 06:00:13`, stop None,
`end_after 13:38:25`, `end_before 13:41:16`, 1 event; `13:41:16 → 18:45:00 "Modem Exit"`
- gaps: `"scheduled off"`, `minutes ≈ 600.217`; then `"unknown"`, `≈ 2.85`
- `test_monitoring_at`, on the same data:
- `09-08 10:00` is `monitoring`, trigger level `"Geo: 0.0500 in/s Mic: 125.0 dB(L)"`
- `09-08 13:40:00` is `unknown`
- `09-07 23:00` is `not_monitoring` with meaning `"scheduled off"`
- `2027-01-01` is `unknown`
- `test_monitoring_at_boundaries_are_inclusive`: `09-07 18:47:27` and `09-07 20:00:00` are
both `monitoring`.
- `test_clock_step_back_is_not_a_negative_gap` (BE128443155 + 156):
- no gap with negative minutes
- one clock step: `previous_stop 2026-11-01T18:45:00`, `next_start 2026-11-01T17:47:25`,
`minutes ≈ -57.58`
- `monitoring_at(11-01 18:00)` is `monitoring`, `ambiguous True`, 2 sessions
- `test_weekend_battery_outage_and_missed_calls` (BE8081321 alone):
- sessions start at `04-12 17:17:59` (histogram, from the start record),
`04-12 18:38:14`, `04-13 07:05:15` ("Battery Low Exit") and `04-15 12:47:05`
- the gap `04-13 10:47:15 → 04-15 12:47:05` is `"lost power"`, `minutes ≈ 2999.83`
- two `"call-in"` gaps of `≈ 5.23`
- call-ins: `no_file` at `2019-04-12T18:33:00`, `no_file` at `2019-04-13T07:00:01`,
`delivered` at `2019-04-15T17:15:00`, with `file_name "BE8081321.MLG"`
- `monitoring_at(2019-04-14 12:00)` is `not_monitoring`, `"lost power"`
- `test_histogram_session_keeps_its_waveform_event` (BE8081.MLG):
- one session `2018-02-16 15:15:31 → 15:15:49`, `kind "histogram"`,
`trigger_level "Histogram"`
- one event with `trigger_source 2` and `trigger_level "Geo: 0.300 in/s"`
- `test_event_with_an_end_bit_inside_a_histogram` (BE94412):
- the histogram session `16:06:34 → 16:07:21` keeps its stop and `"Keyboard Exit"`
- it holds the Memory Full event
- the `17:00:36` histogram is a session of its own
- `test_call_in_kinds` (BE6907750 + 751): `no_file` at `2026-08-22T18:30:00`, `delivered` at
`2026-08-23T18:30:00`, then `nothing_new`.
- [ ] **Step 2: Run them to verify they fail**
- [ ] **Step 3: Implement `sfm/mlg_timeline.py`** (pure: no DB, no I/O)
- [ ] **Step 4: Run the tests and the full suite.** Expected: pass; `0 failed`.
- [ ] **Step 5: Commit**
`git commit -m "feat(mlg): each unit's monitoring timeline, and was it monitoring at T"`
---
### Task 6: Routes
**Files:**
- Modify: `sfm/server.py`: the routes go after `db_import_idf_file`
- Create: `tests/test_mlg_routes.py`
**Interfaces:**
- Consumes: `ingest_mlg` (Task 4); `build_timeline`, `monitoring_at` (Task 5); Task 3's queries
- Produces:
- `POST /db/import/mlg_file` → `db_import_mlg_file(files: list[UploadFile] = File(...), serial: Optional[str] = Query(None), call_in: bool = Query(True), mtimes: Optional[str] = Form(None))`.
`mtimes` is JSON `{filename: unix_seconds_utc}`. Returns `{"count", "results": [ingest
dicts]}`.
- `GET /db/units/{serial}/timeline?from_dt=&to_dt=` → `db_unit_timeline(...)`: the full
timeline, with sessions, gaps and call-ins filtered to those overlapping the window.
- `GET /db/units/{serial}/monitoring_at?at=` → `db_unit_monitoring_at(...)`
- `GET /db/mlg_records?serial=&from_dt=&to_dt=` → `db_mlg_records(...)`
- `GET /db/mlg_files/{file_id}` → `db_mlg_file(...)`: the original bytes as a `FileResponse`
with the original `file_name`; 404 if unknown.
- [ ] **Step 1: Write the failing tests.** Set up as `_client` does (monkeypatch `srv._db` and
`srv._store`). Call the route functions directly: `asyncio.run(...)` for the import, with
`UploadFile(file=io.BytesIO(data), filename=name)`.
- `test_import_route_stores_good_file_and_refuses_bad_one`:
- two files, BE128443065 and a corrupted copy named `BE128443099.MLG`
- results: `["ok", "error"]`
- one `mlg_files` row; only the good file under the store's `mlg/`
- `test_import_route_reads_mtimes`: `mtimes='{"BE128443065.MLG": 1788734760}'` stores
`file_mtime` `2026-09-06T22:46:00+00:00`.
- `test_timeline_and_monitoring_at_routes`, with BE8081321 imported: the timeline has 4
sessions, and `monitoring_at` at `2019-04-14T12:00:00` is `not_monitoring`.
- `test_timeline_routes_for_unknown_serial`: `BE0000` gives empty `sessions`, `gaps` and
`call_ins`, and `monitoring_at` is `unknown`.
- `test_mlg_file_route_returns_original_bytes`, and a 404 for an unknown id.
- [ ] **Step 2: Run them to verify they fail**
- [ ] **Step 3: Implement the routes.** They stay thin: parse the query, call Tasks 3–5.
- [ ] **Step 4: Run the tests and the full suite.** Expected: pass; `0 failed`.
- [ ] **Step 5: Commit**
`git commit -m "feat(mlg): /db routes: import .MLG, a unit's timeline, monitoring at T"`
---
### Task 7: Bulk import and the cross-check
**Files:**
- Create: `scripts/import_mlg_dir.py`, `scratch/check_mlg_vs_events.py`,
`tests/test_import_mlg_dir.py`
**Interfaces:**
- Consumes: `ingest_mlg` (Task 4), `parse_mlg` (Task 1), `crc16_aug_ccitt` (Task 1)
- Produces:
- **`scripts/import_mlg_dir.py <dir> --db-path P --store-root S [--dry-run] [--not-call-in]`**
- `main(argv) -> int`, following `scripts/backfill_event_shape.py`
- walks `*.MLG` (case-insensitive) recursively
- **two passes:** files with records first, then the empty ones, each oldest file time
first. Every unit's serial is then known before its empty files arrive, whatever the
folder order.
- `file_mtime` from `os.stat` as UTC
- prints counts: files, ok, duplicate, error, empty, unresolved, inserted, skipped
- dry run: parse and checksums only, nothing written
- **`scratch/check_mlg_vs_events.py <mlg dir> <event dir>`**
- matches every non-start record with the Event Recorded bit to an event file by
`(serial, stop, flag word, trigger source)`
- an event file's serial number comes from its name, via
`sfm.waveform_store._serial_number_from_bw_filename`, compared with the MLG serial's
digits
- only event files inside each serial's MLG period count (its first record's start to its
last record's stop). DL2 holds years of event files from before the `.MLG`s.
- reads each event file's footer straight from its last 28 bytes: `00 1a 0e 08`, both times
with a big-endian year, flag word and source BE. It checks the footer's CRC with
`crc16_aug_ccitt` too.
- prints matched / record-only / file-only per serial, with up to 5 examples each
- [ ] **Step 1: Write the failing test.** `test_import_dir_counts`:
- copy the fixture dir to `tmp_path`
- the dry run prints `files 12`, writes no DB file and returns 0
- a real run imports 12 files with 0 errors, and a second run reports 12 duplicates
- [ ] **Step 2: Run it to verify it fails**
- [ ] **Step 3: Implement both tools**
- [ ] **Step 4: Run the tests and the full suite.** Expected: pass; `0 failed`.
- [ ] **Step 5: Run both tools on the real data, on the dev box only**
```bash
~/seismo-relay/.venv/bin/python scripts/import_mlg_dir.py ~/dl2-archive/mlg --db-path /tmp/claude-1000/mlg-check.db --store-root /tmp/claude-1000/mlg-check-store
~/seismo-relay/.venv/bin/python scratch/check_mlg_vs_events.py ~/dl2-archive/mlg ~/dl2-archive/files
```
Expected:
- 1,273 files, 0 errors, 231 empty, 0 unresolved
- BE8081: 785 matched, 0 record-only, 0 file-only
- BE6907: 6 matched, 5 record-only, 0 file-only
- BE12844: 19 matched, 37 record-only, 0 file-only
- every record-only one stops after 2026-08-25, where the DL2 copy ends
Put the numbers in the commit message.
- [ ] **Step 6: Commit**
`git commit -m "feat(mlg): bulk import, and a cross-check against the event files"`
---
### Task 8: Documentation
**Files:**
- Modify: `docs/instantel_protocol_reference.md`:
- D.4 to D.4.3 rewritten from the spec's "What was measured", each claim graded
- the old D.4.2 table kept under a ⚠ RETRACTED banner (its CRC position, BE timestamps
and flag table)
- a row in the Changelog table at the top
- Modify: `CLAUDE.md`:
- the "SFM REST API" `/db` list gains the five routes
- one line under "Where things stand" pointing at the spec
- Modify: `docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md` §8: the footer CRC
note becomes "recorded on dev, `8544e9c`"
- [ ] **Step 1: Edit the three files**
- [ ] **Step 2: Run `tests/test_line_endings.py` and the full suite.** Expected: `0 failed`.
- [ ] **Step 3: Commit**
`git commit -m "docs: the .MLG format measured (reference D.4), and the new /db routes"`
@@ -0,0 +1,333 @@
# Monitor logs (.MLG) and each unit's monitoring timeline — design
**Date:** 2026-11-09 · **Branch:** `feat/mlg-import` (worktree `~/seismo-relay-mlg`) ·
**Status:** design, for review
## Why this exists
Every Series-3 unit sends a Blastware monitor log, an `.MLG` file, at every call-in, whatever mode
it is recording in. It lists each time the unit started monitoring, each event, and each time it
stopped and why. Event files cannot replace it: a unit in continuous (waveform) mode sends an event
file only when something triggers, so a quiet day leaves no file at all.
Brian named two uses (2026-11-09):
1. **Shot reports.** Every event from every unit on a site goes in the report. A unit that did not
trigger (often the farthest one) is listed as "did not trigger", with its printed `.MLG`
attached as proof it was monitoring at the time of the blast. Example: BE6907 and BE12844
monitored the same job, June to November 2026, both in continuous mode. BE6907 is much farther
away and recorded 10 events to BE12844's 55.
2. **Outage history.** It is good to know when a unit was not recording, for how long, and why. A
unit on solar and battery can die for a weekend and nobody would notice. Most units keep
recording when they cannot call in; only losing the power and then the internal battery stops
them. So this is history seen once the unit calls in again, not a live alarm.
The `.MLG` is also what the watcher's heartbeat sniffs today to show that a unit is still calling
in. SFM holding the files would later let it answer that itself.
## Goals
1. Read a Blastware `.MLG` into its records, with every record's checksum verified.
2. Accept forwarded `.MLG`s through a new import route, storing each record once.
3. Keep each unit's monitoring timeline, derived from its records: when it was recording, how each
session ended, the events inside, and the call-ins. It must answer two questions:
- was unit X monitoring at time T, and with what trigger level?
- when was it not monitoring, for how long, and why?
4. Serve the records and the timeline through `/db/*`, for Terra-View to use later.
5. Bulk-import a directory of `.MLG`s (DL2 holds about 86,000), and cross-check the records against
the event files' footers.
## Non-goals
- **The watcher forwarding `.MLG`s.** That is a change in `../series3-watcher`, Brian's call, and a
separate piece. Until it lands, `.MLG`s reach SFM only through the import route and the bulk tool.
- **Anything in Terra-View:** the timeline view, the shot report, taking "last call-in" from SFM
instead of the heartbeat. Later pieces.
- **Live "missed its call-in" alerts.** A dead unit sends nothing; this timeline shows the gap
once it is back.
- **Series 4.** Thor writes no `.MLG`.
- **Editing the event decoders** (`event_file_io.py`, `decode_check.py`, `histogram_codec.py`,
`waveform_codec.py`). Another session owns them; this project imports from them only.
## Anti-goals (would make it a failure even if it works)
- **Claiming monitoring the data does not show.** A session still open at the last call-in is
"running at the last call-in", never "running now". Where a session's end is not recorded, the
timeline says so and gives the window it lies in.
- **Dropping a damaged file or record silently.** A record that fails its checksum is reported,
never half-read into the timeline.
- **Taking the serial from the file name when the file carries it.** Names are `<serial><counter>`
with nothing between, so `BE11010304` cannot be split by reading it.
- **Mixing clocks.** Record times are the unit's own local clock. File times are the PC's. They are
stored and labelled separately.
## What was measured
Grades: **measured** means checked on the files named; **inferred** means a reading of them that
has not been tested.
**Files examined:** 1,273 `.MLG`s from DL2's `C:\Blastware 10\Event\autocall home` (BE6907 369 and
BE12844 197, from 2026; BE8081 707, 2018–19), in `~/dl2-archive/mlg/`. Also the 9 bench files in
`example-events/`. Analysis scripts used for this section are in the session scratchpad and are
not part of the build.
### The file format (measured on all 1,282 files)
- **Layout:** an 18-byte prefix `10 00 01 80 00 00 "Instantel\0" 07 2c`, then whole 292-byte
records. The size is always `18 + 292·n`.
- **Every record** is `[length uint16 LE = 0x0122 (290)][id 2 bytes] … [CRC 2 bytes]`. Id `0e a0` is
the header record (one, first, carrying the serial). Id `0e 80` is a log record.
- **Checksum:** CRC-16/AUG-CCITT (poly 0x1021, init 0x1D0F, no reflection) over the record's bytes
`[0:288]`, stored little-endian at `[290:292]`. Bytes `[288:290]` are `00 00` and not covered.
This is the rule the Micromate setup blocks use (`micromate.setup_block`). It matches **3,329 of
3,329** records, with no failures.
- The reference (D.4.2) put a CRC at the *start* of each record. That was the previous record's
tail, which is also why every file had 2 unexplained bytes at its end.
- **A log record** (offsets from its length field):
| offset | field |
|---|---|
| `[4:12]` | start: day, month, year **LE**, 0, hour, min, sec |
| `[12:20]` | stop, same format; all zeros = no stop |
| `[20:22]` | monitor-log flag word, uint16 LE: the same word as the event footer's (D.6.14) |
| `[22:24]` | trigger source, uint16 LE: `0x0001`–`0x0008` a channel, `0x0400` a histogram |
| `[24:34]` | serial, null-padded ASCII |
| `[34:…]` | text, null-padded (below) |
- **Text:**
- a "monitoring started" record: `Trigger Level : Geo: 0.0500 in/s Mic: 125.0 dB(L)`, or
`Trigger Level : Histogram`
- an event record: `08`, then the event time in 8 bytes (LE year), then
`Geo: 0.0500 in/s Mic: 125.0 dB(L)`
- a closed session: `Geo: 0.0500 in/s Mic: 125.0 dB(L)`
- **Empty files:** some files are the 18-byte prefix alone, with no records and so no serial inside.
### How Blastware writes them (measured on the 3 DL2 units)
- **One file per call-in**, named `<serial><counter>.MLG`, the counter going up by one each time.
- **No record appears in two files.** Each holds what happened since the previous call-in.
- **A file is written 1–2 minutes after the unit stops for its call-in** ("Modem Exit"). The unit's
clock and DL2's agree to within those 2 minutes.
- ⚠ Dates of files that came through a Windows zip read an hour early from March to October.
Windows converts with the offset in force at zip time, not the one at the file's date. A
robocopy copy keeps the true time.
- **BE6907 writes two empty files 2–3 minutes after nearly every real one** (230 of its 369).
BE12844 never does; BE8081 did once in 707 (`BE80811.MLG`, 2018-02-19; corrected 2026-11-13
by the final review). Inferred: the unit calls back in and has nothing new.
- **Some files hold more than one Modem Exit:** 38 files (BE8081 33, BE6907 3, BE12844 2). A
file is written just after its *last* Modem Exit. The earlier ones are calls that left no file.
Example: `BE8081321` holds Modem Exits on 2019-04-12 18:33, 04-13 07:00 and 04-15 17:15.
- Inferred: the call failed, or the PC did not take it.
- Either way, this is the "missed call-in" history Brian asked about.
- **The unit's clock steps back an hour at the first call-in after daylight saving ends.** On
2026-11-01 BE12844 ran `06:00:13 → 18:45:00` (unit still on EDT). It called in at 17:46 EST,
and its next session is `17:47:25 → 18:45:00`. BE6907 shows the same. So local times on that day
overlap. Inferred: Blastware sets the unit's clock at the call-in, and in spring the clock
steps forward the same way.
- **Blastware writes the text, not the unit.** The two bench copies of the same records
(`ach-vs-manual/BE11529.MLG`, `BE115292.MLG`) differ only in `Trigger Level: Histogram` vs
`Trigger Level : Histogram`. A record's identity must not include its text or its checksum.
- **Cable or direct downloads are cumulative.** The bench `4-3-26-multi/BE11529.MLG` repeats the
4-1 records. Only the call-in files hold "only what is new".
### How a session appears (measured on the 3 DL2 units)
- **A session with no events** is one closed record: start, stop and why it stopped. BE12844's day:
`06:00:13 → 18:45:00` "Modem Exit" (its call-in), then `18:47 → 20:00` "Timer Stop" (a
work-hours timer).
- **A session with events** is an open "monitoring started" record (flag word `ffff`, no stop),
then one record per event (`0x0001` + the channel). The unit calls in minutes after each event,
and monitoring resumes as a *new* session minutes later. Example, BE12844 on 9-8:
- `06:00:13` started, then an event `13:38:22 → 13:38:25` (Tran)
- a file written about a minute later
- next file: `13:41:16 → 18:45:00` "Modem Exit"
The first session's end is not written anywhere. It lies between the last event's stop and the
next session's start (inferred: the call-in after the event ended it).
- **A histogram session** is a "monitoring started" record at T, then a histogram record from T+1 s
to the stop, carrying the stop reason (`0x0021` = Event Recorded + Modem Exit, source `0x0400`).
- **A histogram + waveform session** also has waveform event records whose start falls inside the
histogram record's span (BE8081, 5 in 2018). Example: histogram `15:15:32 → 15:15:49`, with a
Vert event `15:15:47 → 15:15:49`. Its trigger-level text says only "Histogram". The geophone
level appears only on its event records.
### Cross-check against the event files (measured)
Each "Event Recorded" record was matched to DL2's event files by **stop time + flag word + trigger
source**:
- **BE8081:** 785 / 785 records match an event file, and all 785 of its DL2 event files in that
period have a record. 714 histogram footers start exactly at the session's "monitoring started"
record; the other 71 start where the record does.
- **BE6907 / BE12844:** 25 / 25 event files have a record. The 42 records with no file all stop
after 2026-08-25, where the DL2 copy ends.
- On 2026-08-27 both units triggered at 13:00:42 / 13:00:43, the same blast.
## Design
### 1. The reader (codec library: pure, no I/O beyond the file)
`read_mlg(path)` replaces the stub in `minimateplus/blastware_file.py` and returns a new model
(`MlgFile`, `MlgRecord` in `models.py`). It does not reuse `MonitorLogEntry`, which is the live
0x0A shape. Per record:
- start, stop (None when open), flag word, trigger source
- Blastware's words, from `event_file_io.monitor_log_description()` (imported, not copied)
- the text, plus the trigger level and the event time parsed from it
- whether the checksum passed
Per file: the serial (from the header record; None for an empty file), the records, whether the
file is whole. A file whose size is not `18 + 292·n`, or with a bad prefix, raises. A record that
fails its checksum is returned flagged; the caller decides.
### 2. `write_mlg()` (last, small)
Fix it to write what Blastware writes: little-endian times, the length-led framing and the CRC.
Test: rebuild bench and DL2 files byte for byte from what the reader returns. If the header
record's unread bytes stop that, say so and leave the writer as it is.
### 3. Storage (`sfm/database.py`)
- **The original file is kept, byte for byte,** in the waveform store beside the unit's event
files. Files are tiny (18 bytes to a few KB). It is the shot-report proof, and Blastware can
open and print it. Rows alone cannot rebuild it, because Blastware's text varies.
- **`mlg_files`:** one row per file received:
- serial, file name, size, SHA-256, record count, an empty flag
- received time, and the file's modified time (UTC, when the sender gives it)
- whether it is a call-in file (default yes; a cable download is not)
The same name with the same bytes is a re-send and is skipped. Empty files all share one
hash, so the name keeps them apart. Some names have no counter (`BE8081.MLG` was DL2's first),
so name alone is not enough. This table is the call-in history, and the only trace of an empty
file.
- **`mlg_records`:** one row per log record: serial, start, stop, flag word, trigger source, text,
and the file it first came in. Stored once:
- unique on `(serial, start, stop, flag word, trigger source)`
- ⚠ an open record's stop is NULL, and SQLite treats NULLs as distinct in a UNIQUE constraint.
The key must handle that, for example with an index on `COALESCE(stop, '')`.
- **The existing `monitor_log` table is left alone.** It holds live 0x0A rows from
`bridges/ach_server.py`, which is not in production. A future SFM call-in server would write
`.MLG`-shaped records into `mlg_records` instead.
### 4. The timeline (computed when asked, not stored)
From a unit's records in time order:
- **A closed record** with no event bit is a session `[start, stop]`, ended for its reason.
- **A histogram record** is a session from its "monitoring started" record (or its own start, when
there is none) to its stop, ended for its reason.
- **A "monitoring started" record followed by events** is a session from that start. Its end is
"between the last event's stop and the next session's start".
- **A "monitoring started" record with nothing after it yet** is "running at the last call-in".
Gaps between sessions take the reason the previous session ended with:
| previous session ended with | the gap means |
|---|---|
| Modem Exit | a call-in |
| Timer Stop | scheduled off |
| Battery Low Exit | lost power |
| Keyboard Exit / Remote Exit | stopped by a person |
| Memory Full Exit | memory full |
| none known | unknown |
- **Waveform events inside a histogram session** belong to that session. They are not sessions
of their own.
- **Trigger level is reported as logged:** the session's text, plus any geophone level its event
records carry. It is never borrowed from a neighbouring session. A histogram session with no
events says "Histogram", geophone level not logged.
- **Clock steps:** a session that starts before the previous one stopped is a clock step, not an
overlap. The timeline shows it as such, with no negative gap. Times are the unit's local clock,
as SFM's event times are; `at`, `from_dt` and `to_dt` are in that clock. If `at` falls in a
repeated hour and matches two sessions, `monitoring_at` returns both and says so. The spring
step forward will show as a gap an hour too long on that one day; that is accepted.
**Call-ins** are listed by the call each file came from:
- **Delivered:** a call-in file's last Modem Exit (unit clock), paired with the file (PC clock).
- **No file:** the earlier Modem Exits in the same file. Calls that left no file.
- **Nothing new:** an empty file, at its file time.
Cable-download files are not call-ins.
### 5. Routes (`sfm/server.py`)
- `POST /db/import/mlg_file`: one or more files, an optional serial hint, each file's modified
time when the sender has it, and `call_in` (default true).
- Mirrors `/db/import/blastware_file`: each file gets its own status, and good files are stored
even when another in the same request is not.
- Per file it returns the serial, records inserted and skipped, and whether it was empty.
- A file with any failed checksum, or that is not whole, stores nothing of itself. Its status
names the record.
- `GET /db/mlg_files/{id}`: the original file, for printing or opening in Blastware.
- `GET /db/units/{serial}/timeline?from_dt=&to_dt=`: sessions (start, end or end window, how it
ended, its events, its trigger level), gaps with their meaning, and call-ins.
- `GET /db/units/{serial}/monitoring_at?at=`: `monitoring` / `not_monitoring` / `unknown`, with the
session and records that say so, and the trigger level. This is the shot report's question.
- `GET /db/mlg_records?serial=&from_dt=&to_dt=`: the raw records.
### 6. Serial of an empty file
An empty file holds no serial. Take, in order:
1. the request's serial hint
2. the longest serial SFM already knows (units, events, `.MLG` headers) that the name starts with
3. otherwise store the file with no serial and report it as unresolved
### 7. Tools
- **`scripts/import_mlg_dir.py <dir>`:** imports a directory tree of `.MLG`s straight into the DB,
with a dry run that prints the counts. Same pattern as the backfill scripts. For DL2's ~86,000.
- Every file it reads is a call-in file (it is pointed at the ACH folder's copy).
- It records file times as found, but they matter only for empty files. A zipped copy's times
are an hour early from March to October.
- The full DL2 import should come from a robocopy copy, which keeps true times.
- **`scratch/check_mlg_vs_events.py <mlg dir> <event dir>`:** the cross-check above, in both
directions, for the whole archive.
### 8. Documentation
- Rewrite the reference's D.4 (`docs/instantel_protocol_reference.md`) with the measured framing,
checksum, fields and file behaviour, keeping the old text as a retraction. Mark D.4.3 solved.
The file is CRLF: edit it with the Edit tool.
- 🔑 **The event-file footer's checksum** (D.3.3, open since April) is the same rule:
AUG-CCITT over the footer record from its length `00 1a` through byte 24, stored big-endian,
**70,041 / 70,041** DL2 files. Recorded on `dev` by the decoder session (`8544e9c`,
2026-11-11). Inferred: every record in the event file's tail chain (D.6.13) carries one.
## Testing
TDD. Fixtures go in a dated `tests/fixtures/` directory (force-added if ignored). A small set
covering each shape:
- a closed-records day (BE12844)
- a session with an event (BE12844 #3067–#3068)
- a histogram day (BE8081)
- a Battery Low Exit (BE8081)
- an empty 18-byte file (BE6907)
- a file with calls that left no file (`BE8081321`)
- the clock step back (BE12844 #3155–#3156)
- a histogram + waveform session (`BE8081.MLG`, 2018-02-16)
- the 4 bench files, including the `ach-vs-manual` pair whose text differs
Plus one file with a byte flipped, for the checksum.
The reader, the storage (including that an open record imported twice is stored once), the
timeline cases above and the routes each get tests. The full suite has 16 known failures; read the
failure list before committing.
## Left to the builder
- Model and helper names; the exact JSON shapes of the routes.
- Whether `read_mlg` moves into its own module later.
- What the header record's other bytes hold (all zero on the files seen).
- **Not in this project:** linking a session's events to SFM's stored event ids. Terra-View may
want that later. It needs a matcher, because the events table stores neither the stop time nor
the flag word, and its times moved in 0.32.0 and 0.34.0.
## Later pieces (not this project)
- **The watcher** forwards `.MLG`s with their modified time, and the heartbeat stops sniffing them.
- **Terra-View** shows each unit's timeline, puts "monitoring during the blast" on shot reports,
and takes "last call-in" from SFM.
- **BE6907's extra call-ins:** worth a look at its modem and call-home settings.
+2 -10
View File
@@ -15,6 +15,8 @@ from __future__ import annotations
import struct import struct
from minimateplus.crc import crc16_aug_ccitt as _crc16_aug_ccitt
from .models import MicromateSetup from .models import MicromateSetup
from .protocol import ProtocolError from .protocol import ProtocolError
@@ -23,8 +25,6 @@ class SetupChecksumError(ProtocolError):
"""A config block's trailing CRC does not match its contents.""" """A config block's trailing CRC does not match its contents."""
_CRC_POLY = 0x1021
_CRC_INIT = 0x1D0F # CRC-16/AUG-CCITT
_CONTENT_SIZE = 2092 # = content[0:2] (2090) + the 2-byte CRC _CONTENT_SIZE = 2092 # = content[0:2] (2090) + the 2-byte CRC
# ── Head of the block ───────────────────────────────────────────────────────── # ── Head of the block ─────────────────────────────────────────────────────────
@@ -60,14 +60,6 @@ _ACTIVE_MIC = 3 # block index (0-based)
_MIC_TYPES = {2: "linear", 9: "sound_level"} _MIC_TYPES = {2: "linear", 9: "sound_level"}
def _crc16_aug_ccitt(data: bytes) -> int:
c = _CRC_INIT
for b in data:
c ^= b << 8
for _ in range(8):
c = ((c << 1) ^ _CRC_POLY) & 0xFFFF if c & 0x8000 else (c << 1) & 0xFFFF
return c
def crc_ok(content: bytes) -> bool: def crc_ok(content: bytes) -> bool:
"""True if a config block's trailing checksum matches its contents. """True if a config block's trailing checksum matches its contents.
+17 -271
View File
@@ -3,7 +3,8 @@ blastware_file.py — Blastware binary file codec for bidirectional interoperabi
Reads and writes the proprietary Instantel/Blastware file formats: Reads and writes the proprietary Instantel/Blastware file formats:
Waveform events (.CE0W, .VM0H, .440, .7M0, etc.) (extension encoding UNKNOWN — see below) Waveform events (.CE0W, .VM0H, .440, .7M0, etc.) (extension encoding UNKNOWN — see below)
.MLG — Monitor log (monitoring session history)
Monitor logs (.MLG) live in minimateplus/mlg_file.py (reader and writer, 2026-11-13).
All waveform formats share a common 22-byte file header prefix and identical All waveform formats share a common 22-byte file header prefix and identical
internal binary structure (same type tag 00 12 03 00, same STRT record layout). internal binary structure (same type tag 00 12 03 00, same STRT record layout).
@@ -61,27 +62,6 @@ Waveform file structure (confirmed from example-events/4-3-26-multi/M529LIY6 (ex
Timestamp format (big-endian, 8 bytes): Timestamp format (big-endian, 8 bytes):
[day] [month] [year_HI] [year_LO] [0x00] [hour] [min] [sec] [day] [month] [year_HI] [year_LO] [0x00] [hour] [min] [sec]
MLG (monitor log, confirmed from example-events/4-3-26-multi/BE11529.MLG):
[308B header] [N × 292B records]
Header (308 bytes):
Offset 0x00: 10 00 01 80 00 00 Instantel\x00 07 2c 22 01 0e a0 — fixed (16B)
Offset 0x10: ... (unknown structure, written as zeros + serial)
Offset 0x2A: serial number (8 bytes, null-padded ASCII, e.g. "BE11529")
... zero-padded to 308 bytes total
Record (292 bytes each):
[2B CRC] — unknown algorithm; written as 0x00 0x00
22 01 0e 80 — record marker
[ts1: 8B big-endian timestamp] — start time
[ts2: 8B big-endian timestamp] — stop time (zeros if no stop)
[4B flags] — see MLG_FLAGS_* constants below
[10B serial] — null-padded serial number ASCII
[text] — for trigger records: [0x08][8B ts1_copy] then ASCII "Geo: X.XXX in/s"
for monitoring records: b'' (or minimal separator)
[zero-padded to 292 bytes]
─── Critical implementation notes ────────────────────────────────────────────── ─── Critical implementation notes ──────────────────────────────────────────────
Waveform body reconstruction algorithm (confirmed 2026-04-21 from verification against Waveform body reconstruction algorithm (confirmed 2026-04-21 from verification against
@@ -104,25 +84,11 @@ M529LIY6 (example event) using raw_s3_20260403_153508.bin capture):
DLE strip rule (applied AFTER slicing): DLE strip rule (applied AFTER slicing):
Strip any 0x10 byte that is immediately followed by 0x02, 0x03, or 0x04. Strip any 0x10 byte that is immediately followed by 0x02, 0x03, or 0x04.
This undoes the DLE-escape that S3FrameParser preserves as literal pairs. This undoes the DLE-escape that S3FrameParser preserves as literal pairs.
Applied to frame.data[skip:] + bytes([frame.chk_byte]) together, then
conditionally exclude the trailing chk_byte from the output.
chk_byte absorption: chk_byte absorption (retired 2026-11-06, #58):
When frame.data[-1] == 0x10 AND frame.chk_byte ∈ {0x02, 0x03, 0x04}, The escape 0x10 of a checksum sent as `10 02/03/04` used to stay at the end
the last byte of frame.data is the DLE prefix of a split DLE+chk pair. of frame.data, and this builder dropped it here. The parser now drops it,
Including chk_byte in the strip buffer allows the pair to be stripped as so a 0x10 ending frame.data is real data (one A5 chunk in ten ends in one).
a unit. After stripping, the trailing chk_byte is ALWAYS removed — because
_strip_inner_frame_dles keeps the byte after the DLE (the chk_byte value),
and that value is the checksum, never payload. This applies to all three
cases (chk ∈ {0x02, 0x03, 0x04}) identically.
MLG CRC:
The algorithm that produces the 2-byte CRC at the start of each MLG record
is unknown. All examined records use non-zero values that do not match
CRC-16/CCITT, CRC-16/IBM, CRC-32 (truncated), word sums, XOR variants, or
any of the 40+ polynomial/init combinations tested. The writer emits 0x0000.
This produces files that Blastware may reject or display without the CRC check —
the exact impact on BW import is unknown (TODO: test).
─── Public API ────────────────────────────────────────────────────────────────── ─── Public API ──────────────────────────────────────────────────────────────────
@@ -139,13 +105,6 @@ MLG CRC:
read_blastware_file(path) → Event read_blastware_file(path) → Event
Parse a Blastware waveform file into an Event object with waveform data populated. Parse a Blastware waveform file into an Event object with waveform data populated.
(Not yet implemented — placeholder raises NotImplementedError.) (Not yet implemented — placeholder raises NotImplementedError.)
write_mlg(entries, serial, path)
Create a .MLG file from a list of MonitorLogEntry objects.
read_mlg(path) → list[MonitorLogEntry]
Parse a .MLG file into MonitorLogEntry objects.
(Not yet implemented — placeholder raises NotImplementedError.)
""" """
from __future__ import annotations from __future__ import annotations
@@ -158,7 +117,7 @@ from pathlib import Path
from typing import Optional, Union from typing import Optional, Union
from .framing import S3Frame from .framing import S3Frame
from .models import Event, MonitorLogEntry, Timestamp from .models import Event, Timestamp
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
@@ -175,9 +134,6 @@ _FILE_HEADER_PREFIX = b"\x10\x00\x01\x80\x00\x00Instantel\x00\x07\x2c" # 17 byt
# Waveform file type tag (4 bytes after common prefix) — shared by ALL waveform extensions # Waveform file type tag (4 bytes after common prefix) — shared by ALL waveform extensions
_WAVEFORM_TYPE_TAG = b"\x00\x12\x03\x00" # confirmed from M529LIY6 (example event) — same tag for .CE0W, .VM0H, etc. _WAVEFORM_TYPE_TAG = b"\x00\x12\x03\x00" # confirmed from M529LIY6 (example event) — same tag for .CE0W, .VM0H, etc.
# MLG type tag (4 bytes after common prefix)
_MLG_TYPE_TAG = b"\x22\x01\x0e\xa0" # confirmed from BE11529.MLG offset 0x11..0x14
# Total header sizes # Total header sizes
_WAVEFORM_HEADER_SIZE = 22 # 17 + 4 = 21... wait. Let me recalculate. _WAVEFORM_HEADER_SIZE = 22 # 17 + 4 = 21... wait. Let me recalculate.
# From binary: first 22 bytes = header, then STRT at byte 22. # From binary: first 22 bytes = header, then STRT at byte 22.
@@ -186,17 +142,6 @@ _WAVEFORM_HEADER_SIZE = 22 # 17 + 4 = 21... wait. Let me recalculate.
# Re-count: b"\x10\x00\x01\x80\x00\x00" = 6B + b"Instantel\x00" = 10B + b"\x07\x2c" = 2B = 18B prefix. # Re-count: b"\x10\x00\x01\x80\x00\x00" = 6B + b"Instantel\x00" = 10B + b"\x07\x2c" = 2B = 18B prefix.
_FILE_HEADER_PREFIX = b"\x10\x00\x01\x80\x00\x00Instantel\x00\x07\x2c" # 18 bytes _FILE_HEADER_PREFIX = b"\x10\x00\x01\x80\x00\x00Instantel\x00\x07\x2c" # 18 bytes
_WAVEFORM_HEADER_SIZE = 22 # 18 + 4 = 22 bytes ✅ _WAVEFORM_HEADER_SIZE = 22 # 18 + 4 = 22 bytes ✅
_MLG_HEADER_SIZE = 308 # confirmed from BE11529.MLG
# MLG record marker (4 bytes after 2-byte CRC at start of each record)
_MLG_RECORD_MARKER = b"\x22\x01\x0e\x80"
_MLG_RECORD_SIZE = 292 # bytes per record (confirmed from BE11529.MLG)
# MLG record flags (4 bytes at record[22:26])
# Confirmed from BE11529.MLG binary inspection:
MLG_FLAGS_START_ONLY = b"\xff\xff\x00\x00" # monitoring start with no stop
MLG_FLAGS_TRIGGER = b"\x01\x00\x02\x00" # triggered event (has ts1 + ts2)
MLG_FLAGS_INTERVAL = b"\x02\x00\x00\x00" # monitoring interval (has ts1 + ts2)
# ── Timestamp helpers ───────────────────────────────────────────────────────── # ── Timestamp helpers ─────────────────────────────────────────────────────────
@@ -205,7 +150,8 @@ def _encode_ts_be(ts: Optional[datetime.datetime]) -> bytes:
""" """
Encode a datetime as an 8-byte big-endian Blastware timestamp. Encode a datetime as an 8-byte big-endian Blastware timestamp.
Format (waveform file and MLG record timestamps): Format (event file timestamps; an .MLG stores the year little-endian,
see minimateplus/mlg_file.py):
[day][month][year_HI][year_LO][0x00][hour][min][sec] [day][month][year_HI][year_LO][0x00][hour][min][sec]
Big-endian year confirmed from M529LIY6 (example event) footer: Big-endian year confirmed from M529LIY6 (example event) footer:
@@ -297,29 +243,16 @@ def _frame_body_bytes(frame: S3Frame, skip: int) -> bytes:
Extract the waveform body contribution from one A5 S3Frame. Extract the waveform body contribution from one A5 S3Frame.
The contribution is frame.data[skip:] with inner-frame DLE pairs stripped The contribution is frame.data[skip:] with inner-frame DLE pairs stripped
per _strip_inner_frame_dles(). The chk_byte is temporarily appended before per _strip_inner_frame_dles().
stripping to handle the split-pair edge case where a DLE at the end of
frame.data is paired with chk_byte.
Split-pair edge case (confirmed for A5[8] of M529LIY6 (example event), 2026-04-21): Until #58 (2026-11-06) an escaped checksum (`10 02/03/04`) left its 0x10 as
the last byte of frame.data, and this function dropped it by pairing it with
S3FrameParser appends DLE+XX pairs as two literal bytes when XX ∉ {DLE, ETX}. chk_byte (first seen on A5[8] of M529LIY6, 2026-04-21). The parser drops it
When the LAST occurrence of such a pair straddles the payload/checksum boundary now, so a 0x10 here is data and is kept.
(i.e., DLE is the last byte of raw_payload and XX is the checksum), the parser
splits them:
- DLE ends up as the last byte of frame.data (frame.data[-1] == 0x10)
- XX is stored as frame.chk_byte
To strip the pair correctly, we reunite the bytes before calling the strip
function. Since chk_byte is the checksum (not payload data), it is excluded
from the final output regardless of whether it was part of a pair.
Post-strip chk_byte removal (ALL cases):
_strip_inner_frame_dles strips the 0x10 and KEEPS chk_byte in all cases.
Chk_byte is always the checksum (not payload), so always strip it off.
Args: Args:
frame: S3Frame with frame.data and frame.chk_byte populated. frame: S3Frame from S3FrameParser (or a store pickle loaded by
WaveformStore.load_a5, which converts pre-#58 frames).
skip: Number of leading bytes in frame.data to exclude (frame header). skip: Number of leading bytes in frame.data to exclude (frame header).
Returns: Returns:
@@ -327,28 +260,7 @@ def _frame_body_bytes(frame: S3Frame, skip: int) -> bytes:
""" """
if skip >= len(frame.data): if skip >= len(frame.data):
return b"" return b""
return _strip_inner_frame_dles(frame.data[skip:])
relevant = frame.data[skip:]
# Detect split DLE+chk pair at the frame boundary.
has_split_pair = (
len(relevant) > 0
and relevant[-1] == 0x10
and frame.chk_byte in {0x02, 0x03, 0x04}
)
if has_split_pair:
# Reunite the split pair so the strip function sees both bytes together.
buf = relevant + bytes([frame.chk_byte])
stripped = _strip_inner_frame_dles(buf)
# _strip_inner_frame_dles strips the DLE (0x10) and KEEPS chk_byte.
# chk_byte is the received checksum — never payload — so remove it.
# This is correct for all values in {0x02, 0x03, 0x04}.
if stripped:
stripped = stripped[:-1]
return stripped
else:
return _strip_inner_frame_dles(relevant)
# ── Filename helper ─────────────────────────────────────────────────────────── # ── Filename helper ───────────────────────────────────────────────────────────
@@ -976,169 +888,3 @@ def read_blastware_file(path: Union[str, Path]) -> Event:
NotImplementedError: always (pending implementation). NotImplementedError: always (pending implementation).
""" """
raise NotImplementedError("read_blastware_file() is not yet implemented") raise NotImplementedError("read_blastware_file() is not yet implemented")
# ── MLG file writer ───────────────────────────────────────────────────────────
def _build_mlg_header(serial: str) -> bytes:
"""
Build the 308-byte MLG file header.
Header structure (confirmed from BE11529.MLG binary inspection):
Offset 0x00: 10 00 01 80 00 00 Instantel\x00 07 2c 22 01 0e a0 (22B)
Offset 0x16: ... (16B unknown — observed as zeros in BE11529.MLG)
Offset 0x2A: serial number (8 bytes, null-padded ASCII)
... rest zero-padded to 308 bytes
The serial string "BE11529" appears at offset 0x2A (42 decimal).
"""
buf = bytearray(_MLG_HEADER_SIZE)
# Common prefix + MLG type tag
prefix = _FILE_HEADER_PREFIX + _MLG_TYPE_TAG # 22 bytes
buf[0:len(prefix)] = prefix
# Serial number at offset 0x2A
serial_bytes = serial.encode("ascii", errors="replace")[:8]
serial_padded = serial_bytes.ljust(8, b"\x00")
buf[0x2A : 0x2A + 8] = serial_padded
return bytes(buf)
def _build_mlg_record(
entry: MonitorLogEntry,
serial: str,
) -> bytes:
"""
Build one 292-byte MLG record from a MonitorLogEntry.
Record layout (confirmed from BE11529.MLG binary inspection):
[0:2] CRC — 2-byte CRC (algorithm unknown; written as 0x0000)
[2:6] marker — 22 01 0e 80
[6:14] ts1 — 8B big-endian start timestamp
[14:22] ts2 — 8B big-endian stop timestamp
[22:26] flags — 4B record flags (see MLG_FLAGS_* constants)
[26:36] serial — 10B null-padded serial number
[36:] text — for triggered events: [0x08][8B ts1_copy]["Geo: X.XXX in/s"]
for monitoring intervals: b"" or minimal separator
[... zero-padded to 292 bytes]
Flags based on entry type:
- MonitorLogEntry with start_time only (no stop_time): MLG_FLAGS_START_ONLY
- MonitorLogEntry with both times and geo_threshold_ips set: MLG_FLAGS_TRIGGER
- MonitorLogEntry with both times (monitoring interval): MLG_FLAGS_INTERVAL
The triggered-event text block (flags = MLG_FLAGS_TRIGGER):
[0x08] [ts1: 8B] [ASCII "Geo: X.XXX in/s\x00"]
Confirmed from BE11529.MLG records at offset 0x0134 and 0x0258.
"""
buf = bytearray(_MLG_RECORD_SIZE)
start_dt = (
datetime.datetime(
entry.start_time.year, entry.start_time.month, entry.start_time.day,
entry.start_time.hour, entry.start_time.minute, entry.start_time.second,
)
if entry.start_time else None
)
stop_dt = (
datetime.datetime(
entry.stop_time.year, entry.stop_time.month, entry.stop_time.day,
entry.stop_time.hour, entry.stop_time.minute, entry.stop_time.second,
)
if entry.stop_time else None
)
# [0:2] CRC placeholder
buf[0:2] = b"\x00\x00"
# [2:6] Record marker
buf[2:6] = _MLG_RECORD_MARKER
# [6:14] ts1
buf[6:14] = _encode_ts_be(start_dt)
# [14:22] ts2
buf[14:22] = _encode_ts_be(stop_dt)
# [22:26] flags
if stop_dt is None:
flags = MLG_FLAGS_START_ONLY
elif entry.geo_threshold_ips is not None:
flags = MLG_FLAGS_TRIGGER
else:
flags = MLG_FLAGS_INTERVAL
buf[22:26] = flags
# [26:36] serial (10B null-padded)
serial_bytes = serial.encode("ascii", errors="replace")[:10]
buf[26 : 26 + len(serial_bytes)] = serial_bytes
# [36:] text content
pos = 36
if flags == MLG_FLAGS_TRIGGER:
# Extra ts1 copy: [0x08][ts1: 8B]
buf[pos] = 0x08
pos += 1
buf[pos : pos + 8] = _encode_ts_be(start_dt)
pos += 8
if entry.geo_threshold_ips is not None:
geo_text = f"Geo: {entry.geo_threshold_ips:.3f} in/s\x00".encode("ascii")
buf[pos : pos + len(geo_text)] = geo_text
pos += len(geo_text)
return bytes(buf)
def write_mlg(
entries: list[MonitorLogEntry],
serial: str,
path: Union[str, Path],
) -> None:
"""
Write a Blastware .MLG monitor log file.
Args:
entries: List of MonitorLogEntry objects (from get_monitor_log_entries()).
Each entry produces one 292-byte record in the file.
serial: Device serial number string (e.g. "BE11529").
Written to the file header and each record.
path: Destination file path. Extension is not enforced — use ".MLG".
File layout:
[308B header] [N × 292B records]
Note: The 2-byte CRC at the start of each record is written as 0x0000.
The CRC algorithm is unknown (see module docstring).
Raises:
OSError: if the file cannot be written.
"""
path = Path(path)
header = _build_mlg_header(serial)
with open(path, "wb") as f:
f.write(header)
for entry in entries:
record = _build_mlg_record(entry, serial)
f.write(record)
def read_mlg(path: Union[str, Path]) -> list[MonitorLogEntry]:
"""
Parse a Blastware .MLG file into a list of MonitorLogEntry objects.
NOT YET IMPLEMENTED.
Args:
path: Path to the .MLG file.
Returns:
List of MonitorLogEntry objects.
Raises:
NotImplementedError: always (pending implementation).
"""
raise NotImplementedError("read_mlg() is not yet implemented")
+3 -2
View File
@@ -2354,8 +2354,9 @@ def _decode_monitor_status(data: bytes) -> MonitorStatus:
header, so field offsets below are relative to data[11]). header, so field offsets below are relative to data[11]).
NOTE: frame.data has the checksum byte already stripped by S3FrameParser NOTE: frame.data has the checksum byte already stripped by S3FrameParser
(_finalise returns raw_payload[5:] where raw_payload = body[:-1]). (_finalise returns raw_payload[5:], the checksum and, since #58, the 10 of
There is NO trailing checksum byte in section. an escaped checksum removed). There is NO trailing checksum byte in section;
before #58 one status reply in 63 kept that 10 and read 419.84 V.
Monitoring flag (confirmed 4-8-26/2ndtry, byte diff of all 144 data frames): Monitoring flag (confirmed 4-8-26/2ndtry, byte diff of all 144 data frames):
section[1] == 0x00 → idle section[1] == 0x00 → idle
+23
View File
@@ -0,0 +1,23 @@
"""
minimateplus/crc.py — Instantel's record checksum, shared by every reader that checks one.
CRC-16/AUG-CCITT: poly 0x1021, init 0x1D0F, no reflection, no final XOR. The
same rule covers a Micromate's setup blocks (0x1A, 0x08, 0x2E; stored big-endian),
a Blastware event file's footer (big-endian) and every .MLG record (little-endian).
Each block says where its checksum sits; this module only computes it.
"""
from __future__ import annotations
_POLY = 0x1021
_INIT = 0x1D0F
def crc16_aug_ccitt(data: bytes) -> int:
"""CRC-16/AUG-CCITT of `data` (check value: b"123456789" -> 0xE5CC)."""
c = _INIT
for b in data:
c ^= b << 8
for _ in range(8):
c = ((c << 1) ^ _POLY) & 0xFFFF if c & 0x8000 else (c << 1) & 0xFFFF
return c
+85 -16
View File
@@ -21,7 +21,7 @@ from typing import Callable, Optional, Sequence
from .bw_xml_report import XmlReport from .bw_xml_report import XmlReport
from .event_file_io import (interval_times, _GEO_FS_BY_RANGE, _GEO_INT16_FS, _GEO_NORMAL_FS_INS, _MIC_PSI_PER_COUNT, from .event_file_io import (interval_times, _GEO_FS_BY_RANGE, _GEO_INT16_FS, _GEO_NORMAL_FS_INS, _MIC_PSI_PER_COUNT,
decode_blastware_bytes) decode_blastware_bytes, mic_count_divisor, over_full_scale)
from .histogram_codec import half_period_to_hz from .histogram_codec import half_period_to_hz
from .models import Event from .models import Event
from .waveform_codec import mic_count_to_db from .waveform_codec import mic_count_to_db
@@ -87,6 +87,7 @@ class SfmSide:
channels: list[str] # channels with decoded data, in Tran/Vert/Long/MicL order channels: list[str] # channels with decoded data, in Tran/Vert/Long/MicL order
counts: dict[str, list[int]] # waveform samples or histogram interval peaks counts: dict[str, list[int]] # waveform samples or histogram interval peaks
geo_ips_per_count: float = GEO_IPS_PER_COUNT # at the event's range, as SFM read it geo_ips_per_count: float = GEO_IPS_PER_COUNT # at the event's range, as SFM read it
mic_divisor: int = 1 # mic counts per 0.25 Pa, at the mic's range
# interval column -> SFM's value per interval (a number, or Blastware's word) # interval column -> SFM's value per interval (a number, or Blastware's word)
interval_values: dict[str, list[object]] = field(default_factory=dict) interval_values: dict[str, list[object]] = field(default_factory=dict)
interval_times: Optional[list[str]] = None # each interval's printed time interval_times: Optional[list[str]] = None # each interval's printed time
@@ -145,11 +146,37 @@ def sfm_side(raw: bytes) -> SfmSide:
("PeakVectorSumTimeSum", pv.pvs_time), ("PeakVectorSumTimeSum", pv.pvs_time),
("TranPeakAcceleration", pv.tran_peak_accel_g), ("TranPeakAcceleration", pv.tran_peak_accel_g),
("VertPeakAcceleration", pv.vert_peak_accel_g), ("VertPeakAcceleration", pv.vert_peak_accel_g),
("LongPeakAcceleration", pv.long_peak_accel_g)): ("LongPeakAcceleration", pv.long_peak_accel_g),
("TranPeakDisplacement", pv.tran_peak_disp_in),
("VertPeakDisplacement", pv.vert_peak_disp_in),
("LongPeakDisplacement", pv.long_peak_disp_in)):
if value is not None: if value is not None:
values[tag] = value values[tag] = value
# The unit's ZC frequency, every record type. Above range it is judged
# by its flag (_compare_scalar); below 1 Hz Blastware prints a word.
for tag, hz in (("TranZCFreq", pv.tran_zc_freq), ("VertZCFreq", pv.vert_zc_freq),
("LongZCFreq", pv.long_zc_freq), ("MicLZCFreq", pv.mic_zc_freq)):
if hz is not None:
values[tag] = "<1.0" if hz < 1.0 else hz
# Blastware's "Out of Range" line: on every DL2 event whose mic is over
# range, and on no other (18 / 18, 2026-11-09).
if pv is not None and pv.mic_over_range:
values["OORANGE"] = "Out of Range"
# The event's Monitor Log line, from the footer (2026-11-08).
if ev.monitor_log is not None:
ml = ev.monitor_log
values["MonitorLog"] = (f'{ml.start:%Y-%m-%d %H:%M:%S} - {ml.stop:%Y-%m-%d %H:%M:%S} '
f'"{ml.description}"')
# The unit's sensor check (2026-11-06), every record type.
for ch, r in (ev.sensor_check_results or {}).items():
values[f"{ch}TestResults"] = r.result
for tag, value in (("TestFreq", r.freq_hz), ("TestRatio", r.ratio),
("TestAmplitude", r.amplitude_mv)):
if value is not None:
values[f"{ch}{tag}"] = value
if counts["MicL"]: if counts["MicL"]:
values["MicLPSPL dB(L)"] = mic_count_to_db(max(abs(c) for c in counts["MicL"])) values["MicLPSPL dB(L)"] = mic_count_to_db(max(abs(c) for c in counts["MicL"])
/ mic_count_divisor(ev.mic_range))
values["MicLPSPL psi(L)"] = pv.micl if pv is not None else None values["MicLPSPL psi(L)"] = pv.micl if pv is not None else None
values.update(_setup_values(ev)) values.update(_setup_values(ev))
if ev.stop_time is not None: if ev.stop_time is not None:
@@ -162,7 +189,12 @@ def sfm_side(raw: bytes) -> SfmSide:
for ch, hps in ev.interval_half_periods.items(): for ch, hps in ev.interval_half_periods.items():
interval_values[f"{ch} Freq Hz"] = [interval_frequency(h, ev.sample_rate) for h in hps] interval_values[f"{ch} Freq Hz"] = [interval_frequency(h, ev.sample_rate) for h in hps]
if ev.interval_pvs: if ev.interval_pvs:
interval_values["Geo PVS in/s"] = list(ev.interval_pvs) # OORANGE when any geophone passes full scale in that interval: 16 / 16
# DL2 cells, and none of 2,862 without one (2026-11-09).
geo = [counts[c] for c in _GEO if counts.get(c)]
interval_values["Geo PVS in/s"] = [
"OORANGE" if any(i < len(g) and over_full_scale(g[i], "Tran") for g in geo) else v
for i, v in enumerate(ev.interval_pvs)]
times = None times = None
n = len(counts["Tran"]) n = len(counts["Tran"])
if ev.record_type == "Histogram" and ts is not None and ev.histogram_interval_sec and n: if ev.record_type == "Histogram" and ts is not None and ev.histogram_interval_sec and n:
@@ -187,6 +219,7 @@ def sfm_side(raw: bytes) -> SfmSide:
channels=[ch for ch in _CHANNELS if counts[ch]], channels=[ch for ch in _CHANNELS if counts[ch]],
counts=counts, counts=counts,
geo_ips_per_count=_GEO_FS_BY_RANGE.get(ev.geo_range, _GEO_NORMAL_FS_INS) / _GEO_INT16_FS, geo_ips_per_count=_GEO_FS_BY_RANGE.get(ev.geo_range, _GEO_NORMAL_FS_INS) / _GEO_INT16_FS,
mic_divisor=mic_count_divisor(ev.mic_range),
interval_values=interval_values, interval_values=interval_values,
interval_times=times, interval_times=times,
) )
@@ -239,22 +272,49 @@ def _same_text(a: object, b: str) -> bool:
return " ".join(str(a).split()) == " ".join(b.split()) return " ".join(str(a).split()) == " ".join(b.split())
def _mic_converter(ref: XmlReport) -> Optional[Callable[[int], float]]: def _mic_table_units(ref: XmlReport) -> str:
units = ref.event_units or "" """The unit a report's mic sample table is printed in. Its cells say so --
a mic dB value is never under 60, psi never over 1 -- where the event's
Units line need not: S353JTHU.DT0W prints dB under psi (2026-11-09)."""
if ref.sample_rows and "MicL" in ref.channels:
i, seen = ref.channels.index("MicL"), False
for row in ref.sample_rows:
p = _printed_number(row[i]) if len(row) == len(ref.channels) else None
if p is not None:
if abs(p[0]) > 1.0:
return "dB(L)"
seen = True
if seen:
return "psi(L)"
return ref.event_units or ""
def _mic_converter(ref: XmlReport, sfm: SfmSide) -> Optional[Callable[[int], float]]:
units = _mic_table_units(ref)
d = sfm.mic_divisor
if "dB(L)" in units: if "dB(L)" in units:
return mic_count_to_db return lambda c: mic_count_to_db(c / d)
if "psi(L)" in units: if "psi(L)" in units:
return lambda c: c * _MIC_PSI_PER_COUNT return lambda c: c * _MIC_PSI_PER_COUNT / d
return None return None
_OVER_RANGE = {"TranPPV": "tran_over_range", "VertPPV": "vert_over_range",
"LongPPV": "long_over_range", "PeakVectorSum": "pvs_over_range",
"MicLPSPL": "mic_over_range"}
def _compare_scalar(tag: str, printed: str, sfm: SfmSide, ref: XmlReport) -> FieldResult: def _compare_scalar(tag: str, printed: str, sfm: SfmSide, ref: XmlReport) -> FieldResult:
if not printed.strip() or printed.strip() == "N/A": if not printed.strip() or printed.strip() == "N/A":
return FieldResult(tag, "no_reference", printed, None) return FieldResult(tag, "no_reference", printed, None)
if tag in ("MicLPSPL", "MicTriggerLevel"): if tag in ("MicLPSPL", "MicTriggerLevel"):
# A printed value that states its unit is compared in that unit: # A printed value that states its unit is compared in that unit:
# K441LA17.IN0W's Units say psi(L), its MicTriggerLevel "125.0 dB(L)". # K441LA17.IN0W's Units say psi(L), its MicTriggerLevel "125.0 dB(L)".
units = printed if ("dB(L)" in printed or "psi(L)" in printed) else (ref.event_units or "") # Else the field's own <Units>, then the event's line: 7 DL2 reports
# print the mic peak in dB under a psi line, 3 the reverse (2026-11-09).
own = ref.units.get(tag) or ""
units = (printed if ("dB(L)" in printed or "psi(L)" in printed)
else own if ("dB(L)" in own or "psi(L)" in own) else (ref.event_units or ""))
key = (f"{tag} dB(L)" if "dB(L)" in units else key = (f"{tag} dB(L)" if "dB(L)" in units else
f"{tag} psi(L)" if "psi(L)" in units else None) f"{tag} psi(L)" if "psi(L)" in units else None)
value = sfm.values.get(key) if key else None value = sfm.values.get(key) if key else None
@@ -264,10 +324,17 @@ def _compare_scalar(tag: str, printed: str, sfm: SfmSide, ref: XmlReport) -> Fie
return FieldResult(tag, "sfm_blank", printed, None) return FieldResult(tag, "sfm_blank", printed, None)
if printed.startswith(">"): if printed.startswith(">"):
# ZC frequency above range: SFM agrees only by setting its flag. # ZC frequency above range: SFM agrees only by setting its flag.
flag = getattr(sfm.event.peak_values, tag[:-len("ZCFreq")].lower() + "_zc_above_range", False) ch = tag[:-len("ZCFreq")].lower()
flag = getattr(sfm.event.peak_values, ("mic" if ch == "micl" else ch) + "_zc_above_range", False)
return FieldResult(tag, "match" if flag else "mismatch", printed, str(value)) return FieldResult(tag, "match" if flag else "mismatch", printed, str(value))
if printed == "OORANGE": # Over range: SFM agrees with Blastware's OORANGE only by setting its flag,
return FieldResult(tag, "mismatch", printed, str(value)) # and a flag against a printed number is a disagreement.
over = _OVER_RANGE.get(tag)
flagged = bool(over and getattr(sfm.event.peak_values, over, False))
if printed == "OORANGE" or flagged:
ok = printed == "OORANGE" and flagged
return FieldResult(tag, "match" if ok else "mismatch", printed,
"OORANGE" if flagged else _render(value, printed))
if isinstance(value, (int, float)) and not isinstance(value, bool) and _printed_number(printed): if isinstance(value, (int, float)) and not isinstance(value, bool) and _printed_number(printed):
ok = matches_printed(float(value), printed) ok = matches_printed(float(value), printed)
else: else:
@@ -302,7 +369,7 @@ def _series_result(field: str, n_bw: int, n_sfm: int, diffs: list[tuple[int, flo
def _sample_converters(sfm: SfmSide, ref: XmlReport) -> dict[str, Callable[[int], float]]: def _sample_converters(sfm: SfmSide, ref: XmlReport) -> dict[str, Callable[[int], float]]:
k = sfm.geo_ips_per_count k = sfm.geo_ips_per_count
convert: dict[str, Callable[[int], float]] = {ch: (lambda c: c * k) for ch in _GEO} convert: dict[str, Callable[[int], float]] = {ch: (lambda c: c * k) for ch in _GEO}
mic = _mic_converter(ref) mic = _mic_converter(ref, sfm)
if mic is not None: if mic is not None:
convert["MicL"] = mic convert["MicL"] = mic
return convert return convert
@@ -311,12 +378,14 @@ def _sample_converters(sfm: SfmSide, ref: XmlReport) -> dict[str, Callable[[int]
def _interval_converter(title: str, sfm: SfmSide) -> Optional[Callable[[int], float]]: def _interval_converter(title: str, sfm: SfmSide) -> Optional[Callable[[int], float]]:
"""SFM keeps each interval's peaks; it drops their frequencies and geo PVS.""" """SFM keeps each interval's peaks; it drops their frequencies and geo PVS."""
ch, _, rest = title.partition(" ") ch, _, rest = title.partition(" ")
# A peak past full scale is Blastware's OORANGE, in an interval as in the event.
if rest.startswith("Peak") and ch in _GEO: if rest.startswith("Peak") and ch in _GEO:
return lambda c: c * sfm.geo_ips_per_count return lambda c: "OORANGE" if over_full_scale(c, ch) else c * sfm.geo_ips_per_count
d = sfm.mic_divisor
if ch == "MicL" and rest == "Peak dB(L)": if ch == "MicL" and rest == "Peak dB(L)":
return mic_count_to_db return lambda c: "OORANGE" if over_full_scale(c, ch) else mic_count_to_db(c / d)
if ch == "MicL" and rest == "Peak psi(L)": if ch == "MicL" and rest == "Peak psi(L)":
return lambda c: c * _MIC_PSI_PER_COUNT return lambda c: "OORANGE" if over_full_scale(c, ch) else c * _MIC_PSI_PER_COUNT / d
return None return None
+60 -6
View File
@@ -17,7 +17,10 @@ from dataclasses import dataclass
from typing import Callable from typing import Callable
from .bw_xml_report import XmlReport from .bw_xml_report import XmlReport
from .decode_check import FieldResult, SfmSide, _printed_number, series_pairs, matches_printed from .decode_check import (FieldResult, SfmSide, _mic_table_units, _printed_number, series_pairs,
matches_printed)
from .event_file_io import _MIC_PSI_PER_COUNT
from .waveform_codec import mic_count_to_db
@dataclass(frozen=True) @dataclass(frozen=True)
@@ -45,6 +48,14 @@ def _clamped(printed: str, r: float) -> bool:
return p is not None and abs(p[0]) >= r - _TOL return p is not None and abs(p[0]) >= r - _TOL
def _differs(v: object, cell: str) -> bool:
"""A cell SFM disagrees with. SFM's own word (its OORANGE, since
2026-11-09) agrees only when Blastware printed the same word."""
if isinstance(v, str):
return " ".join(v.split()) != " ".join(cell.split())
return not matches_printed(v, cell)
def _saturation(sfm: SfmSide, ref: XmlReport, res: FieldResult) -> bool: def _saturation(sfm: SfmSide, ref: XmlReport, res: FieldResult) -> bool:
try: try:
r = float(ref.scalars["GeoRange"]) r = float(ref.scalars["GeoRange"])
@@ -76,16 +87,15 @@ def _saturation(sfm: SfmSide, ref: XmlReport, res: FieldResult) -> bool:
peaks = [cols.index(c) for c in ("Tran Peak in/s", "Vert Peak in/s", "Long Peak in/s") peaks = [cols.index(c) for c in ("Tran Peak in/s", "Vert Peak in/s", "Long Peak in/s")
if c in cols] if c in cols]
rows = ref.intervals or [] rows = ref.intervals or []
differing = [(j, cell, v) for j, cell, v in got[0] differing = [(j, cell, v) for j, cell, v in got[0] if _differs(v, cell)]
if isinstance(v, str) or not matches_printed(v, cell)]
return bool(differing) and all( return bool(differing) and all(
cell.strip() == "OORANGE" and not isinstance(v, str) cell.strip() == "OORANGE" and not isinstance(v, str)
and r - _TOL <= v <= 3 ** 0.5 * r * 1.01 and r - _TOL <= v <= 3 ** 0.5 * r * 1.01
and any(_clamped(rows[j][1][p], r) for p in peaks if p < len(rows[j][1])) and any(_clamped(rows[j][1][p], r) for p in peaks if p < len(rows[j][1]))
for j, cell, v in differing) for j, cell, v in differing)
differing = [(cell, v) for _, cell, v in got[0] if not matches_printed(v, cell)] differing = [(cell, v) for _, cell, v in got[0] if _differs(v, cell)]
return bool(differing) and all( return bool(differing) and all(
_clamped(cell, r) and _at_ceiling(v, r) not isinstance(v, str) and _clamped(cell, r) and _at_ceiling(v, r)
and (cell.strip() == "OORANGE" or (v >= 0) == (_printed_number(cell)[0] >= 0)) and (cell.strip() == "OORANGE" or (v >= 0) == (_printed_number(cell)[0] >= 0))
for cell, v in differing) for cell, v in differing)
@@ -148,5 +158,49 @@ UNITS_IS_A_DISPLAY_PREFERENCE = Carveout(
applies=_units_is_a_display_preference, applies=_units_is_a_display_preference,
) )
def _other_mic_unit(sfm: SfmSide, units: str):
"""SFM's mic value in the unit the report did NOT say, as Blastware renders it."""
d = sfm.mic_divisor
if "dB(L)" in units:
return lambda c: c * _MIC_PSI_PER_COUNT / d
if "psi(L)" in units:
return lambda c: mic_count_to_db(c / d)
return None
def _mic_units_mixed(sfm: SfmSide, ref: XmlReport, res: FieldResult) -> bool:
"""Every mic cell SFM disagrees with is SFM's own value in the other unit."""
counts = sfm.counts.get("MicL") or []
if res.field == "MicLPSPL":
own = ref.units.get("MicLPSPL") or ""
alt = _other_mic_unit(sfm, own if ("dB(L)" in own or "psi(L)" in own) else (ref.event_units or ""))
peak = max((abs(c) for c in counts), default=None)
return alt is not None and peak is not None and not _differs(alt(peak), res.bw or "")
got = series_pairs(sfm, ref, res.field)
# An interval column names its own unit; a sample table says it in its cells.
units = res.field if res.field.startswith("intervals.") else _mic_table_units(ref)
alt = _other_mic_unit(sfm, units)
if got is None or got[1] or alt is None:
return False
differing = [(j, cell) for j, cell, v in got[0] if _differs(v, cell)]
return bool(differing) and all(j < len(counts) and not _differs(alt(counts[j]), cell)
for j, cell in differing)
MIC_UNITS_MIXED = Carveout(
id="mic-units-mixed",
fields=("MicLPSPL", "samples.MicL", "intervals.MicL Peak psi(L)", "intervals.MicL Peak dB(L)"),
evidence=("Blastware's dB(L) / psi(L) labels do not hold for the mic on every report: 7 DL2 "
"reports print the mic peak in dB under a psi line, 3 the reverse, and some mix the "
"two inside one column -- K441L9IN.OT0W prints psi '0.000' / '-0.000' for counts of 1 "
"to 3 in a dB table, S353JTHU.DT0W psi rows then dB rows. On 19 DL2 events (14 "
"sample tables, 5 peaks) every mic cell SFM disagrees with is SFM's own value in the "
"other unit; a cell matching neither is still a mismatch. A histogram row can print "
"one unit in both its mic columns: I145HKWT.DY0H row 672 reads 95.92 under psi(L) "
"and dB(L) (count 5, dB), S353K894.OE0H rows 106 and 608 0.000 under both (count 2, "
"psi). 2026-11-09."),
applies=_mic_units_mixed,
)
CARVEOUTS: tuple[Carveout, ...] = (SATURATION, INTERVAL_COUNT_IS_DURATION, CARVEOUTS: tuple[Carveout, ...] = (SATURATION, INTERVAL_COUNT_IS_DURATION,
UNITS_IS_A_DISPLAY_PREFERENCE) UNITS_IS_A_DISPLAY_PREFERENCE, MIC_UNITS_MIXED)
+246 -29
View File
@@ -26,12 +26,14 @@ import struct
from pathlib import Path from pathlib import Path
from typing import Optional, Union from typing import Optional, Union
from .models import DeviceInfo, Event, PeakValues, ProjectInfo, Timestamp from .models import (DeviceInfo, Event, MonitorLogLine, PeakValues, ProjectInfo, SensorCheckResult,
Timestamp)
from . import blastware_file as _bw # avoid circular reference at module load from . import blastware_file as _bw # avoid circular reference at module load
from .bw_ascii_report import BwAsciiReport from .bw_ascii_report import BwAsciiReport
from . import waveform_codec as _wc from . import waveform_codec as _wc
from .waveform_codec import decode_waveform_v2, decoded_to_adc_counts from .waveform_codec import decode_waveform_v2, decoded_to_adc_counts
from .histogram_codec import channels_from_records, decode_histogram_body, decode_histogram_body_full from .histogram_codec import (channels_from_records, decode_histogram_body, decode_histogram_body_full,
half_period_to_hz)
# Reference pressure for dB(L) → psi conversion (20 µPa expressed in psi). # Reference pressure for dB(L) → psi conversion (20 µPa expressed in psi).
# Same constant as sfm/sfm_webapp.html so server-side and browser-side # Same constant as sfm/sfm_webapp.html so server-side and browser-side
@@ -52,7 +54,7 @@ SIDECAR_KIND = "sfm.event"
# bumped without a `pip install` re-run — leading to confusing stale # bumped without a `pip install` re-run — leading to confusing stale
# version stamps in sidecars. Bump this constant and CHANGELOG.md # version stamps in sidecars. Bump this constant and CHANGELOG.md
# together at release time. # together at release time.
TOOL_VERSION = "0.34.0" # file-only decode groups A-D, histogram times (#51); gates the backfill regen TOOL_VERSION = "0.35.0" # file-only decode groups D2, E, F, over range, mic range; gates the backfill regen
try: try:
# Best-effort: prefer the installed metadata when it's NEWER than the # Best-effort: prefer the installed metadata when it's NEWER than the
@@ -717,6 +719,15 @@ _HIST_GEO_COUNTS_PER_UNIT = 16
# 0.0125 / 32768, that read every mic peak ~95x low (2026-10-31). # 0.0125 / 32768, that read every mic peak ~95x low (2026-10-31).
_PA_PER_PSI = 6894.757 _PA_PER_PSI = 6894.757
_MIC_PSI_PER_COUNT = _wc.MIC_PA_PER_COUNT / _PA_PER_PSI _MIC_PSI_PER_COUNT = _wc.MIC_PA_PER_COUNT / _PA_PER_PSI
# The mic's own range byte (its channel block, label + 29, as the geophones'):
# at 1 each count is an eighth. Set on 7 DL2 events, all of them Blastware's
# values divided by 8, and on none of the other 70,026 (2026-11-09).
_MIC_COUNTS_PER_UNIT_BY_RANGE = {0: 1, 1: 8}
def mic_count_divisor(mic_range: Optional[int]) -> int:
"""How many of a mic's counts make one 0.25 Pa unit at its range."""
return _MIC_COUNTS_PER_UNIT_BY_RANGE.get(mic_range, 1)
def _decode_strt(strt: bytes) -> dict: def _decode_strt(strt: bytes) -> dict:
@@ -753,7 +764,8 @@ def _decode_samples_4ch_int16_le(stream: bytes) -> dict[str, list[int]]:
def _peaks_from_samples(samples: dict[str, list[int]], def _peaks_from_samples(samples: dict[str, list[int]],
geo_fs_ins: float = _GEO_NORMAL_FS_INS) -> PeakValues: geo_fs_ins: float = _GEO_NORMAL_FS_INS,
mic_divisor: int = 1) -> PeakValues:
""" """
Compute peaks from raw int16 samples at the given geophone full scale Compute peaks from raw int16 samples at the given geophone full scale
(Normal, 10 in/s, unless the file's range says otherwise). Used by the (Normal, 10 in/s, unless the file's range says otherwise). Used by the
@@ -770,9 +782,9 @@ def _peaks_from_samples(samples: dict[str, list[int]],
vert = _peak_ins(samples.get("Vert", [])) vert = _peak_ins(samples.get("Vert", []))
long_ = _peak_ins(samples.get("Long", [])) long_ = _peak_ins(samples.get("Long", []))
# Mic in psi: one count = 0.25 Pa # Mic in psi: one count = 0.25 Pa, an eighth of that on a range-1 mic
mic_ch = samples.get("MicL", []) or [] mic_ch = samples.get("MicL", []) or []
mic = max((abs(int(v)) for v in mic_ch), default=0) * _MIC_PSI_PER_COUNT mic = max((abs(int(v)) for v in mic_ch), default=0) * _MIC_PSI_PER_COUNT / mic_divisor
# Peak vector sum: max over time of sqrt(T^2 + V^2 + L^2) # Peak vector sum: max over time of sqrt(T^2 + V^2 + L^2)
pvs = 0.0 pvs = 0.0
@@ -833,6 +845,53 @@ def _waveform_peak_detail(pv: PeakValues, samples: dict[str, list[int]], geo_fs_
pv.pvs_time = (j - pretrig) / sample_rate pv.pvs_time = (j - pretrig) / sample_rate
def _zc_from_half_period(halfp: int, sample_rate: int) -> tuple[Optional[float], bool]:
"""(ZC frequency, above range) as Blastware reports it: None for a
half-period of 0 ("N/A"); Blastware's threshold, flagged, at 5 samples or
fewer (">100", ">200" at 2048 sps); else (rate / 2) / half-period, which
Blastware prints as "<1.0" below 1 Hz."""
if halfp == 0:
return None, False
hz = half_period_to_hz(halfp, sample_rate)
if hz is None:
return 100.0 * sample_rate / 1024, True
return hz, False
def _apply_unit_summary(pv: PeakValues, summary: dict, geo_fs_ins: float, sample_rate: int,
pretrig: Optional[int]) -> None:
"""The unit's own values from its event summary, on `pv`. Blastware prints
them as they are (DL2, 2026-11-05):
* ZC frequency, every record type: 15,844 / 15,844 waveform and
104,000 / 104,000 histogram values, and every word
* a waveform's peak displacement = half its integral: 19,479 / 19,479
* a waveform's times of peak and vector-sum time, from the unit's peak
samples (`pretrig` given): they replace the samples' own, which differ
only where the stored samples wrap (O117I1NK.R70W)
* over range, every record type: a channel whose peak passes full scale,
and the vector sum when any geophone does -- Blastware's OORANGE on all
43 such events, and on none of the 38 whose vector sum alone passes
the range (2026-11-09)."""
# The summary's geophone values are decoder units, as a histogram's are.
unit_ins = _HIST_GEO_COUNTS_PER_UNIT * geo_fs_ins / _GEO_INT16_FS
for ch, attr in (("Tran", "tran"), ("Vert", "vert"), ("Long", "long"), ("MicL", "mic")):
c = summary.get(ch)
if c is None:
continue
hz, above = _zc_from_half_period(c["half_period"], sample_rate)
setattr(pv, f"{attr}_zc_freq", hz)
setattr(pv, f"{attr}_zc_above_range", above)
setattr(pv, f"{attr}_over_range", max(abs(c["min"]), abs(c["max"])) > _SUMMARY_FULL_SCALE)
if pretrig is None:
continue
setattr(pv, f"{ch.lower()}_time_of_peak", (c["peak_sample"] - pretrig) / sample_rate)
if ch != "MicL":
setattr(pv, f"{attr}_peak_disp_in", c["disp_integral"] * unit_ins / sample_rate / 2)
pv.pvs_over_range = pv.tran_over_range or pv.vert_over_range or pv.long_over_range
if pretrig is not None and all(ch in summary for ch in ("Tran", "Vert", "Long")):
pv.pvs_time = (summary["pvs_sample"] - pretrig) / sample_rate
# STRT[18], the record-type byte (#41): 0x46 on every one of DL2's 6,577 # STRT[18], the record-type byte (#41): 0x46 on every one of DL2's 6,577
# waveform files and 0x0A on every one of its 63,535 histograms (measured # waveform files and 0x0A on every one of its 63,535 histograms (measured
# 2026-10-29). Manual / Event / Combo never occur there, so their bytes are # 2026-10-29). Manual / Event / Combo never occur there, so their bytes are
@@ -936,9 +995,10 @@ def _ts8(b: bytes) -> Optional[datetime.datetime]:
def _embedded_event_record( def _embedded_event_record(
raw: bytes, end: int, start: Optional[datetime.datetime], raw: bytes, end: int, start: Optional[datetime.datetime],
stop: Optional[datetime.datetime], record_time: Optional[float], stop: Optional[datetime.datetime], record_time: Optional[float],
) -> tuple[Optional[datetime.datetime], str, Optional[int]]: ) -> tuple[Optional[datetime.datetime], str, Optional[int], Optional[int]]:
"""The trigger time and trigger source from the instrument's embedded event """The trigger time, the trigger source and the offset of the record's
record, or (None, why, None). `fe 80` from the instrument's embedded event record, or (None, why, None,
None).
Every `fe 80` before `end` (the footer) is a candidate. One counts only if Every `fe 80` before `end` (the footer) is a candidate. One counts only if
its lead bytes match, both its times are well formed, the footer's session its lead bytes match, both its times are well formed, the footer's session
@@ -951,7 +1011,7 @@ def _embedded_event_record(
Blastware's Trigger on 6,493 / 6,493 DL2 waveforms (2026-11-03). Blastware's Trigger on 6,493 / 6,493 DL2 waveforms (2026-11-03).
""" """
if start is None or stop is None: if start is None or stop is None:
return None, "the footer has no start and stop to check one against", None return None, "the footer has no start and stop to check one against", None, None
found, rejected = [], 0 found, rejected = [], 0
i = raw.find(_EVENT_RECORD_MARKER, 6) i = raw.find(_EVENT_RECORD_MARKER, 6)
while 0 <= i and i + 18 <= end: while 0 <= i and i + 18 <= end:
@@ -967,15 +1027,15 @@ def _embedded_event_record(
<= _EVENT_RECORD_SLACK_S[1]) <= _EVENT_RECORD_SLACK_S[1])
) )
if valid: if valid:
found.append((trig, int.from_bytes(raw[i - 2:i], "big"))) found.append((trig, int.from_bytes(raw[i - 2:i], "big"), i))
else: else:
rejected += 1 rejected += 1
i = raw.find(_EVENT_RECORD_MARKER, i + 1) i = raw.find(_EVENT_RECORD_MARKER, i + 1)
if len(found) == 1: if len(found) == 1:
return found[0][0], "", found[0][1] return found[0][0], "", found[0][1], found[0][2]
if found: if found:
return None, f"{len(found)} candidates validate", None return None, f"{len(found)} candidates validate", None, None
return None, (f"{rejected} candidate(s), none valid" if rejected else "no candidate"), None return None, (f"{rejected} candidate(s), none valid" if rejected else "no candidate"), None, None
# A histogram's event record: the same lead, the source 0x0400, marker fe f5, # A histogram's event record: the same lead, the source 0x0400, marker fe f5,
@@ -1001,11 +1061,12 @@ def interval_times(start: datetime.datetime, interval_sec: int,
def _histogram_event_record( def _histogram_event_record(
raw: bytes, end: int, start: Optional[datetime.datetime], raw: bytes, end: int, start: Optional[datetime.datetime],
stop: Optional[datetime.datetime], stop: Optional[datetime.datetime],
) -> tuple[Optional[datetime.datetime], Optional[datetime.datetime], str]: ) -> tuple[Optional[datetime.datetime], Optional[datetime.datetime], str, Optional[int]]:
"""(start, stop) from a histogram's own event record, or (None, None, why). """(start, stop, "", offset of its `fe f5`) from a histogram's own event
Exactly one record may validate against the footer's start and stop.""" record, or (None, None, why, None). Exactly one record may validate against
the footer's start and stop."""
if start is None or stop is None: if start is None or stop is None:
return None, None, "the footer has no start and stop to check one against" return None, None, "the footer has no start and stop to check one against", None
found, rejected = [], 0 found, rejected = [], 0
i = raw.find(_HISTOGRAM_RECORD_MARKER, 6) i = raw.find(_HISTOGRAM_RECORD_MARKER, 6)
while 0 <= i and i + 18 <= end: while 0 <= i and i + 18 <= end:
@@ -1014,15 +1075,155 @@ def _histogram_event_record(
and a is not None and b is not None and a <= b and a is not None and b is not None and a <= b
and 0 <= (a - start).total_seconds() <= 1 and 0 <= (a - start).total_seconds() <= 1
and 0 <= (stop - b).total_seconds() <= 1): and 0 <= (stop - b).total_seconds() <= 1):
found.append((a, b)) found.append((a, b, i))
elif raw[i - 6:i - 2] == _EVENT_RECORD_LEAD: elif raw[i - 6:i - 2] == _EVENT_RECORD_LEAD:
rejected += 1 rejected += 1
i = raw.find(_HISTOGRAM_RECORD_MARKER, i + 1) i = raw.find(_HISTOGRAM_RECORD_MARKER, i + 1)
if len(found) == 1: if len(found) == 1:
return found[0][0], found[0][1], "" return found[0][0], found[0][1], "", found[0][2]
if found: if found:
return None, None, f"{len(found)} candidates validate" return None, None, f"{len(found)} candidates validate", None
return None, None, (f"{rejected} candidate(s), none valid" if rejected else "no candidate") return None, None, (f"{rejected} candidate(s), none valid" if rejected else "no candidate"), None
# The event record is the first of a chain of [length uint16 BE][id][payload]
# records, the next starting `length` + 2 bytes after a record's lead (measured
# on all 70,041 DL2 files, 2026-11-06): the event record 0x05, the unit's
# summary 0x32-0x35, its sensor checks 0x3c-0x3f, then the footer 0x0e -- the
# file's last 26 bytes. A unit without a mic has no 0x35 or 0x3f (8 files).
# The walk ends exactly at the file's end on every one, so a chain that does
# not is not read at all.
_RECORD_LEAD_TO_MARKER = 6 # the lead `00 28 05 00` and the source sit before the marker
def _record_chain(raw: bytes, marker_at: int) -> Optional[dict[int, bytes]]:
"""Each record's payload by id (the first of each), for the chain that
starts with the validated event record whose marker is at `marker_at`; None
unless the chain ends exactly at the end of the file."""
off = marker_at - _RECORD_LEAD_TO_MARKER
out: dict[int, bytes] = {}
while off < len(raw):
ln = int.from_bytes(raw[off:off + 2], "big")
if off + 3 > len(raw) or ln < 1 or off + 2 + ln > len(raw):
return None
out.setdefault(raw[off + 2], raw[off + 3:off + 2 + ln])
off += 2 + ln
return out
# The unit's own event summary (measured on DL2, 2026-11-05). The event
# record's payload holds the vector-sum peak's sample at [25:29] (its marker
# + 22). Then one record per channel, 22 bytes (ids 0x32 Tran .. 0x35 MicL):
# [0] 0 [1:3] min [3:5] max (int16 BE; geophones in units of 16 counts)
# [5:9] peak sample [9:11] half-period, samples [11:15] displacement
# integral, units x samples [15:21] probably the unit's own largest sample step
# x 65,536 (inferred), which Blastware does not print: its acceleration is its own
# computation from the samples (_waveform_peak_detail)
# min, max and peak sample equal the samples' own on 25,962 / 25,966 DL2
# channels (the 4 others: O117I1NK.R70W, whose samples wrap at the trigger).
_EVENT_RECORD_ID = 0x05
_SUMMARY_PVS_SAMPLE = slice(25, 29)
_SUMMARY_CHANNELS = {0x32: "Tran", 0x33: "Vert", 0x34: "Long", 0x35: "MicL"}
_SUMMARY_CHANNEL_LEN = 21 # the payload; the record is 22 with its id
# Full scale in the summary's units: 2,000 x 16 = 32,000 counts on either
# geophone range, and 2,000 counts on the mic. A peak past it is Blastware's
# OORANGE: numeric up to 1,991 / 1,933, OORANGE from 2,001 (DL2, 2026-11-09).
_SUMMARY_FULL_SCALE = 2000
def over_full_scale(count: int, channel: str) -> bool:
"""Whether a decoded peak passes full scale: Blastware's OORANGE. A geophone
count is in ADC counts (16 to the unit), the mic's in its own. The same rule
holds inside a histogram's intervals: numeric up to 1,846 / 1,414, OORANGE
from 2,001 (DL2, 2026-11-09)."""
per_unit = 1 if channel == "MicL" else _HIST_GEO_COUNTS_PER_UNIT
return abs(count) > _SUMMARY_FULL_SCALE * per_unit
def _unit_summary(chain: dict[int, bytes]) -> Optional[dict]:
"""The unit's per-channel event summary from a record chain:
{"pvs_sample": int, "Tran": {...}, ...}, each channel {"min", "max",
"peak_sample", "half_period", "disp_integral"}. None when the chain has no
channel record."""
out: dict = {"pvs_sample": int.from_bytes(chain.get(_EVENT_RECORD_ID, b"")[_SUMMARY_PVS_SAMPLE], "big")}
for rid, ch in _SUMMARY_CHANNELS.items():
p = chain.get(rid)
if p is None or len(p) != _SUMMARY_CHANNEL_LEN:
continue
out[ch] = {
"min": struct.unpack(">h", p[1:3])[0],
"max": struct.unpack(">h", p[3:5])[0],
"peak_sample": int.from_bytes(p[5:9], "big"),
"half_period": int.from_bytes(p[9:11], "big"),
"disp_integral": int.from_bytes(p[11:15], "big"),
}
return out if len(out) > 1 else None
# The sensor check's results, in the header of each sensor-check record (ids
# 0x3c Tran .. 0x3f MicL, whose traces minimateplus.sensor_check decodes).
# Payload: [2] channel type (1 geophone, 2 mic, 0 the check disabled) [4] status,
# 0 = passed [5:7] frequency x 10 [7:9] ratio x 10 [9:11] amplitude, mV.
# Blastware prints them as they are (DL2, 2026-11-06): 209,943 / 209,943
# geophone frequencies and ratios, 69,975 / 69,975 mic frequencies and
# amplitudes; "Passed" on status 0 and "Check" on every other (1 .. 15: its bits
# are not decoded), "Disabled", with nothing else, on type 0.
_SENSOR_CHECK_CHANNELS = {0x3c: "Tran", 0x3d: "Vert", 0x3e: "Long", 0x3f: "MicL"}
_SENSOR_CHECK_HEADER_LEN = 11
def _sensor_check_results(chain: dict[int, bytes]) -> Optional[dict[str, SensorCheckResult]]:
out: dict[str, SensorCheckResult] = {}
for rid, ch in _SENSOR_CHECK_CHANNELS.items():
p = chain.get(rid)
if p is None or len(p) < _SENSOR_CHECK_HEADER_LEN:
continue
kind, status = p[2], p[4]
if kind == 0:
out[ch] = SensorCheckResult("Disabled", status)
continue
r = SensorCheckResult("Passed" if status == 0 else "Check", status,
freq_hz=int.from_bytes(p[5:7], "big") / 10)
if ch == "MicL":
r.amplitude_mv = int.from_bytes(p[9:11], "big")
else:
r.ratio = int.from_bytes(p[7:9], "big") / 10
out[ch] = r
return out or None
# The Monitor Log line Blastware prints for an event is the footer's start and
# stop, then words for the footer's flag word [18:20]: 69,983 / 69,983 DL2
# lines, character for character (2026-11-08). Every DL2 line has "Event
# Recorded"; a session that ended adds how. One line sets Modem and Timer and
# prints Modem, so the higher bit wins -- the order of the others is inferred.
_MONITOR_LOG_RECORDED = 0x0001
_MONITOR_LOG_ENDS = { # highest bit first
0x0800: "Memory Full Exit",
0x0200: "Battery Low Exit",
0x0020: "Modem Exit",
0x0010: "Timer Stop",
0x0008: "Selfcheck Passed",
0x0004: "Remote Exit",
0x0002: "Keyboard Exit",
}
_FOOTER_ID = 0x0E
_FOOTER_LEN = 26
def monitor_log_description(flags: int) -> str:
"""Blastware's Monitor Log words for a footer flag word."""
words = "Event Recorded " if flags & _MONITOR_LOG_RECORDED else ""
end = next((w for bit, w in _MONITOR_LOG_ENDS.items() if flags & bit), None)
return words + (" " + end if end else "")
def _monitor_log(footer: bytes) -> Optional[MonitorLogLine]:
start, stop = _bw._decode_ts_be(footer[2:10]), _bw._decode_ts_be(footer[10:18])
if start is None or stop is None:
return None
flags = int.from_bytes(footer[18:20], "big")
return MonitorLogLine(start, stop, flags, monitor_log_description(flags))
def _parse_record_time_seconds(raw: bytes) -> Optional[float]: def _parse_record_time_seconds(raw: bytes) -> Optional[float]:
@@ -1214,6 +1415,7 @@ def _setup_trigger(raw: bytes, k: int) -> dict:
if m >= 0: if m >= 0:
out["trigger_level_mic_psi"] = struct.unpack_from(">f", raw, m + _TRIGGER_LEVEL_AFTER_LABEL)[0] out["trigger_level_mic_psi"] = struct.unpack_from(">f", raw, m + _TRIGGER_LEVEL_AFTER_LABEL)[0]
out["mic_type"] = int.from_bytes(raw[m + _MIC_TYPE_AFTER_LABEL:m + _MIC_TYPE_AFTER_LABEL + 4], "big") out["mic_type"] = int.from_bytes(raw[m + _MIC_TYPE_AFTER_LABEL:m + _MIC_TYPE_AFTER_LABEL + 4], "big")
out["mic_range"] = raw[m + _RANGE_AFTER_LABEL]
return out return out
@@ -1320,12 +1522,14 @@ def decode_blastware_bytes(raw: bytes, *, name: Optional[str] = None) -> Event:
body = raw[body_start : footer_pos] body = raw[body_start : footer_pos]
footer = raw[footer_pos : footer_pos + 26] footer = raw[footer_pos : footer_pos + 26]
# Footer layout: # Footer layout (the record chain's last record, id 0e: D.6.13):
# [0:2] 0e 08 marker # [0:2] 0e 08 marker
# [2:10] ts1 (start) BE 8B # [2:10] ts1 (start) BE 8B
# [10:18] ts2 (stop) BE 8B # [10:18] ts2 (stop) BE 8B
# [18:24] 00 01 00 02 00 00 # [18:20] the monitor log's flag word (_monitor_log)
# [24:26] crc # [20:22] the trigger source, as in the event record [22:24] 00 00
# [24:26] CRC-16/AUG-CCITT, BE, over the record's length prefix `00 1a`
# and [0:22]: 70,041 / 70,041 DL2 files (2026-11-11)
ts1 = _bw._decode_ts_be(footer[2:10]) ts1 = _bw._decode_ts_be(footer[2:10])
ts2 = _bw._decode_ts_be(footer[10:18]) ts2 = _bw._decode_ts_be(footer[10:18])
@@ -1450,13 +1654,15 @@ def decode_blastware_bytes(raw: bytes, *, name: Optional[str] = None) -> Event:
# and its histogram may share a second. # and its histogram may share a second.
# ⚠ RETRACTED 2026-11-03: "histograms stay on ts1" -- that held only while # ⚠ RETRACTED 2026-11-03: "histograms stay on ts1" -- that held only while
# events were unique on (serial, timestamp). # events were unique on (serial, timestamp).
_record_at = None # the validated event record, which the unit's summary follows
if is_waveform_body and ts2 is not None: if is_waveform_body and ts2 is not None:
_stop = datetime.datetime(ts2.year, ts2.month, ts2.day, _stop = datetime.datetime(ts2.year, ts2.month, ts2.day,
ts2.hour, ts2.minute, ts2.second) ts2.hour, ts2.minute, ts2.second)
_rt = _parse_record_time_seconds(raw) _rt = _parse_record_time_seconds(raw)
_start = (datetime.datetime(ts1.year, ts1.month, ts1.day, ts1.hour, ts1.minute, ts1.second) _start = (datetime.datetime(ts1.year, ts1.month, ts1.day, ts1.hour, ts1.minute, ts1.second)
if ts1 is not None else None) if ts1 is not None else None)
_trig, _why, ev.triggered_by = _embedded_event_record(raw, footer_pos, _start, _stop, _rt) _trig, _why, ev.triggered_by, _record_at = _embedded_event_record(
raw, footer_pos, _start, _stop, _rt)
if _trig is not None: if _trig is not None:
ev.timestamp_source = "event_record" ev.timestamp_source = "event_record"
else: else:
@@ -1478,8 +1684,8 @@ def decode_blastware_bytes(raw: bytes, *, name: Optional[str] = None) -> Event:
hour=_trig.hour, minute=_trig.minute, second=_trig.second, hour=_trig.hour, minute=_trig.minute, second=_trig.second,
) )
elif ts1 is not None: elif ts1 is not None:
_start, _hstop, _why = (_histogram_event_record(raw, footer_pos, ts1, ts2) _start, _hstop, _why, _record_at = (_histogram_event_record(raw, footer_pos, ts1, ts2)
if record_type == "Histogram" else (None, None, "")) if record_type == "Histogram" else (None, None, "", None))
if _start is not None: if _start is not None:
ev.timestamp_source = "event_record" ev.timestamp_source = "event_record"
ev.stop_time = _hstop ev.stop_time = _hstop
@@ -1518,10 +1724,21 @@ def decode_blastware_bytes(raw: bytes, *, name: Optional[str] = None) -> Event:
has_samples = any(samples.get(ch) for ch in ("Tran", "Vert", "Long", "MicL")) has_samples = any(samples.get(ch) for ch in ("Tran", "Vert", "Long", "MicL"))
# The geophone full scale is the file's range; Normal when it wasn't read. # The geophone full scale is the file's range; Normal when it wasn't read.
geo_fs = _GEO_FS_BY_RANGE.get(ev.geo_range, _GEO_NORMAL_FS_INS) geo_fs = _GEO_FS_BY_RANGE.get(ev.geo_range, _GEO_NORMAL_FS_INS)
ev.peak_values = _peaks_from_samples(samples, geo_fs) if has_samples else None ev.peak_values = (_peaks_from_samples(samples, geo_fs, mic_count_divisor(ev.mic_range))
if has_samples else None)
if (is_waveform_body and ev.peak_values is not None and ev.sample_rate if (is_waveform_body and ev.peak_values is not None and ev.sample_rate
and ev.pretrig_samples is not None): and ev.pretrig_samples is not None):
_waveform_peak_detail(ev.peak_values, samples, geo_fs, ev.sample_rate, ev.pretrig_samples) _waveform_peak_detail(ev.peak_values, samples, geo_fs, ev.sample_rate, ev.pretrig_samples)
_chain = _record_chain(raw, _record_at) if _record_at is not None else None
_summary = _unit_summary(_chain) if _chain is not None else None
ev.sensor_check_results = _sensor_check_results(_chain) if _chain is not None else None
# A whole chain ends at the file's last byte with the footer, so the last
# 26 bytes are proven to be it.
if _chain is not None and _FOOTER_ID in _chain:
ev.monitor_log = _monitor_log(raw[-_FOOTER_LEN:])
if _summary is not None and ev.peak_values is not None and ev.sample_rate:
_apply_unit_summary(ev.peak_values, _summary, geo_fs, ev.sample_rate,
ev.pretrig_samples if is_waveform_body else None)
if ev.stop_time is None: # a histogram's record stop, else the footer's if ev.stop_time is None: # a histogram's record stop, else the footer's
ev.stop_time = ts2 ev.stop_time = ts2
if hist_records: if hist_records:
+17 -12
View File
@@ -534,11 +534,13 @@ STRT_MARKER = b"STRT"
def unescape_reply(data: bytes) -> bytes: def unescape_reply(data: bytes) -> bytes:
"""A reply's data with each kept escape removed: `10 02/03/04` → `02/03/04`. """A reply's data with each kept escape removed: `10 02/03/04` → `02/03/04`.
The unit escapes 02, 03, 04 and 10 in its replies exactly as requests do The unit escapes 02, 03, 04 and 10 in its replies exactly as requests do,
(748/748 replies, 2026-10-26). S3FrameParser collapses `10 10` but keeps the the checksum included (748/748 replies, 2026-10-26; 7,747 / 7,747 across every
`10` of `10 02/03/04` (inner-frame markers to it), so its `.data` carries an recording, March to October 2026, #58). S3FrameParser collapses `10 10` but
extra byte before each 02/03/04 value -- harmless for fields read before the keeps the `10` of `10 02/03/04` (inner-frame markers to it) everywhere but the
escape, one byte off for any read after it, or counted from the end.""" checksum, so its `.data` carries an extra byte before each 02/03/04 value --
harmless for fields read before the escape, one byte off for any read after it,
or counted from the end."""
out, i = bytearray(), 0 out, i = bytearray(), 0
while i < len(data): while i < len(data):
if data[i] == DLE and i + 1 < len(data) and data[i + 1] in (STX, ETX, 0x04): if data[i] == DLE and i + 1 < len(data) and data[i + 1] in (STX, ETX, 0x04):
@@ -632,11 +634,8 @@ class S3Frame:
page_lo: int # PAGE_LO from header page_lo: int # PAGE_LO from header
data: bytes # payload data section (payload[5:], checksum already stripped) data: bytes # payload data section (payload[5:], checksum already stripped)
checksum_valid: bool checksum_valid: bool
chk_byte: int = 0 # actual checksum byte received from wire (body[-1]) chk_byte: int = 0 # actual checksum byte received from wire (body[-1]); an
# needed for waveform file reconstruction: when the last data byte # escaped one (`10 02/03/04`) leaves no 10 in `data` (#58)
# is 0x10 and chk_byte ∈ {0x02, 0x03, 0x04}, the DLE+chk pair
# must be included in the DLE-strip operation to correctly
# reconstruct the Blastware binary body.
@property @property
def page_key(self) -> int: def page_key(self) -> int:
@@ -759,9 +758,15 @@ class S3FrameParser:
if len(body) < 6: if len(body) < 6:
return None return None
raw_payload = body[:-1] # everything except the trailing checksum byte # A checksum of 02, 03 or 04 arrives escaped, `10 X`, and _step keeps both
# bytes; that 10 is the escape, never data (#58: 272 of 7,747 recorded
# replies, every one an escape pair). Any other checksum is one byte.
n_chk = 2 if body[-2] == DLE and body[-1] in (STX, ETX, 0x04) else 1
raw_payload = body[:-n_chk] # everything except the checksum
chk_received = body[-1] chk_received = body[-1]
chk_computed = checksum(raw_payload) # SUM8 of the payload unescaped: the kept `10` of a `10 02/03/04` is not
# summed (7,747 of 7,747 recorded replies check this way).
chk_computed = checksum(unescape_reply(raw_payload))
if len(raw_payload) < 5: if len(raw_payload) < 5:
return None return None
+185
View File
@@ -0,0 +1,185 @@
"""
minimateplus/mlg_file.py — Blastware's monitor log (.MLG): reader and writer.
Blastware writes one .MLG per call-in, named <serial><counter>.MLG, holding what
the unit logged since the previous call-in: each time monitoring started, each
event, and each time it stopped and why. Measured on 1,273 DL2 files and 9
bench files (2026-11-09; reference D.4, spec
docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md):
[18-byte prefix 10 00 01 80 00 00 "Instantel\\0" 07 2c]
[292-byte records ...] size is always 18 + 292*n
Every record:
[0:2] length, uint16 LE = 290
[2:4] id: 0e a0 the header record (first, carries the serial), 0e 80 a log record
[4:12] start: day, month, year LE, 0, hour, minute, second
[12:20] stop, same format; all zeros = no stop
[20:22] monitor-log flag word, uint16 LE (the event footer's, D.6.14); 0xFFFF = started
[22:24] trigger source, uint16 LE: 0x0001-0x0008 a channel, 0x0400 a histogram
[24:34] serial, NUL-padded ASCII
[34:288] text, NUL-padded; an event's starts 0x08 + its 8-byte time
[288:290] 00 00
[290:292] CRC-16/AUG-CCITT over [0:288], little-endian
An empty file is the prefix alone: no header record, no serial. Pure: no I/O
beyond reading the path it is given.
"""
from __future__ import annotations
import datetime
import struct
from pathlib import Path
from typing import Optional, Union
from .crc import crc16_aug_ccitt
from .event_file_io import monitor_log_description
from .models import MlgFile, MlgRecord
MLG_PREFIX = b"\x10\x00\x01\x80\x00\x00Instantel\x00\x07\x2c"
RECORD_SIZE = 292
_RECORD_LENGTH = 290
_HEADER_ID = b"\x0e\xa0"
_LOG_ID = b"\x0e\x80"
_EVENT_TIME_MARK = 0x08
_TRIGGER_LEVEL_PREFIXES = ("Trigger Level :", "Trigger Level:")
class MlgFormatError(ValueError):
"""The bytes are not a whole .MLG file."""
def _ts(raw: bytes) -> Optional[datetime.datetime]:
"""8-byte MLG time (year little-endian); all zeros = None. Raises ValueError."""
if raw == bytes(8):
return None
year = struct.unpack_from("<H", raw, 2)[0]
return datetime.datetime(year, raw[1], raw[0], raw[5], raw[6], raw[7])
def _crc_ok(record: bytes) -> bool:
return crc16_aug_ccitt(record[:288]) == struct.unpack_from("<H", record, 290)[0]
def _trigger_level(text: str) -> Optional[str]:
line = text.split("\r", 1)[0]
for prefix in _TRIGGER_LEVEL_PREFIXES:
if line.startswith(prefix):
line = line[len(prefix):]
break
line = line.strip()
return line or None
def _log_record(index: int, rec: bytes) -> MlgRecord:
try:
start = _ts(rec[4:12])
stop = _ts(rec[12:20])
except ValueError as exc:
raise MlgFormatError(f"record {index}: a time cannot be decoded ({exc})") from None
if start is None:
raise MlgFormatError(f"record {index}: no start time")
flags, source = struct.unpack_from("<HH", rec, 20)
text_raw = rec[34:288]
body, event_time = text_raw, None
if text_raw[0] == _EVENT_TIME_MARK:
try:
event_time = _ts(text_raw[1:9])
except ValueError as exc:
raise MlgFormatError(f"record {index}: the event time cannot be decoded ({exc})") from None
body = text_raw[9:]
text = body.split(b"\x00", 1)[0].decode("latin-1")
is_start = flags == 0xFFFF
return MlgRecord(
index=index,
start=start,
stop=stop,
flags=flags,
trigger_source=source,
serial=rec[24:34].split(b"\x00", 1)[0].decode("ascii", errors="replace"),
text_raw=text_raw,
event_time=event_time,
text=text,
trigger_level=_trigger_level(text),
description="Monitoring started" if is_start else monitor_log_description(flags).strip(),
crc_ok=_crc_ok(rec),
)
def parse_mlg(data: bytes) -> MlgFile:
"""Parse the bytes of a .MLG file.
Raises MlgFormatError when the bytes are not a whole .MLG. A record whose
checksum fails is returned with crc_ok=False (MlgFile.crc_failures lists
them); the caller decides what to do with it."""
if len(data) < len(MLG_PREFIX) or not data.startswith(MLG_PREFIX):
raise MlgFormatError("not an MLG: the 18-byte Instantel prefix is missing")
body = data[len(MLG_PREFIX):]
if len(body) % RECORD_SIZE:
raise MlgFormatError(f"not an MLG: size {len(data)} is not 18 + 292*n")
records = [body[i:i + RECORD_SIZE] for i in range(0, len(body), RECORD_SIZE)]
if not records:
return MlgFile(serial=None)
for index, rec in enumerate(records):
length = struct.unpack_from("<H", rec, 0)[0]
if length != _RECORD_LENGTH:
raise MlgFormatError(f"record {index}: length field {length}, expected 290")
expected = _HEADER_ID if index == 0 else _LOG_ID
if rec[2:4] != expected:
raise MlgFormatError(f"record {index}: id {rec[2:4].hex()}, expected {expected.hex()}")
header = records[0]
return MlgFile(
serial=header[24:34].split(b"\x00", 1)[0].decode("ascii", errors="replace"),
records=[_log_record(i, rec) for i, rec in enumerate(records) if i > 0],
header_crc_ok=_crc_ok(header),
)
def read_mlg(path: Union[str, Path]) -> MlgFile:
"""Read and parse a .MLG file."""
return parse_mlg(Path(path).read_bytes())
# ── Writer ────────────────────────────────────────────────────────────────────
def _ts_bytes(ts: Optional[datetime.datetime]) -> bytes:
if ts is None:
return bytes(8)
return bytes([ts.day, ts.month]) + struct.pack("<H", ts.year) + bytes([0, ts.hour, ts.minute, ts.second])
def _serial_field(serial: str) -> bytes:
return serial.encode("ascii", errors="replace")[:10].ljust(10, b"\x00")
def _sealed(body: bytes) -> bytes:
"""`body` is record[0:288]; append the two zero bytes and the LE checksum."""
return body + b"\x00\x00" + struct.pack("<H", crc16_aug_ccitt(body))
def _header_record(serial: str) -> bytes:
# Every byte but the serial is zero on all 1,273 DL2 files (measured 2026-11-13).
body = struct.pack("<H", _RECORD_LENGTH) + _HEADER_ID + bytes(20) + _serial_field(serial)
return _sealed(body.ljust(288, b"\x00"))
def _log_record_bytes(r: MlgRecord) -> bytes:
body = (struct.pack("<H", _RECORD_LENGTH) + _LOG_ID + _ts_bytes(r.start) + _ts_bytes(r.stop)
+ struct.pack("<HH", r.flags, r.trigger_source) + _serial_field(r.serial)
+ r.text_raw.ljust(254, b"\x00")[:254])
return _sealed(body)
def mlg_bytes(mlg: MlgFile) -> bytes:
"""The bytes of a .MLG file, as Blastware writes them: little-endian times,
length-led records, each record's checksum computed. An empty MlgFile is
the prefix alone."""
if mlg.empty:
return MLG_PREFIX
return MLG_PREFIX + _header_record(mlg.serial or "") + b"".join(_log_record_bytes(r) for r in mlg.records)
def write_mlg(mlg: MlgFile, path: Union[str, Path]) -> None:
"""Write `mlg` to `path` (see mlg_bytes)."""
Path(path).write_bytes(mlg_bytes(mlg))
+92 -1
View File
@@ -356,6 +356,9 @@ class PeakValues:
long: Optional[float] = None # Longitudinal PPV (in/s) ✅ long: Optional[float] = None # Longitudinal PPV (in/s) ✅
micl: Optional[float] = None # Air overpressure (psi) 🔶 (units uncertain) micl: Optional[float] = None # Air overpressure (psi) 🔶 (units uncertain)
peak_vector_sum: Optional[float] = None # Scalar geo PVS (in/s) ✅ peak_vector_sum: Optional[float] = None # Scalar geo PVS (in/s) ✅
# ZC frequency (Hz), from the unit's own summary in the file (2026-11-05) or
# a report. Above range, the value is Blastware's threshold (100 Hz at
# 1024 sps) and the flag is set; None is Blastware's "N/A".
tran_zc_freq: Optional[float] = None tran_zc_freq: Optional[float] = None
vert_zc_freq: Optional[float] = None vert_zc_freq: Optional[float] = None
long_zc_freq: Optional[float] = None long_zc_freq: Optional[float] = None
@@ -364,7 +367,8 @@ class PeakValues:
vert_zc_above_range: bool = False vert_zc_above_range: bool = False
long_zc_above_range: bool = False long_zc_above_range: bool = False
mic_zc_above_range: bool = False mic_zc_above_range: bool = False
# A waveform's peak detail, from its samples (2026-11-04); None for a histogram. # A waveform's peak detail (2026-11-04); None for a histogram. Times of peak
# are the unit's own peak samples, acceleration comes from the samples.
tran_time_of_peak: Optional[float] = None # s from the trigger; negative = pre-trigger tran_time_of_peak: Optional[float] = None # s from the trigger; negative = pre-trigger
vert_time_of_peak: Optional[float] = None vert_time_of_peak: Optional[float] = None
long_time_of_peak: Optional[float] = None long_time_of_peak: Optional[float] = None
@@ -373,6 +377,40 @@ class PeakValues:
tran_peak_accel_g: Optional[float] = None tran_peak_accel_g: Optional[float] = None
vert_peak_accel_g: Optional[float] = None vert_peak_accel_g: Optional[float] = None
long_peak_accel_g: Optional[float] = None long_peak_accel_g: Optional[float] = None
# Peak displacement (in), from the unit's own summary (2026-11-05).
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
class SensorCheckResult:
"""One channel's sensor check, as the unit stores it in the event file
(2026-11-06). `result` is Blastware's word for it."""
result: str # "Passed", "Check" or "Disabled"
status: int # the unit's code: 0 passed; its bits are not decoded
freq_hz: Optional[float] = None # geophone resonance / mic test frequency; None when Disabled
ratio: Optional[float] = None # geophones only
amplitude_mv: Optional[int] = None # the mic only
@dataclass
class MonitorLogLine:
"""The Monitor Log line Blastware prints for an event, from the file's
footer (2026-11-08): the monitoring session's start, the stop, and what
happened. Not the live 0x0A browse entries (MonitorLogEntry)."""
start: datetime.datetime
stop: datetime.datetime
flags: int # the footer's flag word
description: str # Blastware's words, e.g. "Event Recorded Modem Exit"
# ── Project / operator metadata ─────────────────────────────────────────────── # ── Project / operator metadata ───────────────────────────────────────────────
@@ -570,6 +608,7 @@ class Event:
trigger_level_mic_psi: Optional[float] = None trigger_level_mic_psi: Optional[float] = None
record_stop_mode: Optional[int] = None # 0 = Fixed record_stop_mode: Optional[int] = None # 0 = Fixed
mic_type: Optional[int] = None # 2 = Linear Weighting (as Series IV) mic_type: Optional[int] = None # 2 = Linear Weighting (as Series IV)
mic_range: Optional[int] = None # 0; 1 = each mic count is an eighth (2026-11-09)
stop_time: Optional[datetime.datetime] = None # the footer's stop stop_time: Optional[datetime.datetime] = None # the footer's stop
# A histogram's per-interval detail (2026-11-03); None for a waveform. # A histogram's per-interval detail (2026-11-03); None for a waveform.
histogram_interval_sec: Optional[int] = None # as ComplianceConfig.histogram_interval_sec histogram_interval_sec: Optional[int] = None # as ComplianceConfig.histogram_interval_sec
@@ -584,6 +623,12 @@ class Event:
# Raw ADC counts; the source series' scale differs but the trace is a # Raw ADC counts; the source series' scale differs but the trace is a
# shape diagnostic (rendered fit-to-box). None when absent. # shape diagnostic (rendered fit-to-box). None when absent.
sensor_check: Optional[dict] = None # {"Tran": [...], ..., "MicL": [...]} sensor_check: Optional[dict] = None # {"Tran": [...], ..., "MicL": [...]}
# And its results per channel, from the same records (2026-11-06): None
# when the file's record chain is not whole.
sensor_check_results: Optional[dict] = None # channel -> SensorCheckResult
# The event's Monitor Log line (2026-11-08): None unless the file's record
# chain is whole, which proves the footer.
monitor_log: Optional[MonitorLogLine] = None
# Where `timestamp` came from, when decoded from a Blastware binary # Where `timestamp` came from, when decoded from a Blastware binary
# (event_file_io): "event_record" -- the instrument's own event record in # (event_file_io): "event_record" -- the instrument's own event record in
@@ -684,6 +729,52 @@ class MonitorLogEntry:
return f"MonitorLog#{self.index} key={self.key} {start}→{stop}{dur}" return f"MonitorLog#{self.index} key={self.key} {start}→{stop}{dur}"
# ── Blastware monitor log (.MLG) ──────────────────────────────────────────────
@dataclass
class MlgRecord:
"""One log record of a Blastware .MLG file (minimateplus/mlg_file.py).
Times are the unit's own local clock. `flags` is the monitor-log flag word
(the event footer's, reference D.6.14); 0xFFFF means monitoring started
and has no stop yet."""
index: int # position in the file; 0 is the header record
start: datetime.datetime
stop: Optional[datetime.datetime]
flags: int
trigger_source: int # 0x0001-0x0008 a channel, 0x0400 a histogram, 0 none
serial: str
text_raw: bytes = field(repr=False) # record[34:288] exactly, for write_mlg
event_time: Optional[datetime.datetime] = None
text: str = "" # Blastware's text, after any event time
trigger_level: Optional[str] = None # e.g. "Geo: 0.0500 in/s Mic: 125.0 dB(L)", "Histogram"
description: str = "" # "Monitoring started", or Blastware's words
crc_ok: bool = True
@property
def is_start(self) -> bool:
return self.flags == 0xFFFF
@dataclass
class MlgFile:
"""A whole .MLG file: the serial from its header record and its log records,
in file order. An empty file (the 18-byte prefix alone) has neither."""
serial: Optional[str]
records: list[MlgRecord] = field(default_factory=list)
header_crc_ok: bool = True
@property
def empty(self) -> bool:
return self.serial is None and not self.records
@property
def crc_failures(self) -> list[int]:
"""Indexes of the records whose checksum fails (0 is the header record)."""
head = [] if self.header_crc_ok else [0]
return head + [r.index for r in self.records if not r.crc_ok]
# ── MonitorStatus ───────────────────────────────────────────────────────────── # ── MonitorStatus ─────────────────────────────────────────────────────────────
@dataclass @dataclass
+8 -6
View File
@@ -196,10 +196,11 @@ def assemble_compliance_content(frames: "list[bytes]", lengths: "Optional[tuple]
`lengths`: the content each frame was asked for (SFM's read: 1024, 1024, 42). `lengths`: the content each frame was asked for (SFM's read: 1024, 1024, 42).
Each frame then gives exactly that. Measured at the bench 2026-11-04 (BE9441): Each frame then gives exactly that. Measured at the bench 2026-11-04 (BE9441):
when a frame's checksum byte is itself escaped (02 / 03 / 04), the parser keeps when a frame's checksum byte was itself escaped (02 / 03 / 04), the parser kept
the escape's 0x10 and strips only the byte after it, so the frame arrives one the escape's 0x10, so the frame arrived one byte long, ending in a lone 0x10.
byte long, ending in a lone 0x10. That one byte is dropped; any other leftover The parser drops it since #58; this trim stays as a guard. That one byte is
is kept, and the block then fails is_compliance_content.""" dropped; any other leftover is kept, and the block then fails
is_compliance_content."""
parts = [unescape_reply(bytes(f))[11:] for f in frames] parts = [unescape_reply(bytes(f))[11:] for f in frames]
parts = [p[1:] for p in parts[:-1]] + parts[-1:] parts = [p[1:] for p in parts[:-1]] + parts[-1:]
if lengths is not None and len(lengths) == len(parts): if lengths is not None and len(lengths) == len(parts):
@@ -633,8 +634,9 @@ class MiniMateProtocol:
data_rsp = self._recv_one(expected_sub=rsp_sub) data_rsp = self._recv_one(expected_sub=rsp_sub)
raw = unescape_reply(data_rsp.data)[11:] # unescaped, as read_event_index raw = unescape_reply(data_rsp.data)[11:] # unescaped, as read_event_index
# An escaped checksum byte leaves its 0x10 behind (bench 2026-11-04; see # An escaped checksum byte left its 0x10 behind until #58 (bench 2026-11-04;
# assemble_compliance_content): one stray byte beyond what was asked is dropped. # see assemble_compliance_content): kept as a guard, one stray byte beyond
# what was asked is dropped.
if len(raw) == length + 1 and raw[-1:] == b"\x10": if len(raw) == length + 1 and raw[-1:] == b"\x10":
raw = raw[:-1] raw = raw[:-1]
log.debug("read_waveform_data_raw: got %d bytes", len(raw)) log.debug("read_waveform_data_raw: got %d bytes", len(raw))
+8 -8
View File
@@ -98,25 +98,25 @@ def _decode_delta_stream(buf: bytes) -> List[int]:
def _find_chain(body: bytes): def _find_chain(body: bytes):
"""Locate the four length-prefixed sensor-check records. """Locate the length-prefixed sensor-check records.
Returns a list of ``(offset, id, length)`` or ``None``. The chain is Returns a list of ``(offset, id, length)`` or ``None``. The chain is
validated by walking the ids 0x3c → 0x3d → 0x3e → 0x3f via their own length validated by walking the ids 0x3c → 0x3d → 0x3e (→ 0x3f) via their own
prefixes, so a stray 0x3c byte in the waveform data cannot match. length prefixes, so a stray 0x3c byte in the waveform data cannot match.
A unit without a mic has no 0x3f (BE16352, all 8 of its DL2 events,
2026-11-06), so the three geophone records are enough.
""" """
for p in range(len(body) - 6): for p in range(len(body) - 6):
if body[p + 2] == 0x3C and body[p + 3] == 0 and body[p + 4] == 0: if body[p + 2] == 0x3C and body[p + 3] == 0 and body[p + 4] == 0:
q = p q = p
recs = [] recs = []
ok = True
for expect in _CHAIN_IDS: for expect in _CHAIN_IDS:
if q + 3 > len(body) or body[q + 2] != expect: if q + 3 > len(body) or body[q + 2] != expect:
ok = False
break break
length = int.from_bytes(body[q:q + 2], "big") length = int.from_bytes(body[q:q + 2], "big")
recs.append((q, expect, length)) recs.append((q, expect, length))
q = q + 2 + length q = q + 2 + length
if ok and len(recs) == 4: if len(recs) >= 3:
return recs return recs
return None return None
@@ -124,8 +124,8 @@ def _find_chain(body: bytes):
def decode_sensor_check(raw: bytes) -> Dict[str, List[int]]: def decode_sensor_check(raw: bytes) -> Dict[str, List[int]]:
"""Decode the four sensor self-check traces from a series-3 event binary. """Decode the four sensor self-check traces from a series-3 event binary.
Returns ``{"Tran": [...], "Vert": [...], "Long": [...], "MicL": [...]}`` in Returns ``{"Tran": [...], "Vert": [...], "Long": [...], "MicL": [...]}`` (no
raw decode units (same 16-count LSB as the main waveform), or ``{}`` if the "MicL" on a unit without a mic) in raw decode units (same 16-count LSB as the main waveform), or ``{}`` if the
binary carries no sensor-check block (a histogram event, a non-series-3 binary carries no sensor-check block (a histogram event, a non-series-3
file, or a unit/firmware that doesn't store it). file, or a unit/firmware that doesn't store it).
""" """
+8 -3
View File
@@ -640,16 +640,21 @@ MIC_PA_PER_COUNT = 0.25
# 124.2, and the 81.94 first fitted to a handful of values misses counts 119 # 124.2, and the 81.94 first fitted to a handful of values misses counts 119
# and 132. Its display chain presumably carries rounded constants; the # and 132. Its display chain presumably carries rounded constants; the
# window, not the physics, is what is measured. # window, not the physics, is what is measured.
_MIC_DB_REF = 81.9384 # ⚠ CORRECTED 2026-11-09: that window was too high. Every count Blastware
# printed in DL2 -- 1,704 in waveform sample tables, 520 in histogram
# intervals, 494 histogram peaks -- leaves [81.9382058, 81.9382266]: count
# 129 (124.2) bounds it from below, 463 (135.2, which 81.9384 prints 135.3)
# and 677 (138.5) from above. One offset serves all three.
_MIC_DB_REF = 81.938216
def mic_count_to_db(count: int) -> float: def mic_count_to_db(count: int) -> float:
"""Convert a MicL ADC count to dB(L) for BW-display-compatible output. """Convert a MicL ADC count to dB(L) for BW-display-compatible output.
dB = sign(count) × (81.9384 + 20 × log10(|count|)) for |count| ≥ 1 dB = sign(count) × (81.938216 + 20 × log10(|count|)) for |count| ≥ 1
dB = 0.0 for count == 0 dB = 0.0 for count == 0
81.9384 ≈ 20 log10(0.25 Pa / 20 µPa); see _MIC_DB_REF. 81.938216 ≈ 20 log10(0.25 Pa / 20 µPa); see _MIC_DB_REF.
count=±1 → ±81.94 dB; count=813 → 140.14 dB (the V70 fixture). count=±1 → ±81.94 dB; count=813 → 140.14 dB (the V70 fixture).
""" """
if count == 0: if count == 0:
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "seismo-relay" name = "seismo-relay"
version = "0.34.0" version = "0.35.0"
description = "Python client and REST server for MiniMate Plus seismographs" description = "Python client and REST server for MiniMate Plus seismographs"
requires-python = ">=3.10" requires-python = ">=3.10"
dependencies = [ dependencies = [
+121
View File
@@ -0,0 +1,121 @@
#!/usr/bin/env python3
"""Cross-check .MLG records against Blastware event files, in both directions.
check_mlg_vs_events.py <mlg dir> <event dir>
Every .MLG record with the Event Recorded bit (not a "monitoring started" one)
should have an event file whose footer has the same stop time, flag word and
trigger source; and every event file inside a unit's .MLG period (its first
record's start to its last record's stop) should have such a record. The
footer is read straight from each event file's last 28 bytes, independently of
the event decoder, and its CRC-16/AUG-CCITT is checked on the way.
Spec docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md §7. Read-only.
"""
from __future__ import annotations
import collections
import datetime
import os
import struct
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from minimateplus.crc import crc16_aug_ccitt
from minimateplus.mlg_file import MlgFormatError, read_mlg
from sfm.waveform_store import _serial_number_from_bw_filename
_FOOTER_HEAD = b"\x00\x1a\x0e\x08"
def _ts_be(raw: bytes):
try:
return datetime.datetime(struct.unpack(">H", raw[2:4])[0], raw[1], raw[0], raw[5], raw[6], raw[7])
except ValueError:
return None
def _serial_number(serial: str):
digits = "".join(ch for ch in serial if ch.isdigit())
return int(digits) if digits else None
def mlg_side(mlg_dir: Path):
"""{unit number: (serial, [(stop, flags, source)], first start, last stop)}"""
units = {}
for path in sorted(p for p in mlg_dir.rglob("*") if p.is_file() and p.suffix.upper() == ".MLG"):
try:
mlg = read_mlg(path)
except MlgFormatError as exc:
print(f" skipped {path}: {exc}")
continue
if not mlg.serial or not mlg.records:
continue
n = _serial_number(mlg.serial)
serial, keys, lo, hi = units.get(n, (mlg.serial, [], None, None))
for r in mlg.records:
lo = min(lo, r.start) if lo else r.start
if r.stop:
hi = max(hi, r.stop) if hi else r.stop
if not r.is_start and r.flags & 0x0001:
keys.append((r.stop, r.flags, r.trigger_source))
units[n] = (serial, keys, lo, hi)
return units
def event_side(event_dir: Path, wanted: set):
"""{unit number: [(stop, flags, source, file name)]}, plus footer CRC failures."""
files = collections.defaultdict(list)
crc_bad = 0
for entry in os.scandir(event_dir):
if not entry.is_file():
continue
n = _serial_number_from_bw_filename(entry.name)
if n not in wanted:
continue
with open(entry.path, "rb") as f:
f.seek(0, 2)
if f.tell() < 28:
continue
f.seek(-28, 2)
tail = f.read(28)
if not tail.startswith(_FOOTER_HEAD):
continue
if crc16_aug_ccitt(tail[0:24]) != struct.unpack(">H", tail[26:28])[0]:
crc_bad += 1
flags, source = struct.unpack(">HH", tail[20:24])
files[n].append((_ts_be(tail[12:20]), flags, source, entry.name))
return files, crc_bad
def main(argv=None) -> int:
argv = argv if argv is not None else sys.argv[1:]
if len(argv) != 2:
print(__doc__)
return 2
units = mlg_side(Path(argv[0]))
files, crc_bad = event_side(Path(argv[1]), set(units))
checked = sum(len(v) for v in files.values())
print(f"event-file footers checked (units with .MLGs only): {checked}, failing their CRC: {crc_bad}")
for n, (serial, keys, lo, hi) in sorted(units.items(), key=lambda kv: kv[1][0]):
in_period = [f for f in files.get(n, []) if f[0] and lo <= f[0] <= hi]
file_keys = {f[:3] for f in in_period}
rec_keys = set(keys)
matched = [k for k in keys if k in file_keys]
record_only = [k for k in keys if k not in file_keys]
file_only = [f for f in in_period if f[:3] not in rec_keys]
print(f"\n{serial}: .MLG period {lo} -> {hi}")
print(f" matched {len(matched)}, record-only {len(record_only)}, file-only {len(file_only)}")
for k in record_only[:5]:
print(f" record-only: stop {k[0]} flags {k[1]:#06x} source {k[2]:#06x}")
if record_only:
print(f" record-only stops run {min(k[0] for k in record_only)} -> {max(k[0] for k in record_only)}")
for f in file_only[:5]:
print(f" file-only: {f[3]} stop {f[0]} flags {f[1]:#06x} source {f[2]:#06x}")
return 0
if __name__ == "__main__":
raise SystemExit(main())
+275 -275
View File
@@ -1,275 +1,275 @@
event_id,serial,timestamp,filename,channel,offset_ips,peak_ips,mean_over_peak,trigger_level_ips,already_flagged_ft event_id,serial,timestamp,filename,channel,offset_ips,peak_ips,mean_over_peak,trigger_level_ips,already_flagged_ft
1e7a7808-034c-423b-80e9-d6788da80993,BE18438,2025-11-15T08:57:40,T438LBX4.W40W,Vert,0.2722,0.2930,0.929,0.2,0 1e7a7808-034c-423b-80e9-d6788da80993,BE18438,2025-11-15T08:57:40,T438LBX4.W40W,Vert,0.2722,0.2930,0.929,0.2,0
346e383f-c5a1-41d1-b972-3d652e599d39,BE18438,2025-11-15T09:13:15,T438LBX5.M30W,Vert,0.2747,0.2930,0.938,0.2,0 346e383f-c5a1-41d1-b972-3d652e599d39,BE18438,2025-11-15T09:13:15,T438LBX5.M30W,Vert,0.2747,0.2930,0.938,0.2,0
45ef3023-22c5-44a8-a606-a0900bc17861,BE18438,2025-11-15T09:16:13,T438LBX5.R10W,Vert,0.2929,0.3027,0.967,0.2,0 45ef3023-22c5-44a8-a606-a0900bc17861,BE18438,2025-11-15T09:16:13,T438LBX5.R10W,Vert,0.2929,0.3027,0.967,0.2,0
1cbcd2aa-ec55-4e2f-af42-7178f26cc6a1,BE18438,2025-11-15T09:19:29,T438LBX5.WH0W,Vert,0.2816,0.2979,0.945,0.2,0 1cbcd2aa-ec55-4e2f-af42-7178f26cc6a1,BE18438,2025-11-15T09:19:29,T438LBX5.WH0W,Vert,0.2816,0.2979,0.945,0.2,0
caf43634-4528-4fd5-9674-5f4f563661c0,BE18438,2025-11-15T09:22:32,T438LBX6.1K0W,Vert,0.2883,0.2930,0.984,0.2,0 caf43634-4528-4fd5-9674-5f4f563661c0,BE18438,2025-11-15T09:22:32,T438LBX6.1K0W,Vert,0.2883,0.2930,0.984,0.2,0
456ae646-c834-4e5c-82f1-7df18b3440a1,BE18438,2025-11-15T09:25:31,T438LBX6.6J0W,Vert,0.3189,0.3223,0.989,0.2,0 456ae646-c834-4e5c-82f1-7df18b3440a1,BE18438,2025-11-15T09:25:31,T438LBX6.6J0W,Vert,0.3189,0.3223,0.989,0.2,0
afb91ba2-351b-42a0-b33f-acebd5f1829d,BE18438,2025-11-15T09:28:29,T438LBX6.BH0W,Vert,0.3057,0.3076,0.994,0.2,0 afb91ba2-351b-42a0-b33f-acebd5f1829d,BE18438,2025-11-15T09:28:29,T438LBX6.BH0W,Vert,0.3057,0.3076,0.994,0.2,0
39847146-3537-4300-943d-01c0c771e9cd,BE18438,2025-11-15T09:31:26,T438LBX6.GE0W,Vert,0.3225,0.3271,0.986,0.2,0 39847146-3537-4300-943d-01c0c771e9cd,BE18438,2025-11-15T09:31:26,T438LBX6.GE0W,Vert,0.3225,0.3271,0.986,0.2,0
e47335c1-fc3f-4c90-88c6-8edd0f296ce4,BE18438,2025-11-15T09:34:24,T438LBX6.LC0W,Vert,0.3275,0.3320,0.986,0.2,0 e47335c1-fc3f-4c90-88c6-8edd0f296ce4,BE18438,2025-11-15T09:34:24,T438LBX6.LC0W,Vert,0.3275,0.3320,0.986,0.2,0
25b6eda6-ba98-422f-8834-94b6cbe34971,BE18438,2025-11-15T09:37:22,T438LBX6.QA0W,Vert,0.3398,0.3418,0.994,0.2,0 25b6eda6-ba98-422f-8834-94b6cbe34971,BE18438,2025-11-15T09:37:22,T438LBX6.QA0W,Vert,0.3398,0.3418,0.994,0.2,0
7af99377-e47f-4914-8e91-ac7f7f50b8c6,BE18438,2025-11-15T09:40:20,T438LBX6.V80W,Vert,0.3515,0.3564,0.986,0.2,0 7af99377-e47f-4914-8e91-ac7f7f50b8c6,BE18438,2025-11-15T09:40:20,T438LBX6.V80W,Vert,0.3515,0.3564,0.986,0.2,0
c4330605-c257-49ef-aede-20deb641e7d7,BE18438,2025-11-15T10:09:48,T438LBX8.8C0W,Vert,0.3605,0.3955,0.912,0.2,0 c4330605-c257-49ef-aede-20deb641e7d7,BE18438,2025-11-15T10:09:48,T438LBX8.8C0W,Vert,0.3605,0.3955,0.912,0.2,0
b665caf9-64ee-4352-a391-60c1ddeebc1e,BE18438,2026-02-25T10:58:04,T438LH66.GS0W,Vert,0.1803,0.1953,0.923,0.2,0 b665caf9-64ee-4352-a391-60c1ddeebc1e,BE18438,2026-02-25T10:58:04,T438LH66.GS0W,Vert,0.1803,0.1953,0.923,0.2,0
3b0c32c3-fd16-4b83-9917-942a56dea168,BE18438,2026-02-25T18:12:04,T438LH6Q.K40W,Vert,0.1869,0.1953,0.957,0.2,0 3b0c32c3-fd16-4b83-9917-942a56dea168,BE18438,2026-02-25T18:12:04,T438LH6Q.K40W,Vert,0.1869,0.1953,0.957,0.2,0
ca66e601-d10f-4424-9c26-08a688e7b08c,BE18438,2026-02-25T18:17:16,T438LH6Q.SS0W,Vert,0.1870,0.1953,0.958,0.2,0 ca66e601-d10f-4424-9c26-08a688e7b08c,BE18438,2026-02-25T18:17:16,T438LH6Q.SS0W,Vert,0.1870,0.1953,0.958,0.2,0
31aa30ba-eb0a-49a9-98ca-c77d2cc31275,BE18438,2026-02-25T18:21:11,T438LH6Q.ZB0W,Vert,0.1868,0.1953,0.956,0.2,0 31aa30ba-eb0a-49a9-98ca-c77d2cc31275,BE18438,2026-02-25T18:21:11,T438LH6Q.ZB0W,Vert,0.1868,0.1953,0.956,0.2,0
fdb55a93-fc91-4fdf-a7f4-fdd1a6b48f59,BE18438,2026-02-25T18:26:27,T438LH6R.830W,Vert,0.1893,0.1953,0.969,0.2,0 fdb55a93-fc91-4fdf-a7f4-fdd1a6b48f59,BE18438,2026-02-25T18:26:27,T438LH6R.830W,Vert,0.1893,0.1953,0.969,0.2,0
cbd718d7-2378-4d74-8656-842f229d19a8,BE18438,2026-02-25T18:33:25,T438LH6R.JP0W,Vert,0.1887,0.1953,0.966,0.2,0 cbd718d7-2378-4d74-8656-842f229d19a8,BE18438,2026-02-25T18:33:25,T438LH6R.JP0W,Vert,0.1887,0.1953,0.966,0.2,0
bfaf58ec-6163-47eb-9d2a-70da880bd948,BE18438,2026-02-25T18:37:48,T438LH6R.R00W,Vert,0.1872,0.1953,0.959,0.2,0 bfaf58ec-6163-47eb-9d2a-70da880bd948,BE18438,2026-02-25T18:37:48,T438LH6R.R00W,Vert,0.1872,0.1953,0.959,0.2,0
ddaa530b-886e-4415-b93a-f4ebf4c4a882,BE18438,2026-02-25T18:59:54,T438LH6S.RU0W,Vert,0.1874,0.1953,0.959,0.2,0 ddaa530b-886e-4415-b93a-f4ebf4c4a882,BE18438,2026-02-25T18:59:54,T438LH6S.RU0W,Vert,0.1874,0.1953,0.959,0.2,0
57f15284-ab69-48fc-9660-8c347c80c681,BE18438,2026-02-25T19:15:58,T438LH6T.IM0W,Vert,0.1873,0.1953,0.959,0.2,0 57f15284-ab69-48fc-9660-8c347c80c681,BE18438,2026-02-25T19:15:58,T438LH6T.IM0W,Vert,0.1873,0.1953,0.959,0.2,0
03715718-7aa8-4e1d-9b0b-c2ab75fc1975,BE18438,2026-02-25T19:19:58,T438LH6T.PA0W,Vert,0.1891,0.1953,0.968,0.2,0 03715718-7aa8-4e1d-9b0b-c2ab75fc1975,BE18438,2026-02-25T19:19:58,T438LH6T.PA0W,Vert,0.1891,0.1953,0.968,0.2,0
9f921cd5-1bf9-4713-aef6-41e7f780eff1,BE18438,2026-02-25T19:24:02,T438LH6T.W20W,Vert,0.1871,0.1953,0.958,0.2,0 9f921cd5-1bf9-4713-aef6-41e7f780eff1,BE18438,2026-02-25T19:24:02,T438LH6T.W20W,Vert,0.1871,0.1953,0.958,0.2,0
44994949-58d4-44fa-bd78-ed75b8acc667,BE18438,2026-02-25T19:44:57,T438LH6U.UX0W,Vert,0.1877,0.1953,0.961,0.2,0 44994949-58d4-44fa-bd78-ed75b8acc667,BE18438,2026-02-25T19:44:57,T438LH6U.UX0W,Vert,0.1877,0.1953,0.961,0.2,0
c4be01c3-1001-4e17-aecd-d6d26dbb09f3,BE18438,2026-02-25T19:49:19,T438LH6V.270W,Vert,0.1884,0.1953,0.964,0.2,0 c4be01c3-1001-4e17-aecd-d6d26dbb09f3,BE18438,2026-02-25T19:49:19,T438LH6V.270W,Vert,0.1884,0.1953,0.964,0.2,0
3db004e6-ee34-43c5-ae8e-f22894ead5d0,BE18438,2026-02-25T20:08:22,T438LH6V.XY0W,Vert,0.1878,0.1953,0.962,0.2,0 3db004e6-ee34-43c5-ae8e-f22894ead5d0,BE18438,2026-02-25T20:08:22,T438LH6V.XY0W,Vert,0.1878,0.1953,0.962,0.2,0
d276ae48-0434-41e5-af43-e0fb366acf11,BE18438,2026-02-25T20:11:33,T438LH6W.390W,Vert,0.1880,0.1953,0.963,0.2,0 d276ae48-0434-41e5-af43-e0fb366acf11,BE18438,2026-02-25T20:11:33,T438LH6W.390W,Vert,0.1880,0.1953,0.963,0.2,0
c027dc12-88fd-4a45-872b-a6a945f2008e,BE18438,2026-02-25T20:14:35,T438LH6W.8B0W,Vert,0.1874,0.1953,0.959,0.2,0 c027dc12-88fd-4a45-872b-a6a945f2008e,BE18438,2026-02-25T20:14:35,T438LH6W.8B0W,Vert,0.1874,0.1953,0.959,0.2,0
9665bc3a-3d08-4852-b008-37ef8bfd0023,BE18438,2026-02-25T20:18:51,T438LH6W.FF0W,Vert,0.1884,0.1953,0.965,0.2,0 9665bc3a-3d08-4852-b008-37ef8bfd0023,BE18438,2026-02-25T20:18:51,T438LH6W.FF0W,Vert,0.1884,0.1953,0.965,0.2,0
5fb5a05e-d7e2-4268-9b85-cfe8d82aa6c9,BE18438,2026-02-25T20:29:50,T438LH6W.XQ0W,Vert,0.1890,0.1953,0.968,0.2,0 5fb5a05e-d7e2-4268-9b85-cfe8d82aa6c9,BE18438,2026-02-25T20:29:50,T438LH6W.XQ0W,Vert,0.1890,0.1953,0.968,0.2,0
57ec0b10-9324-4459-a07e-0c8532b8928f,BE18438,2026-02-25T20:35:39,T438LH6X.7F0W,Vert,0.1889,0.1953,0.967,0.2,0 57ec0b10-9324-4459-a07e-0c8532b8928f,BE18438,2026-02-25T20:35:39,T438LH6X.7F0W,Vert,0.1889,0.1953,0.967,0.2,0
ac86f73f-1174-4fae-a206-ecdcb73e1ffc,BE18438,2026-02-25T20:39:12,T438LH6X.DC0W,Vert,0.1887,0.1953,0.966,0.2,0 ac86f73f-1174-4fae-a206-ecdcb73e1ffc,BE18438,2026-02-25T20:39:12,T438LH6X.DC0W,Vert,0.1887,0.1953,0.966,0.2,0
dcf25ddd-9cf0-41c1-b109-f3ef2e490ce5,BE18438,2026-02-25T20:43:41,T438LH6X.KT0W,Vert,0.1871,0.1953,0.958,0.2,0 dcf25ddd-9cf0-41c1-b109-f3ef2e490ce5,BE18438,2026-02-25T20:43:41,T438LH6X.KT0W,Vert,0.1871,0.1953,0.958,0.2,0
aa79bbdd-2392-4ef6-8a5c-873a9f72746d,BE18438,2026-02-25T20:46:51,T438LH6X.Q30W,Vert,0.1877,0.1953,0.961,0.2,0 aa79bbdd-2392-4ef6-8a5c-873a9f72746d,BE18438,2026-02-25T20:46:51,T438LH6X.Q30W,Vert,0.1877,0.1953,0.961,0.2,0
ad46d1ce-b417-4c8c-b029-bb3b008ba809,BE18438,2026-02-25T20:53:33,T438LH6Y.190W,Vert,0.1882,0.1953,0.964,0.2,0 ad46d1ce-b417-4c8c-b029-bb3b008ba809,BE18438,2026-02-25T20:53:33,T438LH6Y.190W,Vert,0.1882,0.1953,0.964,0.2,0
3d3a8f34-86a7-4d70-a7e8-fa768a723325,BE18438,2026-02-26T07:03:39,T438LH7Q.A30W,Vert,0.1809,0.1953,0.926,0.2,0 3d3a8f34-86a7-4d70-a7e8-fa768a723325,BE18438,2026-02-26T07:03:39,T438LH7Q.A30W,Vert,0.1809,0.1953,0.926,0.2,0
7817525f-dc3d-4f5e-b2cb-5af9ca12ede8,BE18438,2026-02-26T07:09:42,T438LH7Q.K60W,Vert,0.1814,0.1953,0.929,0.2,0 7817525f-dc3d-4f5e-b2cb-5af9ca12ede8,BE18438,2026-02-26T07:09:42,T438LH7Q.K60W,Vert,0.1814,0.1953,0.929,0.2,0
a2091302-0b34-46c1-ab83-174be2b59bcf,BE18438,2026-02-26T13:12:35,T438LH87.CZ0W,Vert,0.1896,0.1953,0.971,0.2,0 a2091302-0b34-46c1-ab83-174be2b59bcf,BE18438,2026-02-26T13:12:35,T438LH87.CZ0W,Vert,0.1896,0.1953,0.971,0.2,0
e1c0c9de-a900-479f-9572-9675b13296a9,BE18438,2026-02-26T13:24:46,T438LH87.XA0W,Vert,0.2237,0.2588,0.864,0.2,0 e1c0c9de-a900-479f-9572-9675b13296a9,BE18438,2026-02-26T13:24:46,T438LH87.XA0W,Vert,0.2237,0.2588,0.864,0.2,0
76a6dc6b-88e1-434b-a137-f5e9b63f248e,BE18438,2026-02-26T13:27:43,T438LH88.270W,Vert,0.3185,0.3223,0.988,0.2,0 76a6dc6b-88e1-434b-a137-f5e9b63f248e,BE18438,2026-02-26T13:27:43,T438LH88.270W,Vert,0.3185,0.3223,0.988,0.2,0
281b508b-7982-4668-86af-9b0b28be608a,BE18438,2026-02-26T13:30:36,T438LH88.700W,Vert,0.3263,0.3320,0.983,0.2,0 281b508b-7982-4668-86af-9b0b28be608a,BE18438,2026-02-26T13:30:36,T438LH88.700W,Vert,0.3263,0.3320,0.983,0.2,0
68bbaf77-bb23-40fd-94f9-f928728d90dc,BE18438,2026-02-26T13:33:28,T438LH88.BS0W,Vert,0.3207,0.3271,0.980,0.2,0 68bbaf77-bb23-40fd-94f9-f928728d90dc,BE18438,2026-02-26T13:33:28,T438LH88.BS0W,Vert,0.3207,0.3271,0.980,0.2,0
5c975640-6ff1-441a-aa11-41642f6a6b31,BE18438,2026-02-26T13:36:21,T438LH88.GL0W,Vert,0.3261,0.3320,0.982,0.2,0 5c975640-6ff1-441a-aa11-41642f6a6b31,BE18438,2026-02-26T13:36:21,T438LH88.GL0W,Vert,0.3261,0.3320,0.982,0.2,0
dea248ac-1124-4bba-b054-953f86c852b2,BE18438,2026-02-26T13:40:34,T438LH88.NM0W,Vert,0.3271,0.3320,0.985,0.2,0 dea248ac-1124-4bba-b054-953f86c852b2,BE18438,2026-02-26T13:40:34,T438LH88.NM0W,Vert,0.3271,0.3320,0.985,0.2,0
4e463201-f008-41ad-9c52-11fcc3d93095,BE18438,2026-02-26T13:43:29,T438LH88.SH0W,Vert,0.3357,0.3418,0.982,0.2,0 4e463201-f008-41ad-9c52-11fcc3d93095,BE18438,2026-02-26T13:43:29,T438LH88.SH0W,Vert,0.3357,0.3418,0.982,0.2,0
507262c5-d58f-4a05-a6a3-a6cbb5b4de20,BE18438,2026-02-26T13:46:24,T438LH88.XC0W,Vert,0.3372,0.3418,0.987,0.2,0 507262c5-d58f-4a05-a6a3-a6cbb5b4de20,BE18438,2026-02-26T13:46:24,T438LH88.XC0W,Vert,0.3372,0.3418,0.987,0.2,0
4c2d8ee8-842f-4e44-9e03-ff34d26e4fdb,BE18438,2026-02-26T13:49:17,T438LH89.250W,Vert,0.3253,0.3320,0.980,0.2,0 4c2d8ee8-842f-4e44-9e03-ff34d26e4fdb,BE18438,2026-02-26T13:49:17,T438LH89.250W,Vert,0.3253,0.3320,0.980,0.2,0
b184b112-603f-44f4-ae97-087493fbd8ce,BE18438,2026-02-26T13:52:10,T438LH89.6Y0W,Vert,0.3321,0.3369,0.986,0.2,0 b184b112-603f-44f4-ae97-087493fbd8ce,BE18438,2026-02-26T13:52:10,T438LH89.6Y0W,Vert,0.3321,0.3369,0.986,0.2,0
2ff1a552-5a2e-4396-9083-b9c8d334eed7,BE18438,2026-02-26T13:55:04,T438LH89.BS0W,Vert,0.3378,0.3418,0.988,0.2,0 2ff1a552-5a2e-4396-9083-b9c8d334eed7,BE18438,2026-02-26T13:55:04,T438LH89.BS0W,Vert,0.3378,0.3418,0.988,0.2,0
928e21a7-1990-4792-803e-58014d8140ce,BE18438,2026-02-26T13:57:57,T438LH89.GL0W,Vert,0.3341,0.3369,0.992,0.2,0 928e21a7-1990-4792-803e-58014d8140ce,BE18438,2026-02-26T13:57:57,T438LH89.GL0W,Vert,0.3341,0.3369,0.992,0.2,0
f521b5db-6100-41e6-954e-0abdbf9660c1,BE18438,2026-02-26T14:00:51,T438LH89.LF0W,Vert,0.3421,0.3467,0.987,0.2,0 f521b5db-6100-41e6-954e-0abdbf9660c1,BE18438,2026-02-26T14:00:51,T438LH89.LF0W,Vert,0.3421,0.3467,0.987,0.2,0
efba962f-e511-41ef-9fc5-313f202a9d96,BE18438,2026-02-26T14:03:46,T438LH89.QA0W,Vert,0.3506,0.3564,0.984,0.2,0 efba962f-e511-41ef-9fc5-313f202a9d96,BE18438,2026-02-26T14:03:46,T438LH89.QA0W,Vert,0.3506,0.3564,0.984,0.2,0
0b51e273-8d10-4494-bda6-8c75eaeec66f,BE18438,2026-02-26T14:06:41,T438LH89.V50W,Vert,0.3448,0.3516,0.981,0.2,0 0b51e273-8d10-4494-bda6-8c75eaeec66f,BE18438,2026-02-26T14:06:41,T438LH89.V50W,Vert,0.3448,0.3516,0.981,0.2,0
6d46e4ee-1647-4169-b6b2-33da32240eb9,BE18438,2026-02-26T14:09:35,T438LH89.ZZ0W,Vert,0.3463,0.3516,0.985,0.2,0 6d46e4ee-1647-4169-b6b2-33da32240eb9,BE18438,2026-02-26T14:09:35,T438LH89.ZZ0W,Vert,0.3463,0.3516,0.985,0.2,0
1ca294cd-4dc2-41fb-9374-e277d4550761,BE18438,2026-02-26T14:12:28,T438LH8A.4S0W,Vert,0.3442,0.3467,0.993,0.2,0 1ca294cd-4dc2-41fb-9374-e277d4550761,BE18438,2026-02-26T14:12:28,T438LH8A.4S0W,Vert,0.3442,0.3467,0.993,0.2,0
7b683dcf-1aed-4d9b-be1e-b10f92374398,BE18438,2026-02-26T14:15:23,T438LH8A.9N0W,Vert,0.3486,0.3516,0.992,0.2,0 7b683dcf-1aed-4d9b-be1e-b10f92374398,BE18438,2026-02-26T14:15:23,T438LH8A.9N0W,Vert,0.3486,0.3516,0.992,0.2,0
2b5cb8e7-c947-4914-bcb5-504f74603547,BE18438,2026-02-26T14:18:21,T438LH8A.EL0W,Vert,0.3519,0.3613,0.974,0.2,0 2b5cb8e7-c947-4914-bcb5-504f74603547,BE18438,2026-02-26T14:18:21,T438LH8A.EL0W,Vert,0.3519,0.3613,0.974,0.2,0
5ea3a6bf-10de-4911-aedc-66daecf86b76,BE18438,2026-02-26T14:21:16,T438LH8A.JG0W,Vert,0.3460,0.3564,0.971,0.2,0 5ea3a6bf-10de-4911-aedc-66daecf86b76,BE18438,2026-02-26T14:21:16,T438LH8A.JG0W,Vert,0.3460,0.3564,0.971,0.2,0
d93be7f5-39ec-45fd-9949-fa531f2f9d34,BE18438,2026-02-26T14:24:13,T438LH8A.OD0W,Vert,0.3457,0.3516,0.983,0.2,0 d93be7f5-39ec-45fd-9949-fa531f2f9d34,BE18438,2026-02-26T14:24:13,T438LH8A.OD0W,Vert,0.3457,0.3516,0.983,0.2,0
cfa113f2-8cee-4a1d-b1e7-0e936fa771e2,BE18438,2026-02-26T14:28:21,T438LH8A.V90W,Vert,0.3485,0.3564,0.978,0.2,0 cfa113f2-8cee-4a1d-b1e7-0e936fa771e2,BE18438,2026-02-26T14:28:21,T438LH8A.V90W,Vert,0.3485,0.3564,0.978,0.2,0
46d322ac-38cb-4c99-a4c2-9e9d7ad06171,BE18438,2026-02-26T14:31:17,T438LH8B.050W,Vert,0.3367,0.3467,0.971,0.2,0 46d322ac-38cb-4c99-a4c2-9e9d7ad06171,BE18438,2026-02-26T14:31:17,T438LH8B.050W,Vert,0.3367,0.3467,0.971,0.2,0
42500a83-bd67-4deb-8bb2-963ee2b8a7ce,BE18438,2026-02-26T14:34:11,T438LH8B.4Z0W,Vert,0.3365,0.3516,0.957,0.2,0 42500a83-bd67-4deb-8bb2-963ee2b8a7ce,BE18438,2026-02-26T14:34:11,T438LH8B.4Z0W,Vert,0.3365,0.3516,0.957,0.2,0
3ccf6bda-2e88-473c-951d-9ea86d0d9363,BE18438,2026-02-26T14:37:05,T438LH8B.9T0W,Vert,0.3472,0.3564,0.974,0.2,0 3ccf6bda-2e88-473c-951d-9ea86d0d9363,BE18438,2026-02-26T14:37:05,T438LH8B.9T0W,Vert,0.3472,0.3564,0.974,0.2,0
9050487d-d238-4631-b8e1-5a693a026542,BE18438,2026-02-26T14:39:58,T438LH8B.EM0W,Vert,0.3420,0.3564,0.959,0.2,0 9050487d-d238-4631-b8e1-5a693a026542,BE18438,2026-02-26T14:39:58,T438LH8B.EM0W,Vert,0.3420,0.3564,0.959,0.2,0
e62989e4-a326-4bae-8d47-a8becee96462,BE18438,2026-02-26T14:42:52,T438LH8B.JG0W,Vert,0.3430,0.3564,0.962,0.2,0 e62989e4-a326-4bae-8d47-a8becee96462,BE18438,2026-02-26T14:42:52,T438LH8B.JG0W,Vert,0.3430,0.3564,0.962,0.2,0
f0e30fab-dc57-4189-8439-48df17007a2c,BE18438,2026-02-26T14:45:46,T438LH8B.OA0W,Vert,0.3389,0.3516,0.964,0.2,0 f0e30fab-dc57-4189-8439-48df17007a2c,BE18438,2026-02-26T14:45:46,T438LH8B.OA0W,Vert,0.3389,0.3516,0.964,0.2,0
03e1ca09-78df-4c6f-9915-0b6e4f2141d2,BE18438,2026-02-26T14:48:43,T438LH8B.T70W,Vert,0.3449,0.3564,0.968,0.2,0 03e1ca09-78df-4c6f-9915-0b6e4f2141d2,BE18438,2026-02-26T14:48:43,T438LH8B.T70W,Vert,0.3449,0.3564,0.968,0.2,0
945d39f7-1b98-4a1f-80a8-6a18fd9df25f,BE18438,2026-02-26T14:51:37,T438LH8B.Y10W,Vert,0.3522,0.3613,0.975,0.2,0 945d39f7-1b98-4a1f-80a8-6a18fd9df25f,BE18438,2026-02-26T14:51:37,T438LH8B.Y10W,Vert,0.3522,0.3613,0.975,0.2,0
d27eb2e3-e313-4125-98f4-f9d6d3737d28,BE18438,2026-02-26T14:54:32,T438LH8C.2W0W,Vert,0.3502,0.3613,0.969,0.2,0 d27eb2e3-e313-4125-98f4-f9d6d3737d28,BE18438,2026-02-26T14:54:32,T438LH8C.2W0W,Vert,0.3502,0.3613,0.969,0.2,0
916901cb-ebea-441e-a2a1-40f4e49f32f4,BE18438,2026-02-26T14:57:25,T438LH8C.7P0W,Vert,0.3524,0.3662,0.962,0.2,0 916901cb-ebea-441e-a2a1-40f4e49f32f4,BE18438,2026-02-26T14:57:25,T438LH8C.7P0W,Vert,0.3524,0.3662,0.962,0.2,0
5d8d7e29-fdbb-4fa3-bd25-506c9352a354,BE18438,2026-02-26T15:01:35,T438LH8C.EN0W,Vert,0.3530,0.3613,0.977,0.2,0 5d8d7e29-fdbb-4fa3-bd25-506c9352a354,BE18438,2026-02-26T15:01:35,T438LH8C.EN0W,Vert,0.3530,0.3613,0.977,0.2,0
c6c7a3af-b03b-43dc-97de-024f8e09b62f,BE18438,2026-02-26T15:04:27,T438LH8C.JF0W,Vert,0.3514,0.3613,0.973,0.2,0 c6c7a3af-b03b-43dc-97de-024f8e09b62f,BE18438,2026-02-26T15:04:27,T438LH8C.JF0W,Vert,0.3514,0.3613,0.973,0.2,0
b6856898-3d10-4967-9577-7f17902f77ea,BE18438,2026-02-26T15:11:34,T438LH8C.VA0W,Vert,0.3566,0.3613,0.987,0.2,0 b6856898-3d10-4967-9577-7f17902f77ea,BE18438,2026-02-26T15:11:34,T438LH8C.VA0W,Vert,0.3566,0.3613,0.987,0.2,0
7a4802f6-621e-4230-8d8c-d7f0c9a65bf2,BE18438,2026-02-26T15:14:24,T438LH8D.000W,Vert,0.3594,0.3711,0.968,0.2,0 7a4802f6-621e-4230-8d8c-d7f0c9a65bf2,BE18438,2026-02-26T15:14:24,T438LH8D.000W,Vert,0.3594,0.3711,0.968,0.2,0
79f38b7e-ec56-417e-943a-8c944252c2b8,BE18438,2026-02-26T15:18:32,T438LH8D.6W0W,Vert,0.3550,0.3613,0.983,0.2,0 79f38b7e-ec56-417e-943a-8c944252c2b8,BE18438,2026-02-26T15:18:32,T438LH8D.6W0W,Vert,0.3550,0.3613,0.983,0.2,0
1b4190c4-0d54-48ba-8ff5-8ddb0eb91e50,BE18438,2026-02-26T15:22:22,T438LH8D.DA0W,Vert,0.3571,0.3613,0.988,0.2,0 1b4190c4-0d54-48ba-8ff5-8ddb0eb91e50,BE18438,2026-02-26T15:22:22,T438LH8D.DA0W,Vert,0.3571,0.3613,0.988,0.2,0
de57b5ae-a3a1-4ede-9d2b-3e87bfb3fd19,BE9558,2026-04-14T11:16:32,K558LJN3.BK0W,Tran,0.3448,0.3662,0.942,0.2,0 de57b5ae-a3a1-4ede-9d2b-3e87bfb3fd19,BE9558,2026-04-14T11:16:32,K558LJN3.BK0W,Tran,0.3448,0.3662,0.942,0.2,0
43afeaf5-02ec-41f6-9e23-0c9772821ed4,BE9558,2026-04-14T11:27:15,K558LJN3.TF0W,Tran,0.3094,0.3223,0.960,0.2,0 43afeaf5-02ec-41f6-9e23-0c9772821ed4,BE9558,2026-04-14T11:27:15,K558LJN3.TF0W,Tran,0.3094,0.3223,0.960,0.2,0
8123c0ef-84c9-4f6c-8d82-9dc32e2e470d,BE9558,2026-04-14T14:45:30,K558LJNC.ZU0W,Tran,0.2721,0.3564,0.763,0.2,0 8123c0ef-84c9-4f6c-8d82-9dc32e2e470d,BE9558,2026-04-14T14:45:30,K558LJNC.ZU0W,Tran,0.2721,0.3564,0.763,0.2,0
8c787af3-596e-411b-9e10-29485fa5114f,BE9558,2026-04-29T16:18:47,K558LKF9.BB0W,Tran,0.2943,0.3027,0.972,0.2,0 8c787af3-596e-411b-9e10-29485fa5114f,BE9558,2026-04-29T16:18:47,K558LKF9.BB0W,Tran,0.2943,0.3027,0.972,0.2,0
431928ff-b4c4-4caa-b933-acc917f3717c,BE9558,2026-05-04T15:02:30,K558LKOF.460W,Tran,0.4364,0.5225,0.835,0.2,0 431928ff-b4c4-4caa-b933-acc917f3717c,BE9558,2026-05-04T15:02:30,K558LKOF.460W,Tran,0.4364,0.5225,0.835,0.2,0
6c3c07f8-c36a-4493-acce-7441c9d22cec,BE9558,2026-05-15T08:50:06,K558LL8B.7I0W,Long,0.2892,0.2930,0.987,0.2,0 6c3c07f8-c36a-4493-acce-7441c9d22cec,BE9558,2026-05-15T08:50:06,K558LL8B.7I0W,Long,0.2892,0.2930,0.987,0.2,0
13c268df-b652-422e-a642-6453f6a314aa,BE9558,2026-05-15T10:18:34,K558LL8F.AY0W,Long,0.2907,0.2979,0.976,0.2,0 13c268df-b652-422e-a642-6453f6a314aa,BE9558,2026-05-15T10:18:34,K558LL8F.AY0W,Long,0.2907,0.2979,0.976,0.2,0
9b0d0871-8810-467d-806a-5bbfa4e667fe,BE9558,2026-05-15T15:52:00,K558LL8U.QO0W,Long,0.2659,0.2979,0.893,0.2,0 9b0d0871-8810-467d-806a-5bbfa4e667fe,BE9558,2026-05-15T15:52:00,K558LL8U.QO0W,Long,0.2659,0.2979,0.893,0.2,0
092640f9-a944-48b7-b872-364d75c2c5e7,BE9558,2026-05-15T16:13:12,K558LL8V.Q00W,Long,0.2428,0.2979,0.815,0.2,0 092640f9-a944-48b7-b872-364d75c2c5e7,BE9558,2026-05-15T16:13:12,K558LL8V.Q00W,Long,0.2428,0.2979,0.815,0.2,0
0573741a-96ab-4b36-af7a-b5bc11a79009,BE9558,2026-05-16T03:23:26,K558LL9Q.R20W,Long,0.2861,0.2930,0.976,0.2,0 0573741a-96ab-4b36-af7a-b5bc11a79009,BE9558,2026-05-16T03:23:26,K558LL9Q.R20W,Long,0.2861,0.2930,0.976,0.2,0
321f03ea-6696-47de-ad46-2be43d4d6cae,BE9558,2026-05-16T03:30:49,K558LL9R.3D0W,Long,0.2886,0.2930,0.985,0.2,0 321f03ea-6696-47de-ad46-2be43d4d6cae,BE9558,2026-05-16T03:30:49,K558LL9R.3D0W,Long,0.2886,0.2930,0.985,0.2,0
cc423a6a-3e3c-466a-b39c-6146ca7f34c8,BE9558,2026-05-16T03:33:55,K558LL9R.8J0W,Long,0.2880,0.2881,1.000,0.2,0 cc423a6a-3e3c-466a-b39c-6146ca7f34c8,BE9558,2026-05-16T03:33:55,K558LL9R.8J0W,Long,0.2880,0.2881,1.000,0.2,0
efa52a14-cc68-4bea-aab4-4ee3a3cbff3a,BE9558,2026-05-16T03:36:55,K558LL9R.DJ0W,Long,0.2890,0.2930,0.986,0.2,0 efa52a14-cc68-4bea-aab4-4ee3a3cbff3a,BE9558,2026-05-16T03:36:55,K558LL9R.DJ0W,Long,0.2890,0.2930,0.986,0.2,0
92895bfe-122f-4cdc-bd3d-40609633d278,BE9558,2026-05-16T03:43:41,K558LL9R.OT0W,Long,0.2880,0.2881,1.000,0.2,0 92895bfe-122f-4cdc-bd3d-40609633d278,BE9558,2026-05-16T03:43:41,K558LL9R.OT0W,Long,0.2880,0.2881,1.000,0.2,0
2a4c81db-2307-44e5-9b27-d5154d98e38d,BE9558,2026-05-16T03:46:36,K558LL9R.TO0W,Long,0.2921,0.2979,0.981,0.2,0 2a4c81db-2307-44e5-9b27-d5154d98e38d,BE9558,2026-05-16T03:46:36,K558LL9R.TO0W,Long,0.2921,0.2979,0.981,0.2,0
656b0fdc-e275-4c9c-8936-9eee267ea04e,BE9558,2026-05-16T03:49:28,K558LL9R.YG0W,Long,0.2966,0.2979,0.996,0.2,0 656b0fdc-e275-4c9c-8936-9eee267ea04e,BE9558,2026-05-16T03:49:28,K558LL9R.YG0W,Long,0.2966,0.2979,0.996,0.2,0
3b9989ae-e0f2-4652-9724-c145603543d2,BE9558,2026-05-16T03:52:29,K558LL9S.3H0W,Long,0.2880,0.2930,0.983,0.2,0 3b9989ae-e0f2-4652-9724-c145603543d2,BE9558,2026-05-16T03:52:29,K558LL9S.3H0W,Long,0.2880,0.2930,0.983,0.2,0
837d0d84-d609-4f4a-b542-b7e2b064ea22,BE9558,2026-05-16T03:56:32,K558LL9S.A80W,Long,0.2880,0.2930,0.983,0.2,0 837d0d84-d609-4f4a-b542-b7e2b064ea22,BE9558,2026-05-16T03:56:32,K558LL9S.A80W,Long,0.2880,0.2930,0.983,0.2,0
affcb008-ab99-4bc5-8f35-83dbe620499d,BE9558,2026-05-16T04:02:50,K558LL9S.KQ0W,Long,0.2896,0.2930,0.989,0.2,0 affcb008-ab99-4bc5-8f35-83dbe620499d,BE9558,2026-05-16T04:02:50,K558LL9S.KQ0W,Long,0.2896,0.2930,0.989,0.2,0
e1f1c6d2-545c-451f-9018-714d52e20a05,BE9558,2026-05-16T04:05:47,K558LL9S.PN0W,Long,0.3024,0.3076,0.983,0.2,0 e1f1c6d2-545c-451f-9018-714d52e20a05,BE9558,2026-05-16T04:05:47,K558LL9S.PN0W,Long,0.3024,0.3076,0.983,0.2,0
93ef80f1-7e83-4703-a0f9-89bbfeeae6c3,BE9558,2026-05-16T04:08:41,K558LL9S.UH0W,Long,0.2976,0.2979,0.999,0.2,0 93ef80f1-7e83-4703-a0f9-89bbfeeae6c3,BE9558,2026-05-16T04:08:41,K558LL9S.UH0W,Long,0.2976,0.2979,0.999,0.2,0
5c118ca9-fc37-4080-876d-b3f57ce0b121,BE9558,2026-05-16T04:11:42,K558LL9S.ZI0W,Long,0.2881,0.2930,0.983,0.2,0 5c118ca9-fc37-4080-876d-b3f57ce0b121,BE9558,2026-05-16T04:11:42,K558LL9S.ZI0W,Long,0.2881,0.2930,0.983,0.2,0
d98b2eaa-7763-4c78-88fb-c21195cb9978,BE9558,2026-05-16T04:14:38,K558LL9T.4E0W,Long,0.2898,0.2930,0.989,0.2,0 d98b2eaa-7763-4c78-88fb-c21195cb9978,BE9558,2026-05-16T04:14:38,K558LL9T.4E0W,Long,0.2898,0.2930,0.989,0.2,0
6a146a01-0d02-4413-b231-ecb4a6fde776,BE9558,2026-05-16T04:17:35,K558LL9T.9B0W,Long,0.2880,0.2930,0.983,0.2,0 6a146a01-0d02-4413-b231-ecb4a6fde776,BE9558,2026-05-16T04:17:35,K558LL9T.9B0W,Long,0.2880,0.2930,0.983,0.2,0
f6587a55-27e3-454f-997e-57e7516a296c,BE9558,2026-05-16T04:20:32,K558LL9T.E80W,Long,0.3046,0.3076,0.990,0.2,0 f6587a55-27e3-454f-997e-57e7516a296c,BE9558,2026-05-16T04:20:32,K558LL9T.E80W,Long,0.3046,0.3076,0.990,0.2,0
1fb48250-2214-41e6-92cb-362aff1ba62b,BE9558,2026-05-16T04:26:05,K558LL9T.NH0W,Long,0.2876,0.2930,0.982,0.2,0 1fb48250-2214-41e6-92cb-362aff1ba62b,BE9558,2026-05-16T04:26:05,K558LL9T.NH0W,Long,0.2876,0.2930,0.982,0.2,0
2f4f3d06-1189-4e28-a1ac-5454ea586a0c,BE9558,2026-05-16T04:59:47,K558LL9V.7N0W,Long,0.2961,0.3027,0.978,0.2,0 2f4f3d06-1189-4e28-a1ac-5454ea586a0c,BE9558,2026-05-16T04:59:47,K558LL9V.7N0W,Long,0.2961,0.3027,0.978,0.2,0
62b7bdab-b744-41e4-8d0e-c9141b9d4821,BE9558,2026-05-16T05:02:46,K558LL9V.CM0W,Long,0.2903,0.2930,0.991,0.2,0 62b7bdab-b744-41e4-8d0e-c9141b9d4821,BE9558,2026-05-16T05:02:46,K558LL9V.CM0W,Long,0.2903,0.2930,0.991,0.2,0
cadcb6dc-74c0-48b5-974c-87bb7a57816c,BE9558,2026-05-16T05:05:43,K558LL9V.HJ0W,Long,0.3090,0.3125,0.989,0.2,0 cadcb6dc-74c0-48b5-974c-87bb7a57816c,BE9558,2026-05-16T05:05:43,K558LL9V.HJ0W,Long,0.3090,0.3125,0.989,0.2,0
a0235177-be5a-4f11-b741-c65744698e5b,BE9558,2026-05-16T05:08:35,K558LL9V.MB0W,Long,0.3167,0.3223,0.983,0.2,0 a0235177-be5a-4f11-b741-c65744698e5b,BE9558,2026-05-16T05:08:35,K558LL9V.MB0W,Long,0.3167,0.3223,0.983,0.2,0
1968c2f6-f52c-4544-a0ed-f79b91ce0da0,BE9558,2026-05-16T05:11:28,K558LL9V.R40W,Long,0.3446,0.3516,0.980,0.2,0 1968c2f6-f52c-4544-a0ed-f79b91ce0da0,BE9558,2026-05-16T05:11:28,K558LL9V.R40W,Long,0.3446,0.3516,0.980,0.2,0
caa06b94-8813-4949-b47b-61ffb16e61c4,BE9558,2026-05-16T05:14:22,K558LL9V.VY0W,Long,0.3318,0.3320,0.999,0.2,0 caa06b94-8813-4949-b47b-61ffb16e61c4,BE9558,2026-05-16T05:14:22,K558LL9V.VY0W,Long,0.3318,0.3320,0.999,0.2,0
fdaa8101-f033-47e6-9c65-abd76dea1870,BE9558,2026-05-16T05:17:16,K558LL9W.0S0W,Long,0.3407,0.3418,0.997,0.2,0 fdaa8101-f033-47e6-9c65-abd76dea1870,BE9558,2026-05-16T05:17:16,K558LL9W.0S0W,Long,0.3407,0.3418,0.997,0.2,0
29bd16bd-81b9-4ccd-a981-f1a80858536c,BE9558,2026-05-16T05:23:05,K558LL9W.AH0W,Long,0.3450,0.3516,0.981,0.2,0 29bd16bd-81b9-4ccd-a981-f1a80858536c,BE9558,2026-05-16T05:23:05,K558LL9W.AH0W,Long,0.3450,0.3516,0.981,0.2,0
1f8bc862-d5fd-4cce-abc0-e2bd8c2f11fa,BE9558,2026-05-16T05:26:00,K558LL9W.FC0W,Long,0.3417,0.3467,0.986,0.2,0 1f8bc862-d5fd-4cce-abc0-e2bd8c2f11fa,BE9558,2026-05-16T05:26:00,K558LL9W.FC0W,Long,0.3417,0.3467,0.986,0.2,0
20220068-d498-4fca-9a2a-a7fd2ee52ab1,BE9558,2026-05-16T05:28:53,K558LL9W.K50W,Long,0.3516,0.3564,0.986,0.2,0 20220068-d498-4fca-9a2a-a7fd2ee52ab1,BE9558,2026-05-16T05:28:53,K558LL9W.K50W,Long,0.3516,0.3564,0.986,0.2,0
9816a261-3118-417a-8334-ace36687ad8f,BE9558,2026-05-16T05:31:47,K558LL9W.OZ0W,Long,0.3416,0.3467,0.985,0.2,0 9816a261-3118-417a-8334-ace36687ad8f,BE9558,2026-05-16T05:31:47,K558LL9W.OZ0W,Long,0.3416,0.3467,0.985,0.2,0
5d2c76d7-543d-4557-9caf-996a69ab00bd,BE9558,2026-05-16T05:34:42,K558LL9W.TU0W,Long,0.3537,0.3564,0.992,0.2,0 5d2c76d7-543d-4557-9caf-996a69ab00bd,BE9558,2026-05-16T05:34:42,K558LL9W.TU0W,Long,0.3537,0.3564,0.992,0.2,0
c7b5ae00-52e7-4920-aa27-49d3b3daff92,BE9558,2026-05-16T05:37:36,K558LL9W.YO0W,Long,0.3517,0.3564,0.987,0.2,0 c7b5ae00-52e7-4920-aa27-49d3b3daff92,BE9558,2026-05-16T05:37:36,K558LL9W.YO0W,Long,0.3517,0.3564,0.987,0.2,0
07db8fd8-ccef-4a5a-9d97-9f318f73a478,BE9558,2026-05-16T05:40:31,K558LL9X.3J0W,Long,0.3574,0.3613,0.989,0.2,0 07db8fd8-ccef-4a5a-9d97-9f318f73a478,BE9558,2026-05-16T05:40:31,K558LL9X.3J0W,Long,0.3574,0.3613,0.989,0.2,0
790fcff9-e266-4a12-87f0-a072990d2533,BE9558,2026-05-16T05:43:26,K558LL9X.8E0W,Long,0.3650,0.3662,0.997,0.2,0 790fcff9-e266-4a12-87f0-a072990d2533,BE9558,2026-05-16T05:43:26,K558LL9X.8E0W,Long,0.3650,0.3662,0.997,0.2,0
f4245f61-1dde-43dc-a121-98e102f6a193,BE9558,2026-05-16T05:50:28,K558LL9X.K40W,Long,0.3856,0.3906,0.987,0.2,0 f4245f61-1dde-43dc-a121-98e102f6a193,BE9558,2026-05-16T05:50:28,K558LL9X.K40W,Long,0.3856,0.3906,0.987,0.2,0
5a3bce7b-358e-4260-876f-3f853163d7cf,BE9558,2026-05-16T05:53:22,K558LL9X.OY0W,Long,0.3847,0.3857,0.997,0.2,0 5a3bce7b-358e-4260-876f-3f853163d7cf,BE9558,2026-05-16T05:53:22,K558LL9X.OY0W,Long,0.3847,0.3857,0.997,0.2,0
37c2b4b1-7a1b-43e7-b513-2c16f582109c,BE9558,2026-05-16T05:56:15,K558LL9X.TR0W,Long,0.3906,0.3955,0.988,0.2,0 37c2b4b1-7a1b-43e7-b513-2c16f582109c,BE9558,2026-05-16T05:56:15,K558LL9X.TR0W,Long,0.3906,0.3955,0.988,0.2,0
57fde109-1d8a-45a1-b398-5bd28c3e47f1,BE9558,2026-05-16T05:59:10,K558LL9X.YM0W,Long,0.4000,0.4004,0.999,0.2,0 57fde109-1d8a-45a1-b398-5bd28c3e47f1,BE9558,2026-05-16T05:59:10,K558LL9X.YM0W,Long,0.4000,0.4004,0.999,0.2,0
1e41ab40-93be-405c-a464-f7a57524d3b3,BE9558,2026-05-16T06:02:02,K558LL9Y.3E0W,Long,0.3825,0.3857,0.992,0.2,0 1e41ab40-93be-405c-a464-f7a57524d3b3,BE9558,2026-05-16T06:02:02,K558LL9Y.3E0W,Long,0.3825,0.3857,0.992,0.2,0
e9d61eb5-fae8-4902-8fab-4828ffa8e6da,BE9558,2026-05-16T06:04:57,K558LL9Y.890W,Long,0.3802,0.3809,0.998,0.2,0 e9d61eb5-fae8-4902-8fab-4828ffa8e6da,BE9558,2026-05-16T06:04:57,K558LL9Y.890W,Long,0.3802,0.3809,0.998,0.2,0
c0e964e0-7788-4e41-bc41-6e479c3dc81b,BE9558,2026-05-16T06:07:51,K558LL9Y.D30W,Long,0.3954,0.4004,0.987,0.2,0 c0e964e0-7788-4e41-bc41-6e479c3dc81b,BE9558,2026-05-16T06:07:51,K558LL9Y.D30W,Long,0.3954,0.4004,0.987,0.2,0
0b2df8e5-1689-4fe6-abad-30970ba10aa6,BE9558,2026-05-16T06:16:06,K558LL9Y.QU0W,Long,0.4051,0.4053,1.000,0.2,0 0b2df8e5-1689-4fe6-abad-30970ba10aa6,BE9558,2026-05-16T06:16:06,K558LL9Y.QU0W,Long,0.4051,0.4053,1.000,0.2,0
2bc6ce73-464b-469c-9e8f-3bf6f6cfae1d,BE9558,2026-05-16T06:21:51,K558LL9Z.0F0W,Long,0.3910,0.3955,0.989,0.2,0 2bc6ce73-464b-469c-9e8f-3bf6f6cfae1d,BE9558,2026-05-16T06:21:51,K558LL9Z.0F0W,Long,0.3910,0.3955,0.989,0.2,0
b8603ee1-616a-451e-a2cd-61f8f2634cd0,BE9558,2026-05-16T06:24:44,K558LL9Z.580W,Long,0.3969,0.4004,0.991,0.2,0 b8603ee1-616a-451e-a2cd-61f8f2634cd0,BE9558,2026-05-16T06:24:44,K558LL9Z.580W,Long,0.3969,0.4004,0.991,0.2,0
1aecf582-66a2-4ebb-80f9-04b3aeba331a,BE9558,2026-05-16T06:27:39,K558LL9Z.A30W,Long,0.3915,0.3955,0.990,0.2,0 1aecf582-66a2-4ebb-80f9-04b3aeba331a,BE9558,2026-05-16T06:27:39,K558LL9Z.A30W,Long,0.3915,0.3955,0.990,0.2,0
885aedfd-7a1a-4120-8176-7c344dd3d8fe,BE9558,2026-05-16T06:30:30,K558LL9Z.EU0W,Long,0.4025,0.4053,0.993,0.2,0 885aedfd-7a1a-4120-8176-7c344dd3d8fe,BE9558,2026-05-16T06:30:30,K558LL9Z.EU0W,Long,0.4025,0.4053,0.993,0.2,0
ec15930f-47f5-4752-afc2-427ee156ac95,BE9558,2026-05-16T06:33:25,K558LL9Z.JP0W,Long,0.4060,0.4102,0.990,0.2,0 ec15930f-47f5-4752-afc2-427ee156ac95,BE9558,2026-05-16T06:33:25,K558LL9Z.JP0W,Long,0.4060,0.4102,0.990,0.2,0
5ca23f47-2a38-4a54-99dd-041287aa9510,BE9558,2026-05-16T06:36:17,K558LL9Z.OH0W,Long,0.4054,0.4102,0.988,0.2,0 5ca23f47-2a38-4a54-99dd-041287aa9510,BE9558,2026-05-16T06:36:17,K558LL9Z.OH0W,Long,0.4054,0.4102,0.988,0.2,0
03f371cf-81bc-4681-80f0-ef6fa437da85,BE9558,2026-05-16T06:39:09,K558LL9Z.T90W,Long,0.4052,0.4102,0.988,0.2,0 03f371cf-81bc-4681-80f0-ef6fa437da85,BE9558,2026-05-16T06:39:09,K558LL9Z.T90W,Long,0.4052,0.4102,0.988,0.2,0
ed386f54-140d-45e8-ad51-6585a58b4375,BE9558,2026-05-16T06:44:54,K558LLA0.2U0W,Long,0.3993,0.4004,0.997,0.2,0 ed386f54-140d-45e8-ad51-6585a58b4375,BE9558,2026-05-16T06:44:54,K558LLA0.2U0W,Long,0.3993,0.4004,0.997,0.2,0
579f1c3f-4c1e-42a3-aa89-69aa93514033,BE9558,2026-05-16T06:47:47,K558LLA0.7N0W,Long,0.4001,0.4053,0.987,0.2,0 579f1c3f-4c1e-42a3-aa89-69aa93514033,BE9558,2026-05-16T06:47:47,K558LLA0.7N0W,Long,0.4001,0.4053,0.987,0.2,0
57024de6-07ea-41f4-b916-c6adc3f51636,BE9558,2026-05-16T06:50:40,K558LLA0.CG0W,Long,0.4103,0.4150,0.989,0.2,0 57024de6-07ea-41f4-b916-c6adc3f51636,BE9558,2026-05-16T06:50:40,K558LLA0.CG0W,Long,0.4103,0.4150,0.989,0.2,0
36bf5adf-afb5-4a5e-a106-1afbd1f56c7b,BE9558,2026-05-16T06:54:49,K558LLA0.JD0W,Long,0.4069,0.4150,0.980,0.2,0 36bf5adf-afb5-4a5e-a106-1afbd1f56c7b,BE9558,2026-05-16T06:54:49,K558LLA0.JD0W,Long,0.4069,0.4150,0.980,0.2,0
3e2f831b-5228-46ff-9acb-75d8c86f8bc1,BE9558,2026-05-16T06:57:43,K558LLA0.O70W,Long,0.4108,0.4150,0.990,0.2,0 3e2f831b-5228-46ff-9acb-75d8c86f8bc1,BE9558,2026-05-16T06:57:43,K558LLA0.O70W,Long,0.4108,0.4150,0.990,0.2,0
1775fa20-568b-4294-b9ca-561201a66c5b,BE9558,2026-05-16T07:00:38,K558LLA0.T20W,Long,0.3967,0.4004,0.991,0.2,0 1775fa20-568b-4294-b9ca-561201a66c5b,BE9558,2026-05-16T07:00:38,K558LLA0.T20W,Long,0.3967,0.4004,0.991,0.2,0
fd391469-03f9-4d8d-bccd-3af50c91e5b7,BE9558,2026-05-16T07:03:33,K558LLA0.XX0W,Long,0.3927,0.3955,0.993,0.2,0 fd391469-03f9-4d8d-bccd-3af50c91e5b7,BE9558,2026-05-16T07:03:33,K558LLA0.XX0W,Long,0.3927,0.3955,0.993,0.2,0
02b52ef6-b707-4dcb-b58f-43da02698832,BE9558,2026-05-16T07:06:27,K558LLA1.2R0W,Long,0.3824,0.3857,0.991,0.2,0 02b52ef6-b707-4dcb-b58f-43da02698832,BE9558,2026-05-16T07:06:27,K558LLA1.2R0W,Long,0.3824,0.3857,0.991,0.2,0
8d45333f-e101-4249-9e27-913c583a0a8d,BE9558,2026-05-16T07:09:21,K558LLA1.7L0W,Long,0.4085,0.4150,0.984,0.2,0 8d45333f-e101-4249-9e27-913c583a0a8d,BE9558,2026-05-16T07:09:21,K558LLA1.7L0W,Long,0.4085,0.4150,0.984,0.2,0
361d11ce-f42a-4d04-8270-ee3771fe4f09,BE9558,2026-05-16T07:12:14,K558LLA1.CE0W,Long,0.4017,0.4053,0.991,0.2,0 361d11ce-f42a-4d04-8270-ee3771fe4f09,BE9558,2026-05-16T07:12:14,K558LLA1.CE0W,Long,0.4017,0.4053,0.991,0.2,0
59218125-ed5d-4457-aa8b-35ba03441363,BE9558,2026-05-16T07:15:07,K558LLA1.H70W,Long,0.3934,0.3955,0.995,0.2,0 59218125-ed5d-4457-aa8b-35ba03441363,BE9558,2026-05-16T07:15:07,K558LLA1.H70W,Long,0.3934,0.3955,0.995,0.2,0
a603e55a-2ad6-4fc9-8c8c-0dc7be95c3e7,BE9558,2026-05-16T07:23:43,K558LLA1.VJ0W,Long,0.3806,0.3857,0.987,0.2,0 a603e55a-2ad6-4fc9-8c8c-0dc7be95c3e7,BE9558,2026-05-16T07:23:43,K558LLA1.VJ0W,Long,0.3806,0.3857,0.987,0.2,0
c8d07902-93ea-4b03-9e69-9ad6ed5bffb1,BE9558,2026-05-16T07:26:36,K558LLA2.0C0W,Long,0.3807,0.3857,0.987,0.2,0 c8d07902-93ea-4b03-9e69-9ad6ed5bffb1,BE9558,2026-05-16T07:26:36,K558LLA2.0C0W,Long,0.3807,0.3857,0.987,0.2,0
4c46c0c7-42f0-4648-827e-1995f733b18f,BE9558,2026-05-16T07:30:44,K558LLA2.780W,Long,0.3667,0.3711,0.988,0.2,0 4c46c0c7-42f0-4648-827e-1995f733b18f,BE9558,2026-05-16T07:30:44,K558LLA2.780W,Long,0.3667,0.3711,0.988,0.2,0
04759a00-ba3e-4959-a4cb-be8fc1f3004e,BE9558,2026-05-16T07:36:28,K558LLA2.GS0W,Long,0.3514,0.3516,1.000,0.2,0 04759a00-ba3e-4959-a4cb-be8fc1f3004e,BE9558,2026-05-16T07:36:28,K558LLA2.GS0W,Long,0.3514,0.3516,1.000,0.2,0
0b6b0856-bd87-4a07-a5b4-f13d99e04a12,BE9558,2026-05-16T07:39:20,K558LLA2.LK0W,Long,0.3512,0.3516,0.999,0.2,0 0b6b0856-bd87-4a07-a5b4-f13d99e04a12,BE9558,2026-05-16T07:39:20,K558LLA2.LK0W,Long,0.3512,0.3516,0.999,0.2,0
3d81a8bd-464d-4050-8a76-25e8373d1ddb,BE9558,2026-05-16T07:42:12,K558LLA2.QC0W,Long,0.3350,0.3369,0.994,0.2,0 3d81a8bd-464d-4050-8a76-25e8373d1ddb,BE9558,2026-05-16T07:42:12,K558LLA2.QC0W,Long,0.3350,0.3369,0.994,0.2,0
b8b9c0c4-c388-4acb-955a-be4ac356afce,BE9558,2026-05-16T07:45:04,K558LLA2.V40W,Long,0.3563,0.3564,1.000,0.2,0 b8b9c0c4-c388-4acb-955a-be4ac356afce,BE9558,2026-05-16T07:45:04,K558LLA2.V40W,Long,0.3563,0.3564,1.000,0.2,0
cb3d142a-fb84-4a21-a298-f61bb869b036,BE9558,2026-05-16T07:49:13,K558LLA3.210W,Long,0.3663,0.3711,0.987,0.2,0 cb3d142a-fb84-4a21-a298-f61bb869b036,BE9558,2026-05-16T07:49:13,K558LLA3.210W,Long,0.3663,0.3711,0.987,0.2,0
7401b19b-bc9d-43f0-b395-f4323aca5c72,BE9558,2026-05-16T07:52:06,K558LLA3.6U0W,Long,0.3612,0.3662,0.986,0.2,0 7401b19b-bc9d-43f0-b395-f4323aca5c72,BE9558,2026-05-16T07:52:06,K558LLA3.6U0W,Long,0.3612,0.3662,0.986,0.2,0
2236df76-a9e6-401f-9176-ad565242f2cf,BE9558,2026-05-16T07:57:52,K558LLA3.GG0W,Long,0.3366,0.3369,0.999,0.2,0 2236df76-a9e6-401f-9176-ad565242f2cf,BE9558,2026-05-16T07:57:52,K558LLA3.GG0W,Long,0.3366,0.3369,0.999,0.2,0
a645846c-cae4-4aa5-a2e6-85166bd4dd62,BE9558,2026-05-16T08:00:44,K558LLA3.L80W,Long,0.3265,0.3271,0.998,0.2,0 a645846c-cae4-4aa5-a2e6-85166bd4dd62,BE9558,2026-05-16T08:00:44,K558LLA3.L80W,Long,0.3265,0.3271,0.998,0.2,0
7212bd33-99a9-4659-9f0b-c98cc8d1e8bc,BE9558,2026-05-16T08:04:51,K558LLA3.S30W,Long,0.3418,0.3467,0.986,0.2,0 7212bd33-99a9-4659-9f0b-c98cc8d1e8bc,BE9558,2026-05-16T08:04:51,K558LLA3.S30W,Long,0.3418,0.3467,0.986,0.2,0
2cc4bf33-c63a-4c65-b0e2-5e61a9146a5d,BE9558,2026-05-16T08:07:43,K558LLA3.WV0W,Long,0.3405,0.3418,0.996,0.2,0 2cc4bf33-c63a-4c65-b0e2-5e61a9146a5d,BE9558,2026-05-16T08:07:43,K558LLA3.WV0W,Long,0.3405,0.3418,0.996,0.2,0
4fedb486-5f1f-4623-a01f-083e829f0565,BE9558,2026-05-16T08:10:35,K558LLA4.1N0W,Long,0.3515,0.3564,0.986,0.2,0 4fedb486-5f1f-4623-a01f-083e829f0565,BE9558,2026-05-16T08:10:35,K558LLA4.1N0W,Long,0.3515,0.3564,0.986,0.2,0
58aff0ba-0f9b-45e1-9bbe-a990d16192ae,BE9558,2026-05-16T08:13:27,K558LLA4.6F0W,Long,0.3513,0.3516,0.999,0.2,0 58aff0ba-0f9b-45e1-9bbe-a990d16192ae,BE9558,2026-05-16T08:13:27,K558LLA4.6F0W,Long,0.3513,0.3516,0.999,0.2,0
e56d87e5-e1d4-4947-b6a5-3bbd2773c54a,BE9558,2026-05-16T08:20:03,K558LLA4.HF0W,Long,0.3564,0.3613,0.986,0.2,0 e56d87e5-e1d4-4947-b6a5-3bbd2773c54a,BE9558,2026-05-16T08:20:03,K558LLA4.HF0W,Long,0.3564,0.3613,0.986,0.2,0
0e96e61e-6a21-4e07-8e09-72d09dbfa1e6,BE9558,2026-05-16T08:25:21,K558LLA4.Q90W,Long,0.3565,0.3613,0.987,0.2,0 0e96e61e-6a21-4e07-8e09-72d09dbfa1e6,BE9558,2026-05-16T08:25:21,K558LLA4.Q90W,Long,0.3565,0.3613,0.987,0.2,0
19611f28-2da8-4362-a58e-dbed2e061379,BE9558,2026-05-16T08:34:19,K558LLA5.570W,Long,0.3647,0.3662,0.996,0.2,0 19611f28-2da8-4362-a58e-dbed2e061379,BE9558,2026-05-16T08:34:19,K558LLA5.570W,Long,0.3647,0.3662,0.996,0.2,0
bd580c1d-44d4-41fd-9f83-f462cda4099a,BE9558,2026-05-16T08:37:15,K558LLA5.A30W,Long,0.3536,0.3564,0.992,0.2,0 bd580c1d-44d4-41fd-9f83-f462cda4099a,BE9558,2026-05-16T08:37:15,K558LLA5.A30W,Long,0.3536,0.3564,0.992,0.2,0
2782df3b-3cb4-471a-a6f5-bbc4903a8ab9,BE9558,2026-05-16T08:44:00,K558LLA5.LC0W,Long,0.3612,0.3662,0.986,0.2,0 2782df3b-3cb4-471a-a6f5-bbc4903a8ab9,BE9558,2026-05-16T08:44:00,K558LLA5.LC0W,Long,0.3612,0.3662,0.986,0.2,0
d15a08f3-1c7c-4f80-8d9b-f5008c58c3d9,BE9558,2026-05-16T08:49:18,K558LLA5.U60W,Long,0.3610,0.3613,0.999,0.2,0 d15a08f3-1c7c-4f80-8d9b-f5008c58c3d9,BE9558,2026-05-16T08:49:18,K558LLA5.U60W,Long,0.3610,0.3613,0.999,0.2,0
03a10a6a-193a-476c-9543-f63818f69417,BE9558,2026-05-16T08:54:36,K558LLA6.300W,Long,0.3515,0.3516,1.000,0.2,0 03a10a6a-193a-476c-9543-f63818f69417,BE9558,2026-05-16T08:54:36,K558LLA6.300W,Long,0.3515,0.3516,1.000,0.2,0
1c271856-8100-4c0d-bc8c-9357b47d7626,BE9558,2026-05-16T08:59:54,K558LLA6.BU0W,Long,0.3617,0.3662,0.988,0.2,0 1c271856-8100-4c0d-bc8c-9357b47d7626,BE9558,2026-05-16T08:59:54,K558LLA6.BU0W,Long,0.3617,0.3662,0.988,0.2,0
a85f125e-bfa2-42be-b877-2604b8d068c8,BE9558,2026-05-16T09:05:17,K558LLA6.KT0W,Long,0.3510,0.3516,0.998,0.2,0 a85f125e-bfa2-42be-b877-2604b8d068c8,BE9558,2026-05-16T09:05:17,K558LLA6.KT0W,Long,0.3510,0.3516,0.998,0.2,0
dde9aa71-d2e3-41ac-8388-f2bbddb6dae6,BE9558,2026-05-16T09:08:11,K558LLA6.PN0W,Long,0.3447,0.3467,0.994,0.2,0 dde9aa71-d2e3-41ac-8388-f2bbddb6dae6,BE9558,2026-05-16T09:08:11,K558LLA6.PN0W,Long,0.3447,0.3467,0.994,0.2,0
2f3f2be2-0ee3-422e-b3ad-83fb87512a2b,BE9558,2026-05-16T09:14:39,K558LLA7.0F0W,Long,0.3580,0.3613,0.991,0.2,0 2f3f2be2-0ee3-422e-b3ad-83fb87512a2b,BE9558,2026-05-16T09:14:39,K558LLA7.0F0W,Long,0.3580,0.3613,0.991,0.2,0
357a3034-8a9c-485e-8cb6-f526dd2baf6f,BE9558,2026-05-16T09:29:11,K558LLA7.ON0W,Long,0.3708,0.3760,0.986,0.2,0 357a3034-8a9c-485e-8cb6-f526dd2baf6f,BE9558,2026-05-16T09:29:11,K558LLA7.ON0W,Long,0.3708,0.3760,0.986,0.2,0
f8ad0274-8e6f-4714-82ff-d229e60f1442,BE9558,2026-05-16T09:32:06,K558LLA7.TI0W,Long,0.3567,0.3613,0.987,0.2,0 f8ad0274-8e6f-4714-82ff-d229e60f1442,BE9558,2026-05-16T09:32:06,K558LLA7.TI0W,Long,0.3567,0.3613,0.987,0.2,0
42bb007a-2726-401a-b085-c25151b0dc24,BE9558,2026-05-16T09:35:02,K558LLA7.YE0W,Long,0.3575,0.3613,0.989,0.2,0 42bb007a-2726-401a-b085-c25151b0dc24,BE9558,2026-05-16T09:35:02,K558LLA7.YE0W,Long,0.3575,0.3613,0.989,0.2,0
c99bfc4a-db02-4bea-bea4-943c67485dba,BE9558,2026-05-16T09:37:58,K558LLA8.3A0W,Long,0.3527,0.3564,0.989,0.2,0 c99bfc4a-db02-4bea-bea4-943c67485dba,BE9558,2026-05-16T09:37:58,K558LLA8.3A0W,Long,0.3527,0.3564,0.989,0.2,0
8fc17de0-73f7-48bd-8d93-5451dce47e8e,BE9558,2026-05-16T09:40:52,K558LLA8.840W,Long,0.3613,0.3662,0.987,0.2,0 8fc17de0-73f7-48bd-8d93-5451dce47e8e,BE9558,2026-05-16T09:40:52,K558LLA8.840W,Long,0.3613,0.3662,0.987,0.2,0
bbee5276-03dd-4ca4-a7b9-aec02baac7e8,BE9558,2026-05-16T09:48:13,K558LLA8.KD0W,Long,0.3590,0.3613,0.993,0.2,0 bbee5276-03dd-4ca4-a7b9-aec02baac7e8,BE9558,2026-05-16T09:48:13,K558LLA8.KD0W,Long,0.3590,0.3613,0.993,0.2,0
8dcdee10-db01-4224-9506-4181c3105d6f,BE9558,2026-05-16T09:53:31,K558LLA8.T70W,Long,0.3588,0.3613,0.993,0.2,0 8dcdee10-db01-4224-9506-4181c3105d6f,BE9558,2026-05-16T09:53:31,K558LLA8.T70W,Long,0.3588,0.3613,0.993,0.2,0
48c8be72-64d9-4da3-95b5-bbec2c5e1dbd,BE9558,2026-05-16T09:58:49,K558LLA9.210W,Long,0.3582,0.3662,0.978,0.2,0 48c8be72-64d9-4da3-95b5-bbec2c5e1dbd,BE9558,2026-05-16T09:58:49,K558LLA9.210W,Long,0.3582,0.3662,0.978,0.2,0
0da20919-7ce9-4feb-8ae9-12d9bb40c2b5,BE9558,2026-05-16T10:04:07,K558LLA9.AV0W,Long,0.3506,0.3516,0.997,0.2,0 0da20919-7ce9-4feb-8ae9-12d9bb40c2b5,BE9558,2026-05-16T10:04:07,K558LLA9.AV0W,Long,0.3506,0.3516,0.997,0.2,0
c2f7e9bc-8b93-42c3-96d3-e3af217dde35,BE9558,2026-05-16T10:09:25,K558LLA9.JP0W,Long,0.3506,0.3516,0.997,0.2,0 c2f7e9bc-8b93-42c3-96d3-e3af217dde35,BE9558,2026-05-16T10:09:25,K558LLA9.JP0W,Long,0.3506,0.3516,0.997,0.2,0
522a0e42-d443-4447-bc71-af1832c6604e,BE9558,2026-05-16T10:14:43,K558LLA9.SJ0W,Long,0.3624,0.3662,0.990,0.2,0 522a0e42-d443-4447-bc71-af1832c6604e,BE9558,2026-05-16T10:14:43,K558LLA9.SJ0W,Long,0.3624,0.3662,0.990,0.2,0
67f7e732-3c0b-439f-87c5-3c478a381418,BE9558,2026-05-16T10:20:01,K558LLAA.1D0W,Long,0.3494,0.3516,0.994,0.2,0 67f7e732-3c0b-439f-87c5-3c478a381418,BE9558,2026-05-16T10:20:01,K558LLAA.1D0W,Long,0.3494,0.3516,0.994,0.2,0
251767e8-56f7-4091-a001-364d8e75c15c,BE9558,2026-05-16T10:25:19,K558LLAA.A70W,Long,0.3463,0.3516,0.985,0.2,0 251767e8-56f7-4091-a001-364d8e75c15c,BE9558,2026-05-16T10:25:19,K558LLAA.A70W,Long,0.3463,0.3516,0.985,0.2,0
9457239d-a4ca-4476-b385-5e01fc8f6420,BE9558,2026-05-16T10:30:37,K558LLAA.J10W,Long,0.3436,0.3467,0.991,0.2,0 9457239d-a4ca-4476-b385-5e01fc8f6420,BE9558,2026-05-16T10:30:37,K558LLAA.J10W,Long,0.3436,0.3467,0.991,0.2,0
43718d7c-9353-49e1-89b6-0841aeb1b276,BE9558,2026-05-16T10:35:55,K558LLAA.RV0W,Long,0.3452,0.3516,0.982,0.2,0 43718d7c-9353-49e1-89b6-0841aeb1b276,BE9558,2026-05-16T10:35:55,K558LLAA.RV0W,Long,0.3452,0.3516,0.982,0.2,0
f54ba557-ddfe-41d3-8f4c-8bbec9a3783c,BE9558,2026-05-16T10:41:13,K558LLAB.0P0W,Long,0.3419,0.3467,0.986,0.2,0 f54ba557-ddfe-41d3-8f4c-8bbec9a3783c,BE9558,2026-05-16T10:41:13,K558LLAB.0P0W,Long,0.3419,0.3467,0.986,0.2,0
dc26c758-ad99-49c1-b518-931368cdf8cf,BE9558,2026-05-16T10:46:31,K558LLAB.9J0W,Long,0.3463,0.3516,0.985,0.2,0 dc26c758-ad99-49c1-b518-931368cdf8cf,BE9558,2026-05-16T10:46:31,K558LLAB.9J0W,Long,0.3463,0.3516,0.985,0.2,0
10917eb2-d151-461c-a8cb-e9660da5a5b0,BE9558,2026-05-16T10:51:49,K558LLAB.ID0W,Long,0.3520,0.3564,0.987,0.2,0 10917eb2-d151-461c-a8cb-e9660da5a5b0,BE9558,2026-05-16T10:51:49,K558LLAB.ID0W,Long,0.3520,0.3564,0.987,0.2,0
4938a5e6-d53b-40ee-be2b-06ec0e60398c,BE9558,2026-05-16T10:57:07,K558LLAB.R70W,Long,0.3541,0.3564,0.993,0.2,0 4938a5e6-d53b-40ee-be2b-06ec0e60398c,BE9558,2026-05-16T10:57:07,K558LLAB.R70W,Long,0.3541,0.3564,0.993,0.2,0
0711b51d-55bd-48be-b51e-2aad67107a60,BE9558,2026-05-16T11:13:01,K558LLAC.HP0W,Long,0.3661,0.3711,0.986,0.2,0 0711b51d-55bd-48be-b51e-2aad67107a60,BE9558,2026-05-16T11:13:01,K558LLAC.HP0W,Long,0.3661,0.3711,0.986,0.2,0
065564b6-aa49-40e7-9ea6-c75defdc60fe,BE9558,2026-05-16T11:18:19,K558LLAC.QJ0W,Long,0.3622,0.3662,0.989,0.2,0 065564b6-aa49-40e7-9ea6-c75defdc60fe,BE9558,2026-05-16T11:18:19,K558LLAC.QJ0W,Long,0.3622,0.3662,0.989,0.2,0
ffb6b230-1d70-4e0e-ba30-e945339a122a,BE9558,2026-05-16T11:23:37,K558LLAC.ZD0W,Long,0.3711,0.3760,0.987,0.2,0 ffb6b230-1d70-4e0e-ba30-e945339a122a,BE9558,2026-05-16T11:23:37,K558LLAC.ZD0W,Long,0.3711,0.3760,0.987,0.2,0
52b4da82-c1e0-4a8a-8365-51b090787005,BE9558,2026-05-16T11:28:55,K558LLAD.870W,Long,0.3644,0.3662,0.995,0.2,0 52b4da82-c1e0-4a8a-8365-51b090787005,BE9558,2026-05-16T11:28:55,K558LLAD.870W,Long,0.3644,0.3662,0.995,0.2,0
cdbff3d8-fbfe-4bea-8bd6-c898800e81ba,BE9558,2026-05-16T11:39:31,K558LLAD.PV0W,Long,0.3609,0.3662,0.986,0.2,0 cdbff3d8-fbfe-4bea-8bd6-c898800e81ba,BE9558,2026-05-16T11:39:31,K558LLAD.PV0W,Long,0.3609,0.3662,0.986,0.2,0
3fb0bc30-1463-4cfc-9e7f-386c0eb2a34a,BE9558,2026-05-16T11:44:49,K558LLAD.YP0W,Long,0.3553,0.3564,0.997,0.2,0 3fb0bc30-1463-4cfc-9e7f-386c0eb2a34a,BE9558,2026-05-16T11:44:49,K558LLAD.YP0W,Long,0.3553,0.3564,0.997,0.2,0
ba1f5ec8-aef7-4a9e-ac1f-276cf016e285,BE9558,2026-05-16T11:50:07,K558LLAE.7J0W,Long,0.3479,0.3516,0.990,0.2,0 ba1f5ec8-aef7-4a9e-ac1f-276cf016e285,BE9558,2026-05-16T11:50:07,K558LLAE.7J0W,Long,0.3479,0.3516,0.990,0.2,0
b1dd4df7-34a9-4512-a903-f8242b236fd2,BE9558,2026-05-16T11:55:25,K558LLAE.GD0W,Long,0.3427,0.3467,0.988,0.2,0 b1dd4df7-34a9-4512-a903-f8242b236fd2,BE9558,2026-05-16T11:55:25,K558LLAE.GD0W,Long,0.3427,0.3467,0.988,0.2,0
1f23aa28-c026-4bc7-b3d1-7c78fd76a673,BE9558,2026-05-16T12:00:43,K558LLAE.P70W,Long,0.3454,0.3467,0.996,0.2,0 1f23aa28-c026-4bc7-b3d1-7c78fd76a673,BE9558,2026-05-16T12:00:43,K558LLAE.P70W,Long,0.3454,0.3467,0.996,0.2,0
0d91f54d-b20d-4a50-b7dd-d071c39a0690,BE9558,2026-05-16T12:06:01,K558LLAE.Y10W,Long,0.3431,0.3467,0.990,0.2,0 0d91f54d-b20d-4a50-b7dd-d071c39a0690,BE9558,2026-05-16T12:06:01,K558LLAE.Y10W,Long,0.3431,0.3467,0.990,0.2,0
12ccdecd-5fd9-4465-9813-3d6006ec32f3,BE9558,2026-05-16T12:11:19,K558LLAF.6V0W,Long,0.3433,0.3467,0.990,0.2,0 12ccdecd-5fd9-4465-9813-3d6006ec32f3,BE9558,2026-05-16T12:11:19,K558LLAF.6V0W,Long,0.3433,0.3467,0.990,0.2,0
a7024f1a-f071-48ab-820f-99bdf87366b5,BE9558,2026-05-16T12:16:37,K558LLAF.FP0W,Long,0.3361,0.3369,0.998,0.2,0 a7024f1a-f071-48ab-820f-99bdf87366b5,BE9558,2026-05-16T12:16:37,K558LLAF.FP0W,Long,0.3361,0.3369,0.998,0.2,0
de0fa439-30b8-4607-a3c3-7e17191e4624,BE9558,2026-05-16T12:21:55,K558LLAF.OJ0W,Long,0.3274,0.3320,0.986,0.2,0 de0fa439-30b8-4607-a3c3-7e17191e4624,BE9558,2026-05-16T12:21:55,K558LLAF.OJ0W,Long,0.3274,0.3320,0.986,0.2,0
f9374ec3-05e5-477f-8e1a-0c862fed2a50,BE9558,2026-05-16T12:27:13,K558LLAF.XD0W,Long,0.3449,0.3467,0.995,0.2,0 f9374ec3-05e5-477f-8e1a-0c862fed2a50,BE9558,2026-05-16T12:27:13,K558LLAF.XD0W,Long,0.3449,0.3467,0.995,0.2,0
424cb275-3743-4174-95f0-0ca1205b374c,BE9558,2026-05-16T12:32:31,K558LLAG.670W,Long,0.3370,0.3418,0.986,0.2,0 424cb275-3743-4174-95f0-0ca1205b374c,BE9558,2026-05-16T12:32:31,K558LLAG.670W,Long,0.3370,0.3418,0.986,0.2,0
9accde13-cefa-41b8-bd0a-cef2ffed59b0,BE9558,2026-05-16T12:37:49,K558LLAG.F10W,Long,0.3465,0.3467,0.999,0.2,0 9accde13-cefa-41b8-bd0a-cef2ffed59b0,BE9558,2026-05-16T12:37:49,K558LLAG.F10W,Long,0.3465,0.3467,0.999,0.2,0
4665be38-1956-4b14-b931-068ba9af5c5e,BE9558,2026-05-16T12:48:25,K558LLAG.WP0W,Long,0.3453,0.3516,0.982,0.2,0 4665be38-1956-4b14-b931-068ba9af5c5e,BE9558,2026-05-16T12:48:25,K558LLAG.WP0W,Long,0.3453,0.3516,0.982,0.2,0
1aedf624-1a99-43e1-a8f2-f9d358b97f61,BE9558,2026-05-16T12:53:43,K558LLAH.5J0W,Long,0.3366,0.3418,0.985,0.2,0 1aedf624-1a99-43e1-a8f2-f9d358b97f61,BE9558,2026-05-16T12:53:43,K558LLAH.5J0W,Long,0.3366,0.3418,0.985,0.2,0
c15e1799-91d7-425e-ad17-2ba3d170d81e,BE9558,2026-05-16T13:04:19,K558LLAH.N70W,Long,0.3348,0.3369,0.994,0.2,0 c15e1799-91d7-425e-ad17-2ba3d170d81e,BE9558,2026-05-16T13:04:19,K558LLAH.N70W,Long,0.3348,0.3369,0.994,0.2,0
72d4c4ea-19ca-4cc6-9b04-7a2b70122c67,BE9558,2026-05-16T13:09:37,K558LLAH.W10W,Long,0.3272,0.3320,0.986,0.2,0 72d4c4ea-19ca-4cc6-9b04-7a2b70122c67,BE9558,2026-05-16T13:09:37,K558LLAH.W10W,Long,0.3272,0.3320,0.986,0.2,0
b4ebf2c9-1f6d-4594-9810-40479e87c0a5,BE9558,2026-05-16T13:14:55,K558LLAI.4V0W,Long,0.3297,0.3320,0.993,0.2,0 b4ebf2c9-1f6d-4594-9810-40479e87c0a5,BE9558,2026-05-16T13:14:55,K558LLAI.4V0W,Long,0.3297,0.3320,0.993,0.2,0
bb297e9e-548f-4dae-8b1a-0f161af2e766,BE9558,2026-05-16T13:20:13,K558LLAI.DP0W,Long,0.3272,0.3320,0.986,0.2,0 bb297e9e-548f-4dae-8b1a-0f161af2e766,BE9558,2026-05-16T13:20:13,K558LLAI.DP0W,Long,0.3272,0.3320,0.986,0.2,0
87562c24-63db-48bd-9962-72a20a40f2ff,BE9558,2026-05-16T13:36:07,K558LLAJ.470W,Long,0.3174,0.3223,0.985,0.2,0 87562c24-63db-48bd-9962-72a20a40f2ff,BE9558,2026-05-16T13:36:07,K558LLAJ.470W,Long,0.3174,0.3223,0.985,0.2,0
01e9cc58-3bea-4f38-8499-a2c20e5f8550,BE9558,2026-05-16T13:46:52,K558LLAJ.M40W,Long,0.2880,0.2930,0.983,0.2,0 01e9cc58-3bea-4f38-8499-a2c20e5f8550,BE9558,2026-05-16T13:46:52,K558LLAJ.M40W,Long,0.2880,0.2930,0.983,0.2,0
5ae7503d-ae17-4063-9208-6a420699e1ab,BE9558,2026-05-16T14:00:35,K558LLAK.8Z0W,Long,0.2879,0.2930,0.983,0.2,0 5ae7503d-ae17-4063-9208-6a420699e1ab,BE9558,2026-05-16T14:00:35,K558LLAK.8Z0W,Long,0.2879,0.2930,0.983,0.2,0
e009ea3c-1534-4154-8623-e180ed4db9fb,BE9558,2026-05-16T14:06:19,K558LLAK.IJ0W,Long,0.2882,0.2930,0.984,0.2,0 e009ea3c-1534-4154-8623-e180ed4db9fb,BE9558,2026-05-16T14:06:19,K558LLAK.IJ0W,Long,0.2882,0.2930,0.984,0.2,0
cd4e21f5-512b-4b2b-8054-bec01aa06400,BE9558,2026-05-16T14:12:03,K558LLAK.S30W,Long,0.2857,0.2930,0.975,0.2,0 cd4e21f5-512b-4b2b-8054-bec01aa06400,BE9558,2026-05-16T14:12:03,K558LLAK.S30W,Long,0.2857,0.2930,0.975,0.2,0
ae5b780f-2038-4ccf-8bfc-b15b87be139e,BE9558,2026-05-16T14:17:22,K558LLAL.0Y0W,Long,0.2899,0.2930,0.989,0.2,0 ae5b780f-2038-4ccf-8bfc-b15b87be139e,BE9558,2026-05-16T14:17:22,K558LLAL.0Y0W,Long,0.2899,0.2930,0.989,0.2,0
d8c3fb81-8c66-4ebc-b33a-0559bc03334b,BE9558,2026-05-16T14:22:40,K558LLAL.9S0W,Long,0.3009,0.3027,0.994,0.2,0 d8c3fb81-8c66-4ebc-b33a-0559bc03334b,BE9558,2026-05-16T14:22:40,K558LLAL.9S0W,Long,0.3009,0.3027,0.994,0.2,0
990a4c7a-3c51-4d4a-8ab7-416ccb97d29c,BE9558,2026-05-16T14:27:58,K558LLAL.IM0W,Long,0.3057,0.3076,0.994,0.2,0 990a4c7a-3c51-4d4a-8ab7-416ccb97d29c,BE9558,2026-05-16T14:27:58,K558LLAL.IM0W,Long,0.3057,0.3076,0.994,0.2,0
68d7a2c3-d899-4e75-96fb-3bf16ae6ea6f,BE9558,2026-05-16T14:33:16,K558LLAL.RG0W,Long,0.3110,0.3125,0.995,0.2,0 68d7a2c3-d899-4e75-96fb-3bf16ae6ea6f,BE9558,2026-05-16T14:33:16,K558LLAL.RG0W,Long,0.3110,0.3125,0.995,0.2,0
73505b8c-f912-4116-b903-a8a4c75524d3,BE9558,2026-05-16T14:38:34,K558LLAM.0A0W,Long,0.3172,0.3223,0.984,0.2,0 73505b8c-f912-4116-b903-a8a4c75524d3,BE9558,2026-05-16T14:38:34,K558LLAM.0A0W,Long,0.3172,0.3223,0.984,0.2,0
8d3c9602-7efa-488a-801b-3228bd85ab14,BE9558,2026-05-16T14:43:51,K558LLAM.930W,Long,0.3136,0.3174,0.988,0.2,0 8d3c9602-7efa-488a-801b-3228bd85ab14,BE9558,2026-05-16T14:43:51,K558LLAM.930W,Long,0.3136,0.3174,0.988,0.2,0
243e16ee-860a-4960-bc15-b797ad7e9735,BE9558,2026-05-16T14:49:08,K558LLAM.HW0W,Long,0.3135,0.3174,0.988,0.2,0 243e16ee-860a-4960-bc15-b797ad7e9735,BE9558,2026-05-16T14:49:08,K558LLAM.HW0W,Long,0.3135,0.3174,0.988,0.2,0
e90c8d90-6d41-4788-9ee6-a29e4bfcc16b,BE9558,2026-05-16T15:19:35,K558LLAN.WN0W,Long,0.3132,0.3174,0.987,0.2,0 e90c8d90-6d41-4788-9ee6-a29e4bfcc16b,BE9558,2026-05-16T15:19:35,K558LLAN.WN0W,Long,0.3132,0.3174,0.987,0.2,0
4182b0e7-7811-46b8-87d1-a4dd0c152f3b,BE9558,2026-05-16T15:28:45,K558LLAO.BX0W,Long,0.3023,0.3076,0.983,0.2,0 4182b0e7-7811-46b8-87d1-a4dd0c152f3b,BE9558,2026-05-16T15:28:45,K558LLAO.BX0W,Long,0.3023,0.3076,0.983,0.2,0
28a790da-0e48-4fe4-b8ba-2c82cc6bfa79,BE9558,2026-05-16T15:34:02,K558LLAO.KQ0W,Long,0.3176,0.3223,0.985,0.2,0 28a790da-0e48-4fe4-b8ba-2c82cc6bfa79,BE9558,2026-05-16T15:34:02,K558LLAO.KQ0W,Long,0.3176,0.3223,0.985,0.2,0
093d2fa3-7a4b-4f0f-abda-71155ebe2dfb,BE9558,2026-05-16T15:39:19,K558LLAO.TJ0W,Long,0.3223,0.3271,0.985,0.2,0 093d2fa3-7a4b-4f0f-abda-71155ebe2dfb,BE9558,2026-05-16T15:39:19,K558LLAO.TJ0W,Long,0.3223,0.3271,0.985,0.2,0
68dc9560-4082-49b6-af04-9244773ffbc1,BE9558,2026-05-16T15:44:36,K558LLAP.2C0W,Long,0.3227,0.3271,0.986,0.2,0 68dc9560-4082-49b6-af04-9244773ffbc1,BE9558,2026-05-16T15:44:36,K558LLAP.2C0W,Long,0.3227,0.3271,0.986,0.2,0
ad6b268a-165d-4b1d-b0b3-f58db7c9b0e4,BE9558,2026-05-16T15:49:53,K558LLAP.B50W,Long,0.3177,0.3223,0.986,0.2,0 ad6b268a-165d-4b1d-b0b3-f58db7c9b0e4,BE9558,2026-05-16T15:49:53,K558LLAP.B50W,Long,0.3177,0.3223,0.986,0.2,0
046c5cb4-56b3-48c0-83c2-bf1f30837940,BE9558,2026-05-16T15:55:10,K558LLAP.JY0W,Long,0.3174,0.3223,0.985,0.2,0 046c5cb4-56b3-48c0-83c2-bf1f30837940,BE9558,2026-05-16T15:55:10,K558LLAP.JY0W,Long,0.3174,0.3223,0.985,0.2,0
1b76edf4-3b1c-4bcb-a73c-27334981c350,BE9558,2026-05-16T16:00:27,K558LLAP.SR0W,Long,0.3127,0.3174,0.985,0.2,0 1b76edf4-3b1c-4bcb-a73c-27334981c350,BE9558,2026-05-16T16:00:27,K558LLAP.SR0W,Long,0.3127,0.3174,0.985,0.2,0
a0264171-a682-4396-ad8a-cda3b2964533,BE9558,2026-05-16T16:06:55,K558LLAQ.3J0W,Long,0.2885,0.2930,0.985,0.2,0 a0264171-a682-4396-ad8a-cda3b2964533,BE9558,2026-05-16T16:06:55,K558LLAQ.3J0W,Long,0.2885,0.2930,0.985,0.2,0
707da1f6-ee81-4e57-abd5-98295c14651b,BE9558,2026-05-16T16:12:30,K558LLAQ.CU0W,Long,0.2880,0.2930,0.983,0.2,0 707da1f6-ee81-4e57-abd5-98295c14651b,BE9558,2026-05-16T16:12:30,K558LLAQ.CU0W,Long,0.2880,0.2930,0.983,0.2,0
b8115b64-8739-42c8-b541-713ab6b68bcd,BE9558,2026-05-16T16:17:53,K558LLAQ.LT0W,Long,0.2881,0.2930,0.983,0.2,0 b8115b64-8739-42c8-b541-713ab6b68bcd,BE9558,2026-05-16T16:17:53,K558LLAQ.LT0W,Long,0.2881,0.2930,0.983,0.2,0
fb179c36-fef1-4df6-b0a0-2bd7792ea910,BE9558,2026-05-16T16:23:11,K558LLAQ.UN0W,Long,0.2933,0.2979,0.985,0.2,0 fb179c36-fef1-4df6-b0a0-2bd7792ea910,BE9558,2026-05-16T16:23:11,K558LLAQ.UN0W,Long,0.2933,0.2979,0.985,0.2,0
0cec8793-c3c1-486b-a33a-4dbf9cb069b0,BE9558,2026-05-16T16:33:46,K558LLAR.CA0W,Long,0.3017,0.3027,0.997,0.2,0 0cec8793-c3c1-486b-a33a-4dbf9cb069b0,BE9558,2026-05-16T16:33:46,K558LLAR.CA0W,Long,0.3017,0.3027,0.997,0.2,0
c531b052-ee04-4c66-888b-21e97445a615,BE9558,2026-05-16T16:49:37,K558LLAS.2P0W,Long,0.2922,0.2979,0.981,0.2,0 c531b052-ee04-4c66-888b-21e97445a615,BE9558,2026-05-16T16:49:37,K558LLAS.2P0W,Long,0.2922,0.2979,0.981,0.2,0
0dc402f9-cab6-4c4a-8317-b8fc3c4b1ced,BE9558,2026-05-16T16:55:08,K558LLAS.BW0W,Long,0.2898,0.2930,0.989,0.2,0 0dc402f9-cab6-4c4a-8317-b8fc3c4b1ced,BE9558,2026-05-16T16:55:08,K558LLAS.BW0W,Long,0.2898,0.2930,0.989,0.2,0
fd73733e-b42d-4a51-81d0-4acad6edfbd4,BE9558,2026-05-16T17:16:17,K558LLAT.B50W,Long,0.3115,0.3125,0.997,0.2,0 fd73733e-b42d-4a51-81d0-4acad6edfbd4,BE9558,2026-05-16T17:16:17,K558LLAT.B50W,Long,0.3115,0.3125,0.997,0.2,0
6a254daa-ae27-4ac1-b334-58f776a6b276,BE9558,2026-05-16T17:26:51,K558LLAT.SR0W,Long,0.3174,0.3223,0.985,0.2,0 6a254daa-ae27-4ac1-b334-58f776a6b276,BE9558,2026-05-16T17:26:51,K558LLAT.SR0W,Long,0.3174,0.3223,0.985,0.2,0
0cc8e82f-5270-4508-beae-0d3af56095ca,BE9558,2026-05-16T17:37:27,K558LLAU.AF0W,Long,0.2899,0.2930,0.989,0.2,0 0cc8e82f-5270-4508-beae-0d3af56095ca,BE9558,2026-05-16T17:37:27,K558LLAU.AF0W,Long,0.2899,0.2930,0.989,0.2,0
00557a73-8dc3-4cd2-b880-c7820dc8b171,BE9558,2026-05-16T17:43:17,K558LLAU.K50W,Long,0.2881,0.2930,0.983,0.2,0 00557a73-8dc3-4cd2-b880-c7820dc8b171,BE9558,2026-05-16T17:43:17,K558LLAU.K50W,Long,0.2881,0.2930,0.983,0.2,0
8e5518d9-ff0a-4c09-9cf9-a681c84c0b6e,BE9558,2026-05-16T17:53:53,K558LLAV.1T0W,Long,0.2898,0.2930,0.989,0.2,0 8e5518d9-ff0a-4c09-9cf9-a681c84c0b6e,BE9558,2026-05-16T17:53:53,K558LLAV.1T0W,Long,0.2898,0.2930,0.989,0.2,0
91dbd7e9-7344-400b-82b1-379f2ac4b49a,BE9558,2026-05-16T17:59:11,K558LLAV.AN0W,Long,0.2925,0.2930,0.998,0.2,0 91dbd7e9-7344-400b-82b1-379f2ac4b49a,BE9558,2026-05-16T17:59:11,K558LLAV.AN0W,Long,0.2925,0.2930,0.998,0.2,0
fa256408-d480-4376-95b5-d1a549c483ea,BE9558,2026-05-16T18:04:29,K558LLAV.JH0W,Long,0.2977,0.3027,0.983,0.2,0 fa256408-d480-4376-95b5-d1a549c483ea,BE9558,2026-05-16T18:04:29,K558LLAV.JH0W,Long,0.2977,0.3027,0.983,0.2,0
4ab6e66a-8364-49b6-82f1-86e86199e676,BE9558,2026-05-16T18:09:46,K558LLAV.SA0W,Long,0.2944,0.2979,0.988,0.2,0 4ab6e66a-8364-49b6-82f1-86e86199e676,BE9558,2026-05-16T18:09:46,K558LLAV.SA0W,Long,0.2944,0.2979,0.988,0.2,0
0a65fb7c-96e1-4ba0-85de-4620d88658c1,BE9558,2026-05-16T18:15:03,K558LLAW.130W,Long,0.2965,0.2979,0.995,0.2,0 0a65fb7c-96e1-4ba0-85de-4620d88658c1,BE9558,2026-05-16T18:15:03,K558LLAW.130W,Long,0.2965,0.2979,0.995,0.2,0
92b1ef3e-1696-4123-8662-163947737c83,BE9558,2026-05-16T18:20:20,K558LLAW.9W0W,Long,0.2976,0.3027,0.983,0.2,0 92b1ef3e-1696-4123-8662-163947737c83,BE9558,2026-05-16T18:20:20,K558LLAW.9W0W,Long,0.2976,0.3027,0.983,0.2,0
9e3cb24c-4426-4220-9a73-389d0a96c94f,BE9558,2026-05-16T18:25:37,K558LLAW.IP0W,Long,0.2983,0.3027,0.985,0.2,0 9e3cb24c-4426-4220-9a73-389d0a96c94f,BE9558,2026-05-16T18:25:37,K558LLAW.IP0W,Long,0.2983,0.3027,0.985,0.2,0
a3473215-4c46-45ab-9aa7-1720486ec4a8,BE9558,2026-05-16T18:30:54,K558LLAW.RI0W,Long,0.2956,0.2979,0.993,0.2,0 a3473215-4c46-45ab-9aa7-1720486ec4a8,BE9558,2026-05-16T18:30:54,K558LLAW.RI0W,Long,0.2956,0.2979,0.993,0.2,0
449665b1-47c8-4bd2-984c-8f45b627e6d8,BE9558,2026-05-16T18:36:11,K558LLAX.0B0W,Long,0.2989,0.3027,0.987,0.2,0 449665b1-47c8-4bd2-984c-8f45b627e6d8,BE9558,2026-05-16T18:36:11,K558LLAX.0B0W,Long,0.2989,0.3027,0.987,0.2,0
600cfabc-cffd-42e1-800c-70e75f312316,BE9558,2026-05-16T20:00:12,K558LLB0.WC0W,Long,0.3077,0.3125,0.985,0.2,0 600cfabc-cffd-42e1-800c-70e75f312316,BE9558,2026-05-16T20:00:12,K558LLB0.WC0W,Long,0.3077,0.3125,0.985,0.2,0
12bf5944-0194-4f5b-b486-a7acd7141c7f,BE9558,2026-05-16T20:04:28,K558LLB1.3G0W,Long,0.2888,0.2930,0.986,0.2,0 12bf5944-0194-4f5b-b486-a7acd7141c7f,BE9558,2026-05-16T20:04:28,K558LLB1.3G0W,Long,0.2888,0.2930,0.986,0.2,0
f1fc913a-91bc-4240-a595-7dfe3091f9a2,BE9558,2026-05-16T20:07:29,K558LLB1.8H0W,Long,0.2977,0.3027,0.983,0.2,0 f1fc913a-91bc-4240-a595-7dfe3091f9a2,BE9558,2026-05-16T20:07:29,K558LLB1.8H0W,Long,0.2977,0.3027,0.983,0.2,0
e74f7ec3-20bb-4177-beb2-e802e5f801fd,BE9558,2026-05-16T20:10:26,K558LLB1.DE0W,Long,0.2978,0.3027,0.984,0.2,0 e74f7ec3-20bb-4177-beb2-e802e5f801fd,BE9558,2026-05-16T20:10:26,K558LLB1.DE0W,Long,0.2978,0.3027,0.984,0.2,0
27491c3a-b631-4643-818a-714523911178,BE9558,2026-05-16T20:16:21,K558LLB1.N90W,Long,0.2921,0.2930,0.997,0.2,0 27491c3a-b631-4643-818a-714523911178,BE9558,2026-05-16T20:16:21,K558LLB1.N90W,Long,0.2921,0.2930,0.997,0.2,0
9d9196ce-11e2-4f28-b01c-3dcc60e60d42,BE9558,2026-05-16T20:22:28,K558LLB1.XG0W,Long,0.2881,0.2930,0.983,0.2,0 9d9196ce-11e2-4f28-b01c-3dcc60e60d42,BE9558,2026-05-16T20:22:28,K558LLB1.XG0W,Long,0.2881,0.2930,0.983,0.2,0
a592d7c8-b643-4b25-9186-3d611ae22709,BE9558,2026-05-16T20:25:37,K558LLB2.2P0W,Long,0.2893,0.2930,0.987,0.2,0 a592d7c8-b643-4b25-9186-3d611ae22709,BE9558,2026-05-16T20:25:37,K558LLB2.2P0W,Long,0.2893,0.2930,0.987,0.2,0
f709a3d5-27cd-4bb1-b91c-669e8ea11d77,BE9558,2026-05-16T20:28:57,K558LLB2.890W,Long,0.2880,0.2930,0.983,0.2,0 f709a3d5-27cd-4bb1-b91c-669e8ea11d77,BE9558,2026-05-16T20:28:57,K558LLB2.890W,Long,0.2880,0.2930,0.983,0.2,0
cc9cad87-b87f-4b67-854a-ffb21e876a92,BE9558,2026-05-16T20:32:45,K558LLB2.EL0W,Long,0.2873,0.2930,0.980,0.2,0 cc9cad87-b87f-4b67-854a-ffb21e876a92,BE9558,2026-05-16T20:32:45,K558LLB2.EL0W,Long,0.2873,0.2930,0.980,0.2,0
10732d26-6b49-4b14-a474-6c75e259d278,BE9558,2026-05-16T20:49:32,K558LLB3.6K0W,Long,0.2881,0.2930,0.983,0.2,0 10732d26-6b49-4b14-a474-6c75e259d278,BE9558,2026-05-16T20:49:32,K558LLB3.6K0W,Long,0.2881,0.2930,0.983,0.2,0
aa63957a-fdb2-4f17-af52-a63bb015119d,BE9558,2026-05-16T21:21:45,K558LLB4.O90W,Long,0.2880,0.2930,0.983,0.2,0 aa63957a-fdb2-4f17-af52-a63bb015119d,BE9558,2026-05-16T21:21:45,K558LLB4.O90W,Long,0.2880,0.2930,0.983,0.2,0
8350440f-019d-45a4-b9f9-23058628e6f0,BE9558,2026-05-16T21:32:43,K558LLB5.6J0W,Long,0.2925,0.2930,0.999,0.2,0 8350440f-019d-45a4-b9f9-23058628e6f0,BE9558,2026-05-16T21:32:43,K558LLB5.6J0W,Long,0.2925,0.2930,0.999,0.2,0
edfc10b2-dbe1-4527-a061-b0d670b5e5d2,BE9558,2026-05-16T21:35:37,K558LLB5.BD0W,Long,0.2891,0.2930,0.987,0.2,0 edfc10b2-dbe1-4527-a061-b0d670b5e5d2,BE9558,2026-05-16T21:35:37,K558LLB5.BD0W,Long,0.2891,0.2930,0.987,0.2,0
f98001a3-88b2-4830-8112-b7c5164e99c3,BE9558,2026-05-16T21:38:40,K558LLB5.GG0W,Long,0.2877,0.2930,0.982,0.2,0 f98001a3-88b2-4830-8112-b7c5164e99c3,BE9558,2026-05-16T21:38:40,K558LLB5.GG0W,Long,0.2877,0.2930,0.982,0.2,0
f1e53e7b-b124-4fc5-82c2-504fb0c8b80d,BE9558,2026-05-16T21:41:46,K558LLB5.LM0W,Long,0.2881,0.2930,0.983,0.2,0 f1e53e7b-b124-4fc5-82c2-504fb0c8b80d,BE9558,2026-05-16T21:41:46,K558LLB5.LM0W,Long,0.2881,0.2930,0.983,0.2,0
7890637f-142e-4775-b48c-fd4f3b8ada77,BE9558,2026-05-16T21:45:14,K558LLB5.RE0W,Long,0.2880,0.2930,0.983,0.2,0 7890637f-142e-4775-b48c-fd4f3b8ada77,BE9558,2026-05-16T21:45:14,K558LLB5.RE0W,Long,0.2880,0.2930,0.983,0.2,0
7c97c10f-b413-467c-9b56-c18e423cdcfa,BE9558,2026-05-16T21:48:26,K558LLB5.WQ0W,Long,0.2886,0.2930,0.985,0.2,0 7c97c10f-b413-467c-9b56-c18e423cdcfa,BE9558,2026-05-16T21:48:26,K558LLB5.WQ0W,Long,0.2886,0.2930,0.985,0.2,0
8178cf22-8428-4f85-8199-0a43f7334a8f,BE9558,2026-05-16T21:51:47,K558LLB6.2B0W,Long,0.2881,0.2930,0.983,0.2,0 8178cf22-8428-4f85-8199-0a43f7334a8f,BE9558,2026-05-16T21:51:47,K558LLB6.2B0W,Long,0.2881,0.2930,0.983,0.2,0
eceb2997-deb4-403a-802f-50e93d23d423,BE9558,2026-05-16T21:57:18,K558LLB6.BI0W,Long,0.2881,0.2930,0.984,0.2,0 eceb2997-deb4-403a-802f-50e93d23d423,BE9558,2026-05-16T21:57:18,K558LLB6.BI0W,Long,0.2881,0.2930,0.984,0.2,0
9c26690c-1983-4b21-b8af-7c7967c014c3,BE9558,2026-05-16T22:12:21,K558LLB7.0L0W,Long,0.2876,0.2930,0.982,0.2,0 9c26690c-1983-4b21-b8af-7c7967c014c3,BE9558,2026-05-16T22:12:21,K558LLB7.0L0W,Long,0.2876,0.2930,0.982,0.2,0
78f67fc3-08b7-4317-96ba-ee5544e0b95b,BE9558,2026-05-16T22:19:34,K558LLB7.CM0W,Long,0.2880,0.2930,0.983,0.2,0 78f67fc3-08b7-4317-96ba-ee5544e0b95b,BE9558,2026-05-16T22:19:34,K558LLB7.CM0W,Long,0.2880,0.2930,0.983,0.2,0
7f9dad14-4f1b-492d-aa26-845a908ea894,BE9558,2026-05-16T22:27:40,K558LLB7.Q40W,Long,0.2881,0.2930,0.983,0.2,0 7f9dad14-4f1b-492d-aa26-845a908ea894,BE9558,2026-05-16T22:27:40,K558LLB7.Q40W,Long,0.2881,0.2930,0.983,0.2,0
f75c52b4-21b9-4065-baeb-5cfbd27d130a,BE9558,2026-05-16T22:33:50,K558LLB8.0E0W,Long,0.2881,0.2930,0.984,0.2,0 f75c52b4-21b9-4065-baeb-5cfbd27d130a,BE9558,2026-05-16T22:33:50,K558LLB8.0E0W,Long,0.2881,0.2930,0.984,0.2,0
10f7496d-fa76-40a7-8bef-dc14e8a41869,BE9558,2026-05-16T22:40:48,K558LLB8.C00W,Long,0.2878,0.2930,0.982,0.2,0 10f7496d-fa76-40a7-8bef-dc14e8a41869,BE9558,2026-05-16T22:40:48,K558LLB8.C00W,Long,0.2878,0.2930,0.982,0.2,0
1 event_id serial timestamp filename channel offset_ips peak_ips mean_over_peak trigger_level_ips already_flagged_ft
2 1e7a7808-034c-423b-80e9-d6788da80993 BE18438 2025-11-15T08:57:40 T438LBX4.W40W Vert 0.2722 0.2930 0.929 0.2 0
3 346e383f-c5a1-41d1-b972-3d652e599d39 BE18438 2025-11-15T09:13:15 T438LBX5.M30W Vert 0.2747 0.2930 0.938 0.2 0
4 45ef3023-22c5-44a8-a606-a0900bc17861 BE18438 2025-11-15T09:16:13 T438LBX5.R10W Vert 0.2929 0.3027 0.967 0.2 0
5 1cbcd2aa-ec55-4e2f-af42-7178f26cc6a1 BE18438 2025-11-15T09:19:29 T438LBX5.WH0W Vert 0.2816 0.2979 0.945 0.2 0
6 caf43634-4528-4fd5-9674-5f4f563661c0 BE18438 2025-11-15T09:22:32 T438LBX6.1K0W Vert 0.2883 0.2930 0.984 0.2 0
7 456ae646-c834-4e5c-82f1-7df18b3440a1 BE18438 2025-11-15T09:25:31 T438LBX6.6J0W Vert 0.3189 0.3223 0.989 0.2 0
8 afb91ba2-351b-42a0-b33f-acebd5f1829d BE18438 2025-11-15T09:28:29 T438LBX6.BH0W Vert 0.3057 0.3076 0.994 0.2 0
9 39847146-3537-4300-943d-01c0c771e9cd BE18438 2025-11-15T09:31:26 T438LBX6.GE0W Vert 0.3225 0.3271 0.986 0.2 0
10 e47335c1-fc3f-4c90-88c6-8edd0f296ce4 BE18438 2025-11-15T09:34:24 T438LBX6.LC0W Vert 0.3275 0.3320 0.986 0.2 0
11 25b6eda6-ba98-422f-8834-94b6cbe34971 BE18438 2025-11-15T09:37:22 T438LBX6.QA0W Vert 0.3398 0.3418 0.994 0.2 0
12 7af99377-e47f-4914-8e91-ac7f7f50b8c6 BE18438 2025-11-15T09:40:20 T438LBX6.V80W Vert 0.3515 0.3564 0.986 0.2 0
13 c4330605-c257-49ef-aede-20deb641e7d7 BE18438 2025-11-15T10:09:48 T438LBX8.8C0W Vert 0.3605 0.3955 0.912 0.2 0
14 b665caf9-64ee-4352-a391-60c1ddeebc1e BE18438 2026-02-25T10:58:04 T438LH66.GS0W Vert 0.1803 0.1953 0.923 0.2 0
15 3b0c32c3-fd16-4b83-9917-942a56dea168 BE18438 2026-02-25T18:12:04 T438LH6Q.K40W Vert 0.1869 0.1953 0.957 0.2 0
16 ca66e601-d10f-4424-9c26-08a688e7b08c BE18438 2026-02-25T18:17:16 T438LH6Q.SS0W Vert 0.1870 0.1953 0.958 0.2 0
17 31aa30ba-eb0a-49a9-98ca-c77d2cc31275 BE18438 2026-02-25T18:21:11 T438LH6Q.ZB0W Vert 0.1868 0.1953 0.956 0.2 0
18 fdb55a93-fc91-4fdf-a7f4-fdd1a6b48f59 BE18438 2026-02-25T18:26:27 T438LH6R.830W Vert 0.1893 0.1953 0.969 0.2 0
19 cbd718d7-2378-4d74-8656-842f229d19a8 BE18438 2026-02-25T18:33:25 T438LH6R.JP0W Vert 0.1887 0.1953 0.966 0.2 0
20 bfaf58ec-6163-47eb-9d2a-70da880bd948 BE18438 2026-02-25T18:37:48 T438LH6R.R00W Vert 0.1872 0.1953 0.959 0.2 0
21 ddaa530b-886e-4415-b93a-f4ebf4c4a882 BE18438 2026-02-25T18:59:54 T438LH6S.RU0W Vert 0.1874 0.1953 0.959 0.2 0
22 57f15284-ab69-48fc-9660-8c347c80c681 BE18438 2026-02-25T19:15:58 T438LH6T.IM0W Vert 0.1873 0.1953 0.959 0.2 0
23 03715718-7aa8-4e1d-9b0b-c2ab75fc1975 BE18438 2026-02-25T19:19:58 T438LH6T.PA0W Vert 0.1891 0.1953 0.968 0.2 0
24 9f921cd5-1bf9-4713-aef6-41e7f780eff1 BE18438 2026-02-25T19:24:02 T438LH6T.W20W Vert 0.1871 0.1953 0.958 0.2 0
25 44994949-58d4-44fa-bd78-ed75b8acc667 BE18438 2026-02-25T19:44:57 T438LH6U.UX0W Vert 0.1877 0.1953 0.961 0.2 0
26 c4be01c3-1001-4e17-aecd-d6d26dbb09f3 BE18438 2026-02-25T19:49:19 T438LH6V.270W Vert 0.1884 0.1953 0.964 0.2 0
27 3db004e6-ee34-43c5-ae8e-f22894ead5d0 BE18438 2026-02-25T20:08:22 T438LH6V.XY0W Vert 0.1878 0.1953 0.962 0.2 0
28 d276ae48-0434-41e5-af43-e0fb366acf11 BE18438 2026-02-25T20:11:33 T438LH6W.390W Vert 0.1880 0.1953 0.963 0.2 0
29 c027dc12-88fd-4a45-872b-a6a945f2008e BE18438 2026-02-25T20:14:35 T438LH6W.8B0W Vert 0.1874 0.1953 0.959 0.2 0
30 9665bc3a-3d08-4852-b008-37ef8bfd0023 BE18438 2026-02-25T20:18:51 T438LH6W.FF0W Vert 0.1884 0.1953 0.965 0.2 0
31 5fb5a05e-d7e2-4268-9b85-cfe8d82aa6c9 BE18438 2026-02-25T20:29:50 T438LH6W.XQ0W Vert 0.1890 0.1953 0.968 0.2 0
32 57ec0b10-9324-4459-a07e-0c8532b8928f BE18438 2026-02-25T20:35:39 T438LH6X.7F0W Vert 0.1889 0.1953 0.967 0.2 0
33 ac86f73f-1174-4fae-a206-ecdcb73e1ffc BE18438 2026-02-25T20:39:12 T438LH6X.DC0W Vert 0.1887 0.1953 0.966 0.2 0
34 dcf25ddd-9cf0-41c1-b109-f3ef2e490ce5 BE18438 2026-02-25T20:43:41 T438LH6X.KT0W Vert 0.1871 0.1953 0.958 0.2 0
35 aa79bbdd-2392-4ef6-8a5c-873a9f72746d BE18438 2026-02-25T20:46:51 T438LH6X.Q30W Vert 0.1877 0.1953 0.961 0.2 0
36 ad46d1ce-b417-4c8c-b029-bb3b008ba809 BE18438 2026-02-25T20:53:33 T438LH6Y.190W Vert 0.1882 0.1953 0.964 0.2 0
37 3d3a8f34-86a7-4d70-a7e8-fa768a723325 BE18438 2026-02-26T07:03:39 T438LH7Q.A30W Vert 0.1809 0.1953 0.926 0.2 0
38 7817525f-dc3d-4f5e-b2cb-5af9ca12ede8 BE18438 2026-02-26T07:09:42 T438LH7Q.K60W Vert 0.1814 0.1953 0.929 0.2 0
39 a2091302-0b34-46c1-ab83-174be2b59bcf BE18438 2026-02-26T13:12:35 T438LH87.CZ0W Vert 0.1896 0.1953 0.971 0.2 0
40 e1c0c9de-a900-479f-9572-9675b13296a9 BE18438 2026-02-26T13:24:46 T438LH87.XA0W Vert 0.2237 0.2588 0.864 0.2 0
41 76a6dc6b-88e1-434b-a137-f5e9b63f248e BE18438 2026-02-26T13:27:43 T438LH88.270W Vert 0.3185 0.3223 0.988 0.2 0
42 281b508b-7982-4668-86af-9b0b28be608a BE18438 2026-02-26T13:30:36 T438LH88.700W Vert 0.3263 0.3320 0.983 0.2 0
43 68bbaf77-bb23-40fd-94f9-f928728d90dc BE18438 2026-02-26T13:33:28 T438LH88.BS0W Vert 0.3207 0.3271 0.980 0.2 0
44 5c975640-6ff1-441a-aa11-41642f6a6b31 BE18438 2026-02-26T13:36:21 T438LH88.GL0W Vert 0.3261 0.3320 0.982 0.2 0
45 dea248ac-1124-4bba-b054-953f86c852b2 BE18438 2026-02-26T13:40:34 T438LH88.NM0W Vert 0.3271 0.3320 0.985 0.2 0
46 4e463201-f008-41ad-9c52-11fcc3d93095 BE18438 2026-02-26T13:43:29 T438LH88.SH0W Vert 0.3357 0.3418 0.982 0.2 0
47 507262c5-d58f-4a05-a6a3-a6cbb5b4de20 BE18438 2026-02-26T13:46:24 T438LH88.XC0W Vert 0.3372 0.3418 0.987 0.2 0
48 4c2d8ee8-842f-4e44-9e03-ff34d26e4fdb BE18438 2026-02-26T13:49:17 T438LH89.250W Vert 0.3253 0.3320 0.980 0.2 0
49 b184b112-603f-44f4-ae97-087493fbd8ce BE18438 2026-02-26T13:52:10 T438LH89.6Y0W Vert 0.3321 0.3369 0.986 0.2 0
50 2ff1a552-5a2e-4396-9083-b9c8d334eed7 BE18438 2026-02-26T13:55:04 T438LH89.BS0W Vert 0.3378 0.3418 0.988 0.2 0
51 928e21a7-1990-4792-803e-58014d8140ce BE18438 2026-02-26T13:57:57 T438LH89.GL0W Vert 0.3341 0.3369 0.992 0.2 0
52 f521b5db-6100-41e6-954e-0abdbf9660c1 BE18438 2026-02-26T14:00:51 T438LH89.LF0W Vert 0.3421 0.3467 0.987 0.2 0
53 efba962f-e511-41ef-9fc5-313f202a9d96 BE18438 2026-02-26T14:03:46 T438LH89.QA0W Vert 0.3506 0.3564 0.984 0.2 0
54 0b51e273-8d10-4494-bda6-8c75eaeec66f BE18438 2026-02-26T14:06:41 T438LH89.V50W Vert 0.3448 0.3516 0.981 0.2 0
55 6d46e4ee-1647-4169-b6b2-33da32240eb9 BE18438 2026-02-26T14:09:35 T438LH89.ZZ0W Vert 0.3463 0.3516 0.985 0.2 0
56 1ca294cd-4dc2-41fb-9374-e277d4550761 BE18438 2026-02-26T14:12:28 T438LH8A.4S0W Vert 0.3442 0.3467 0.993 0.2 0
57 7b683dcf-1aed-4d9b-be1e-b10f92374398 BE18438 2026-02-26T14:15:23 T438LH8A.9N0W Vert 0.3486 0.3516 0.992 0.2 0
58 2b5cb8e7-c947-4914-bcb5-504f74603547 BE18438 2026-02-26T14:18:21 T438LH8A.EL0W Vert 0.3519 0.3613 0.974 0.2 0
59 5ea3a6bf-10de-4911-aedc-66daecf86b76 BE18438 2026-02-26T14:21:16 T438LH8A.JG0W Vert 0.3460 0.3564 0.971 0.2 0
60 d93be7f5-39ec-45fd-9949-fa531f2f9d34 BE18438 2026-02-26T14:24:13 T438LH8A.OD0W Vert 0.3457 0.3516 0.983 0.2 0
61 cfa113f2-8cee-4a1d-b1e7-0e936fa771e2 BE18438 2026-02-26T14:28:21 T438LH8A.V90W Vert 0.3485 0.3564 0.978 0.2 0
62 46d322ac-38cb-4c99-a4c2-9e9d7ad06171 BE18438 2026-02-26T14:31:17 T438LH8B.050W Vert 0.3367 0.3467 0.971 0.2 0
63 42500a83-bd67-4deb-8bb2-963ee2b8a7ce BE18438 2026-02-26T14:34:11 T438LH8B.4Z0W Vert 0.3365 0.3516 0.957 0.2 0
64 3ccf6bda-2e88-473c-951d-9ea86d0d9363 BE18438 2026-02-26T14:37:05 T438LH8B.9T0W Vert 0.3472 0.3564 0.974 0.2 0
65 9050487d-d238-4631-b8e1-5a693a026542 BE18438 2026-02-26T14:39:58 T438LH8B.EM0W Vert 0.3420 0.3564 0.959 0.2 0
66 e62989e4-a326-4bae-8d47-a8becee96462 BE18438 2026-02-26T14:42:52 T438LH8B.JG0W Vert 0.3430 0.3564 0.962 0.2 0
67 f0e30fab-dc57-4189-8439-48df17007a2c BE18438 2026-02-26T14:45:46 T438LH8B.OA0W Vert 0.3389 0.3516 0.964 0.2 0
68 03e1ca09-78df-4c6f-9915-0b6e4f2141d2 BE18438 2026-02-26T14:48:43 T438LH8B.T70W Vert 0.3449 0.3564 0.968 0.2 0
69 945d39f7-1b98-4a1f-80a8-6a18fd9df25f BE18438 2026-02-26T14:51:37 T438LH8B.Y10W Vert 0.3522 0.3613 0.975 0.2 0
70 d27eb2e3-e313-4125-98f4-f9d6d3737d28 BE18438 2026-02-26T14:54:32 T438LH8C.2W0W Vert 0.3502 0.3613 0.969 0.2 0
71 916901cb-ebea-441e-a2a1-40f4e49f32f4 BE18438 2026-02-26T14:57:25 T438LH8C.7P0W Vert 0.3524 0.3662 0.962 0.2 0
72 5d8d7e29-fdbb-4fa3-bd25-506c9352a354 BE18438 2026-02-26T15:01:35 T438LH8C.EN0W Vert 0.3530 0.3613 0.977 0.2 0
73 c6c7a3af-b03b-43dc-97de-024f8e09b62f BE18438 2026-02-26T15:04:27 T438LH8C.JF0W Vert 0.3514 0.3613 0.973 0.2 0
74 b6856898-3d10-4967-9577-7f17902f77ea BE18438 2026-02-26T15:11:34 T438LH8C.VA0W Vert 0.3566 0.3613 0.987 0.2 0
75 7a4802f6-621e-4230-8d8c-d7f0c9a65bf2 BE18438 2026-02-26T15:14:24 T438LH8D.000W Vert 0.3594 0.3711 0.968 0.2 0
76 79f38b7e-ec56-417e-943a-8c944252c2b8 BE18438 2026-02-26T15:18:32 T438LH8D.6W0W Vert 0.3550 0.3613 0.983 0.2 0
77 1b4190c4-0d54-48ba-8ff5-8ddb0eb91e50 BE18438 2026-02-26T15:22:22 T438LH8D.DA0W Vert 0.3571 0.3613 0.988 0.2 0
78 de57b5ae-a3a1-4ede-9d2b-3e87bfb3fd19 BE9558 2026-04-14T11:16:32 K558LJN3.BK0W Tran 0.3448 0.3662 0.942 0.2 0
79 43afeaf5-02ec-41f6-9e23-0c9772821ed4 BE9558 2026-04-14T11:27:15 K558LJN3.TF0W Tran 0.3094 0.3223 0.960 0.2 0
80 8123c0ef-84c9-4f6c-8d82-9dc32e2e470d BE9558 2026-04-14T14:45:30 K558LJNC.ZU0W Tran 0.2721 0.3564 0.763 0.2 0
81 8c787af3-596e-411b-9e10-29485fa5114f BE9558 2026-04-29T16:18:47 K558LKF9.BB0W Tran 0.2943 0.3027 0.972 0.2 0
82 431928ff-b4c4-4caa-b933-acc917f3717c BE9558 2026-05-04T15:02:30 K558LKOF.460W Tran 0.4364 0.5225 0.835 0.2 0
83 6c3c07f8-c36a-4493-acce-7441c9d22cec BE9558 2026-05-15T08:50:06 K558LL8B.7I0W Long 0.2892 0.2930 0.987 0.2 0
84 13c268df-b652-422e-a642-6453f6a314aa BE9558 2026-05-15T10:18:34 K558LL8F.AY0W Long 0.2907 0.2979 0.976 0.2 0
85 9b0d0871-8810-467d-806a-5bbfa4e667fe BE9558 2026-05-15T15:52:00 K558LL8U.QO0W Long 0.2659 0.2979 0.893 0.2 0
86 092640f9-a944-48b7-b872-364d75c2c5e7 BE9558 2026-05-15T16:13:12 K558LL8V.Q00W Long 0.2428 0.2979 0.815 0.2 0
87 0573741a-96ab-4b36-af7a-b5bc11a79009 BE9558 2026-05-16T03:23:26 K558LL9Q.R20W Long 0.2861 0.2930 0.976 0.2 0
88 321f03ea-6696-47de-ad46-2be43d4d6cae BE9558 2026-05-16T03:30:49 K558LL9R.3D0W Long 0.2886 0.2930 0.985 0.2 0
89 cc423a6a-3e3c-466a-b39c-6146ca7f34c8 BE9558 2026-05-16T03:33:55 K558LL9R.8J0W Long 0.2880 0.2881 1.000 0.2 0
90 efa52a14-cc68-4bea-aab4-4ee3a3cbff3a BE9558 2026-05-16T03:36:55 K558LL9R.DJ0W Long 0.2890 0.2930 0.986 0.2 0
91 92895bfe-122f-4cdc-bd3d-40609633d278 BE9558 2026-05-16T03:43:41 K558LL9R.OT0W Long 0.2880 0.2881 1.000 0.2 0
92 2a4c81db-2307-44e5-9b27-d5154d98e38d BE9558 2026-05-16T03:46:36 K558LL9R.TO0W Long 0.2921 0.2979 0.981 0.2 0
93 656b0fdc-e275-4c9c-8936-9eee267ea04e BE9558 2026-05-16T03:49:28 K558LL9R.YG0W Long 0.2966 0.2979 0.996 0.2 0
94 3b9989ae-e0f2-4652-9724-c145603543d2 BE9558 2026-05-16T03:52:29 K558LL9S.3H0W Long 0.2880 0.2930 0.983 0.2 0
95 837d0d84-d609-4f4a-b542-b7e2b064ea22 BE9558 2026-05-16T03:56:32 K558LL9S.A80W Long 0.2880 0.2930 0.983 0.2 0
96 affcb008-ab99-4bc5-8f35-83dbe620499d BE9558 2026-05-16T04:02:50 K558LL9S.KQ0W Long 0.2896 0.2930 0.989 0.2 0
97 e1f1c6d2-545c-451f-9018-714d52e20a05 BE9558 2026-05-16T04:05:47 K558LL9S.PN0W Long 0.3024 0.3076 0.983 0.2 0
98 93ef80f1-7e83-4703-a0f9-89bbfeeae6c3 BE9558 2026-05-16T04:08:41 K558LL9S.UH0W Long 0.2976 0.2979 0.999 0.2 0
99 5c118ca9-fc37-4080-876d-b3f57ce0b121 BE9558 2026-05-16T04:11:42 K558LL9S.ZI0W Long 0.2881 0.2930 0.983 0.2 0
100 d98b2eaa-7763-4c78-88fb-c21195cb9978 BE9558 2026-05-16T04:14:38 K558LL9T.4E0W Long 0.2898 0.2930 0.989 0.2 0
101 6a146a01-0d02-4413-b231-ecb4a6fde776 BE9558 2026-05-16T04:17:35 K558LL9T.9B0W Long 0.2880 0.2930 0.983 0.2 0
102 f6587a55-27e3-454f-997e-57e7516a296c BE9558 2026-05-16T04:20:32 K558LL9T.E80W Long 0.3046 0.3076 0.990 0.2 0
103 1fb48250-2214-41e6-92cb-362aff1ba62b BE9558 2026-05-16T04:26:05 K558LL9T.NH0W Long 0.2876 0.2930 0.982 0.2 0
104 2f4f3d06-1189-4e28-a1ac-5454ea586a0c BE9558 2026-05-16T04:59:47 K558LL9V.7N0W Long 0.2961 0.3027 0.978 0.2 0
105 62b7bdab-b744-41e4-8d0e-c9141b9d4821 BE9558 2026-05-16T05:02:46 K558LL9V.CM0W Long 0.2903 0.2930 0.991 0.2 0
106 cadcb6dc-74c0-48b5-974c-87bb7a57816c BE9558 2026-05-16T05:05:43 K558LL9V.HJ0W Long 0.3090 0.3125 0.989 0.2 0
107 a0235177-be5a-4f11-b741-c65744698e5b BE9558 2026-05-16T05:08:35 K558LL9V.MB0W Long 0.3167 0.3223 0.983 0.2 0
108 1968c2f6-f52c-4544-a0ed-f79b91ce0da0 BE9558 2026-05-16T05:11:28 K558LL9V.R40W Long 0.3446 0.3516 0.980 0.2 0
109 caa06b94-8813-4949-b47b-61ffb16e61c4 BE9558 2026-05-16T05:14:22 K558LL9V.VY0W Long 0.3318 0.3320 0.999 0.2 0
110 fdaa8101-f033-47e6-9c65-abd76dea1870 BE9558 2026-05-16T05:17:16 K558LL9W.0S0W Long 0.3407 0.3418 0.997 0.2 0
111 29bd16bd-81b9-4ccd-a981-f1a80858536c BE9558 2026-05-16T05:23:05 K558LL9W.AH0W Long 0.3450 0.3516 0.981 0.2 0
112 1f8bc862-d5fd-4cce-abc0-e2bd8c2f11fa BE9558 2026-05-16T05:26:00 K558LL9W.FC0W Long 0.3417 0.3467 0.986 0.2 0
113 20220068-d498-4fca-9a2a-a7fd2ee52ab1 BE9558 2026-05-16T05:28:53 K558LL9W.K50W Long 0.3516 0.3564 0.986 0.2 0
114 9816a261-3118-417a-8334-ace36687ad8f BE9558 2026-05-16T05:31:47 K558LL9W.OZ0W Long 0.3416 0.3467 0.985 0.2 0
115 5d2c76d7-543d-4557-9caf-996a69ab00bd BE9558 2026-05-16T05:34:42 K558LL9W.TU0W Long 0.3537 0.3564 0.992 0.2 0
116 c7b5ae00-52e7-4920-aa27-49d3b3daff92 BE9558 2026-05-16T05:37:36 K558LL9W.YO0W Long 0.3517 0.3564 0.987 0.2 0
117 07db8fd8-ccef-4a5a-9d97-9f318f73a478 BE9558 2026-05-16T05:40:31 K558LL9X.3J0W Long 0.3574 0.3613 0.989 0.2 0
118 790fcff9-e266-4a12-87f0-a072990d2533 BE9558 2026-05-16T05:43:26 K558LL9X.8E0W Long 0.3650 0.3662 0.997 0.2 0
119 f4245f61-1dde-43dc-a121-98e102f6a193 BE9558 2026-05-16T05:50:28 K558LL9X.K40W Long 0.3856 0.3906 0.987 0.2 0
120 5a3bce7b-358e-4260-876f-3f853163d7cf BE9558 2026-05-16T05:53:22 K558LL9X.OY0W Long 0.3847 0.3857 0.997 0.2 0
121 37c2b4b1-7a1b-43e7-b513-2c16f582109c BE9558 2026-05-16T05:56:15 K558LL9X.TR0W Long 0.3906 0.3955 0.988 0.2 0
122 57fde109-1d8a-45a1-b398-5bd28c3e47f1 BE9558 2026-05-16T05:59:10 K558LL9X.YM0W Long 0.4000 0.4004 0.999 0.2 0
123 1e41ab40-93be-405c-a464-f7a57524d3b3 BE9558 2026-05-16T06:02:02 K558LL9Y.3E0W Long 0.3825 0.3857 0.992 0.2 0
124 e9d61eb5-fae8-4902-8fab-4828ffa8e6da BE9558 2026-05-16T06:04:57 K558LL9Y.890W Long 0.3802 0.3809 0.998 0.2 0
125 c0e964e0-7788-4e41-bc41-6e479c3dc81b BE9558 2026-05-16T06:07:51 K558LL9Y.D30W Long 0.3954 0.4004 0.987 0.2 0
126 0b2df8e5-1689-4fe6-abad-30970ba10aa6 BE9558 2026-05-16T06:16:06 K558LL9Y.QU0W Long 0.4051 0.4053 1.000 0.2 0
127 2bc6ce73-464b-469c-9e8f-3bf6f6cfae1d BE9558 2026-05-16T06:21:51 K558LL9Z.0F0W Long 0.3910 0.3955 0.989 0.2 0
128 b8603ee1-616a-451e-a2cd-61f8f2634cd0 BE9558 2026-05-16T06:24:44 K558LL9Z.580W Long 0.3969 0.4004 0.991 0.2 0
129 1aecf582-66a2-4ebb-80f9-04b3aeba331a BE9558 2026-05-16T06:27:39 K558LL9Z.A30W Long 0.3915 0.3955 0.990 0.2 0
130 885aedfd-7a1a-4120-8176-7c344dd3d8fe BE9558 2026-05-16T06:30:30 K558LL9Z.EU0W Long 0.4025 0.4053 0.993 0.2 0
131 ec15930f-47f5-4752-afc2-427ee156ac95 BE9558 2026-05-16T06:33:25 K558LL9Z.JP0W Long 0.4060 0.4102 0.990 0.2 0
132 5ca23f47-2a38-4a54-99dd-041287aa9510 BE9558 2026-05-16T06:36:17 K558LL9Z.OH0W Long 0.4054 0.4102 0.988 0.2 0
133 03f371cf-81bc-4681-80f0-ef6fa437da85 BE9558 2026-05-16T06:39:09 K558LL9Z.T90W Long 0.4052 0.4102 0.988 0.2 0
134 ed386f54-140d-45e8-ad51-6585a58b4375 BE9558 2026-05-16T06:44:54 K558LLA0.2U0W Long 0.3993 0.4004 0.997 0.2 0
135 579f1c3f-4c1e-42a3-aa89-69aa93514033 BE9558 2026-05-16T06:47:47 K558LLA0.7N0W Long 0.4001 0.4053 0.987 0.2 0
136 57024de6-07ea-41f4-b916-c6adc3f51636 BE9558 2026-05-16T06:50:40 K558LLA0.CG0W Long 0.4103 0.4150 0.989 0.2 0
137 36bf5adf-afb5-4a5e-a106-1afbd1f56c7b BE9558 2026-05-16T06:54:49 K558LLA0.JD0W Long 0.4069 0.4150 0.980 0.2 0
138 3e2f831b-5228-46ff-9acb-75d8c86f8bc1 BE9558 2026-05-16T06:57:43 K558LLA0.O70W Long 0.4108 0.4150 0.990 0.2 0
139 1775fa20-568b-4294-b9ca-561201a66c5b BE9558 2026-05-16T07:00:38 K558LLA0.T20W Long 0.3967 0.4004 0.991 0.2 0
140 fd391469-03f9-4d8d-bccd-3af50c91e5b7 BE9558 2026-05-16T07:03:33 K558LLA0.XX0W Long 0.3927 0.3955 0.993 0.2 0
141 02b52ef6-b707-4dcb-b58f-43da02698832 BE9558 2026-05-16T07:06:27 K558LLA1.2R0W Long 0.3824 0.3857 0.991 0.2 0
142 8d45333f-e101-4249-9e27-913c583a0a8d BE9558 2026-05-16T07:09:21 K558LLA1.7L0W Long 0.4085 0.4150 0.984 0.2 0
143 361d11ce-f42a-4d04-8270-ee3771fe4f09 BE9558 2026-05-16T07:12:14 K558LLA1.CE0W Long 0.4017 0.4053 0.991 0.2 0
144 59218125-ed5d-4457-aa8b-35ba03441363 BE9558 2026-05-16T07:15:07 K558LLA1.H70W Long 0.3934 0.3955 0.995 0.2 0
145 a603e55a-2ad6-4fc9-8c8c-0dc7be95c3e7 BE9558 2026-05-16T07:23:43 K558LLA1.VJ0W Long 0.3806 0.3857 0.987 0.2 0
146 c8d07902-93ea-4b03-9e69-9ad6ed5bffb1 BE9558 2026-05-16T07:26:36 K558LLA2.0C0W Long 0.3807 0.3857 0.987 0.2 0
147 4c46c0c7-42f0-4648-827e-1995f733b18f BE9558 2026-05-16T07:30:44 K558LLA2.780W Long 0.3667 0.3711 0.988 0.2 0
148 04759a00-ba3e-4959-a4cb-be8fc1f3004e BE9558 2026-05-16T07:36:28 K558LLA2.GS0W Long 0.3514 0.3516 1.000 0.2 0
149 0b6b0856-bd87-4a07-a5b4-f13d99e04a12 BE9558 2026-05-16T07:39:20 K558LLA2.LK0W Long 0.3512 0.3516 0.999 0.2 0
150 3d81a8bd-464d-4050-8a76-25e8373d1ddb BE9558 2026-05-16T07:42:12 K558LLA2.QC0W Long 0.3350 0.3369 0.994 0.2 0
151 b8b9c0c4-c388-4acb-955a-be4ac356afce BE9558 2026-05-16T07:45:04 K558LLA2.V40W Long 0.3563 0.3564 1.000 0.2 0
152 cb3d142a-fb84-4a21-a298-f61bb869b036 BE9558 2026-05-16T07:49:13 K558LLA3.210W Long 0.3663 0.3711 0.987 0.2 0
153 7401b19b-bc9d-43f0-b395-f4323aca5c72 BE9558 2026-05-16T07:52:06 K558LLA3.6U0W Long 0.3612 0.3662 0.986 0.2 0
154 2236df76-a9e6-401f-9176-ad565242f2cf BE9558 2026-05-16T07:57:52 K558LLA3.GG0W Long 0.3366 0.3369 0.999 0.2 0
155 a645846c-cae4-4aa5-a2e6-85166bd4dd62 BE9558 2026-05-16T08:00:44 K558LLA3.L80W Long 0.3265 0.3271 0.998 0.2 0
156 7212bd33-99a9-4659-9f0b-c98cc8d1e8bc BE9558 2026-05-16T08:04:51 K558LLA3.S30W Long 0.3418 0.3467 0.986 0.2 0
157 2cc4bf33-c63a-4c65-b0e2-5e61a9146a5d BE9558 2026-05-16T08:07:43 K558LLA3.WV0W Long 0.3405 0.3418 0.996 0.2 0
158 4fedb486-5f1f-4623-a01f-083e829f0565 BE9558 2026-05-16T08:10:35 K558LLA4.1N0W Long 0.3515 0.3564 0.986 0.2 0
159 58aff0ba-0f9b-45e1-9bbe-a990d16192ae BE9558 2026-05-16T08:13:27 K558LLA4.6F0W Long 0.3513 0.3516 0.999 0.2 0
160 e56d87e5-e1d4-4947-b6a5-3bbd2773c54a BE9558 2026-05-16T08:20:03 K558LLA4.HF0W Long 0.3564 0.3613 0.986 0.2 0
161 0e96e61e-6a21-4e07-8e09-72d09dbfa1e6 BE9558 2026-05-16T08:25:21 K558LLA4.Q90W Long 0.3565 0.3613 0.987 0.2 0
162 19611f28-2da8-4362-a58e-dbed2e061379 BE9558 2026-05-16T08:34:19 K558LLA5.570W Long 0.3647 0.3662 0.996 0.2 0
163 bd580c1d-44d4-41fd-9f83-f462cda4099a BE9558 2026-05-16T08:37:15 K558LLA5.A30W Long 0.3536 0.3564 0.992 0.2 0
164 2782df3b-3cb4-471a-a6f5-bbc4903a8ab9 BE9558 2026-05-16T08:44:00 K558LLA5.LC0W Long 0.3612 0.3662 0.986 0.2 0
165 d15a08f3-1c7c-4f80-8d9b-f5008c58c3d9 BE9558 2026-05-16T08:49:18 K558LLA5.U60W Long 0.3610 0.3613 0.999 0.2 0
166 03a10a6a-193a-476c-9543-f63818f69417 BE9558 2026-05-16T08:54:36 K558LLA6.300W Long 0.3515 0.3516 1.000 0.2 0
167 1c271856-8100-4c0d-bc8c-9357b47d7626 BE9558 2026-05-16T08:59:54 K558LLA6.BU0W Long 0.3617 0.3662 0.988 0.2 0
168 a85f125e-bfa2-42be-b877-2604b8d068c8 BE9558 2026-05-16T09:05:17 K558LLA6.KT0W Long 0.3510 0.3516 0.998 0.2 0
169 dde9aa71-d2e3-41ac-8388-f2bbddb6dae6 BE9558 2026-05-16T09:08:11 K558LLA6.PN0W Long 0.3447 0.3467 0.994 0.2 0
170 2f3f2be2-0ee3-422e-b3ad-83fb87512a2b BE9558 2026-05-16T09:14:39 K558LLA7.0F0W Long 0.3580 0.3613 0.991 0.2 0
171 357a3034-8a9c-485e-8cb6-f526dd2baf6f BE9558 2026-05-16T09:29:11 K558LLA7.ON0W Long 0.3708 0.3760 0.986 0.2 0
172 f8ad0274-8e6f-4714-82ff-d229e60f1442 BE9558 2026-05-16T09:32:06 K558LLA7.TI0W Long 0.3567 0.3613 0.987 0.2 0
173 42bb007a-2726-401a-b085-c25151b0dc24 BE9558 2026-05-16T09:35:02 K558LLA7.YE0W Long 0.3575 0.3613 0.989 0.2 0
174 c99bfc4a-db02-4bea-bea4-943c67485dba BE9558 2026-05-16T09:37:58 K558LLA8.3A0W Long 0.3527 0.3564 0.989 0.2 0
175 8fc17de0-73f7-48bd-8d93-5451dce47e8e BE9558 2026-05-16T09:40:52 K558LLA8.840W Long 0.3613 0.3662 0.987 0.2 0
176 bbee5276-03dd-4ca4-a7b9-aec02baac7e8 BE9558 2026-05-16T09:48:13 K558LLA8.KD0W Long 0.3590 0.3613 0.993 0.2 0
177 8dcdee10-db01-4224-9506-4181c3105d6f BE9558 2026-05-16T09:53:31 K558LLA8.T70W Long 0.3588 0.3613 0.993 0.2 0
178 48c8be72-64d9-4da3-95b5-bbec2c5e1dbd BE9558 2026-05-16T09:58:49 K558LLA9.210W Long 0.3582 0.3662 0.978 0.2 0
179 0da20919-7ce9-4feb-8ae9-12d9bb40c2b5 BE9558 2026-05-16T10:04:07 K558LLA9.AV0W Long 0.3506 0.3516 0.997 0.2 0
180 c2f7e9bc-8b93-42c3-96d3-e3af217dde35 BE9558 2026-05-16T10:09:25 K558LLA9.JP0W Long 0.3506 0.3516 0.997 0.2 0
181 522a0e42-d443-4447-bc71-af1832c6604e BE9558 2026-05-16T10:14:43 K558LLA9.SJ0W Long 0.3624 0.3662 0.990 0.2 0
182 67f7e732-3c0b-439f-87c5-3c478a381418 BE9558 2026-05-16T10:20:01 K558LLAA.1D0W Long 0.3494 0.3516 0.994 0.2 0
183 251767e8-56f7-4091-a001-364d8e75c15c BE9558 2026-05-16T10:25:19 K558LLAA.A70W Long 0.3463 0.3516 0.985 0.2 0
184 9457239d-a4ca-4476-b385-5e01fc8f6420 BE9558 2026-05-16T10:30:37 K558LLAA.J10W Long 0.3436 0.3467 0.991 0.2 0
185 43718d7c-9353-49e1-89b6-0841aeb1b276 BE9558 2026-05-16T10:35:55 K558LLAA.RV0W Long 0.3452 0.3516 0.982 0.2 0
186 f54ba557-ddfe-41d3-8f4c-8bbec9a3783c BE9558 2026-05-16T10:41:13 K558LLAB.0P0W Long 0.3419 0.3467 0.986 0.2 0
187 dc26c758-ad99-49c1-b518-931368cdf8cf BE9558 2026-05-16T10:46:31 K558LLAB.9J0W Long 0.3463 0.3516 0.985 0.2 0
188 10917eb2-d151-461c-a8cb-e9660da5a5b0 BE9558 2026-05-16T10:51:49 K558LLAB.ID0W Long 0.3520 0.3564 0.987 0.2 0
189 4938a5e6-d53b-40ee-be2b-06ec0e60398c BE9558 2026-05-16T10:57:07 K558LLAB.R70W Long 0.3541 0.3564 0.993 0.2 0
190 0711b51d-55bd-48be-b51e-2aad67107a60 BE9558 2026-05-16T11:13:01 K558LLAC.HP0W Long 0.3661 0.3711 0.986 0.2 0
191 065564b6-aa49-40e7-9ea6-c75defdc60fe BE9558 2026-05-16T11:18:19 K558LLAC.QJ0W Long 0.3622 0.3662 0.989 0.2 0
192 ffb6b230-1d70-4e0e-ba30-e945339a122a BE9558 2026-05-16T11:23:37 K558LLAC.ZD0W Long 0.3711 0.3760 0.987 0.2 0
193 52b4da82-c1e0-4a8a-8365-51b090787005 BE9558 2026-05-16T11:28:55 K558LLAD.870W Long 0.3644 0.3662 0.995 0.2 0
194 cdbff3d8-fbfe-4bea-8bd6-c898800e81ba BE9558 2026-05-16T11:39:31 K558LLAD.PV0W Long 0.3609 0.3662 0.986 0.2 0
195 3fb0bc30-1463-4cfc-9e7f-386c0eb2a34a BE9558 2026-05-16T11:44:49 K558LLAD.YP0W Long 0.3553 0.3564 0.997 0.2 0
196 ba1f5ec8-aef7-4a9e-ac1f-276cf016e285 BE9558 2026-05-16T11:50:07 K558LLAE.7J0W Long 0.3479 0.3516 0.990 0.2 0
197 b1dd4df7-34a9-4512-a903-f8242b236fd2 BE9558 2026-05-16T11:55:25 K558LLAE.GD0W Long 0.3427 0.3467 0.988 0.2 0
198 1f23aa28-c026-4bc7-b3d1-7c78fd76a673 BE9558 2026-05-16T12:00:43 K558LLAE.P70W Long 0.3454 0.3467 0.996 0.2 0
199 0d91f54d-b20d-4a50-b7dd-d071c39a0690 BE9558 2026-05-16T12:06:01 K558LLAE.Y10W Long 0.3431 0.3467 0.990 0.2 0
200 12ccdecd-5fd9-4465-9813-3d6006ec32f3 BE9558 2026-05-16T12:11:19 K558LLAF.6V0W Long 0.3433 0.3467 0.990 0.2 0
201 a7024f1a-f071-48ab-820f-99bdf87366b5 BE9558 2026-05-16T12:16:37 K558LLAF.FP0W Long 0.3361 0.3369 0.998 0.2 0
202 de0fa439-30b8-4607-a3c3-7e17191e4624 BE9558 2026-05-16T12:21:55 K558LLAF.OJ0W Long 0.3274 0.3320 0.986 0.2 0
203 f9374ec3-05e5-477f-8e1a-0c862fed2a50 BE9558 2026-05-16T12:27:13 K558LLAF.XD0W Long 0.3449 0.3467 0.995 0.2 0
204 424cb275-3743-4174-95f0-0ca1205b374c BE9558 2026-05-16T12:32:31 K558LLAG.670W Long 0.3370 0.3418 0.986 0.2 0
205 9accde13-cefa-41b8-bd0a-cef2ffed59b0 BE9558 2026-05-16T12:37:49 K558LLAG.F10W Long 0.3465 0.3467 0.999 0.2 0
206 4665be38-1956-4b14-b931-068ba9af5c5e BE9558 2026-05-16T12:48:25 K558LLAG.WP0W Long 0.3453 0.3516 0.982 0.2 0
207 1aedf624-1a99-43e1-a8f2-f9d358b97f61 BE9558 2026-05-16T12:53:43 K558LLAH.5J0W Long 0.3366 0.3418 0.985 0.2 0
208 c15e1799-91d7-425e-ad17-2ba3d170d81e BE9558 2026-05-16T13:04:19 K558LLAH.N70W Long 0.3348 0.3369 0.994 0.2 0
209 72d4c4ea-19ca-4cc6-9b04-7a2b70122c67 BE9558 2026-05-16T13:09:37 K558LLAH.W10W Long 0.3272 0.3320 0.986 0.2 0
210 b4ebf2c9-1f6d-4594-9810-40479e87c0a5 BE9558 2026-05-16T13:14:55 K558LLAI.4V0W Long 0.3297 0.3320 0.993 0.2 0
211 bb297e9e-548f-4dae-8b1a-0f161af2e766 BE9558 2026-05-16T13:20:13 K558LLAI.DP0W Long 0.3272 0.3320 0.986 0.2 0
212 87562c24-63db-48bd-9962-72a20a40f2ff BE9558 2026-05-16T13:36:07 K558LLAJ.470W Long 0.3174 0.3223 0.985 0.2 0
213 01e9cc58-3bea-4f38-8499-a2c20e5f8550 BE9558 2026-05-16T13:46:52 K558LLAJ.M40W Long 0.2880 0.2930 0.983 0.2 0
214 5ae7503d-ae17-4063-9208-6a420699e1ab BE9558 2026-05-16T14:00:35 K558LLAK.8Z0W Long 0.2879 0.2930 0.983 0.2 0
215 e009ea3c-1534-4154-8623-e180ed4db9fb BE9558 2026-05-16T14:06:19 K558LLAK.IJ0W Long 0.2882 0.2930 0.984 0.2 0
216 cd4e21f5-512b-4b2b-8054-bec01aa06400 BE9558 2026-05-16T14:12:03 K558LLAK.S30W Long 0.2857 0.2930 0.975 0.2 0
217 ae5b780f-2038-4ccf-8bfc-b15b87be139e BE9558 2026-05-16T14:17:22 K558LLAL.0Y0W Long 0.2899 0.2930 0.989 0.2 0
218 d8c3fb81-8c66-4ebc-b33a-0559bc03334b BE9558 2026-05-16T14:22:40 K558LLAL.9S0W Long 0.3009 0.3027 0.994 0.2 0
219 990a4c7a-3c51-4d4a-8ab7-416ccb97d29c BE9558 2026-05-16T14:27:58 K558LLAL.IM0W Long 0.3057 0.3076 0.994 0.2 0
220 68d7a2c3-d899-4e75-96fb-3bf16ae6ea6f BE9558 2026-05-16T14:33:16 K558LLAL.RG0W Long 0.3110 0.3125 0.995 0.2 0
221 73505b8c-f912-4116-b903-a8a4c75524d3 BE9558 2026-05-16T14:38:34 K558LLAM.0A0W Long 0.3172 0.3223 0.984 0.2 0
222 8d3c9602-7efa-488a-801b-3228bd85ab14 BE9558 2026-05-16T14:43:51 K558LLAM.930W Long 0.3136 0.3174 0.988 0.2 0
223 243e16ee-860a-4960-bc15-b797ad7e9735 BE9558 2026-05-16T14:49:08 K558LLAM.HW0W Long 0.3135 0.3174 0.988 0.2 0
224 e90c8d90-6d41-4788-9ee6-a29e4bfcc16b BE9558 2026-05-16T15:19:35 K558LLAN.WN0W Long 0.3132 0.3174 0.987 0.2 0
225 4182b0e7-7811-46b8-87d1-a4dd0c152f3b BE9558 2026-05-16T15:28:45 K558LLAO.BX0W Long 0.3023 0.3076 0.983 0.2 0
226 28a790da-0e48-4fe4-b8ba-2c82cc6bfa79 BE9558 2026-05-16T15:34:02 K558LLAO.KQ0W Long 0.3176 0.3223 0.985 0.2 0
227 093d2fa3-7a4b-4f0f-abda-71155ebe2dfb BE9558 2026-05-16T15:39:19 K558LLAO.TJ0W Long 0.3223 0.3271 0.985 0.2 0
228 68dc9560-4082-49b6-af04-9244773ffbc1 BE9558 2026-05-16T15:44:36 K558LLAP.2C0W Long 0.3227 0.3271 0.986 0.2 0
229 ad6b268a-165d-4b1d-b0b3-f58db7c9b0e4 BE9558 2026-05-16T15:49:53 K558LLAP.B50W Long 0.3177 0.3223 0.986 0.2 0
230 046c5cb4-56b3-48c0-83c2-bf1f30837940 BE9558 2026-05-16T15:55:10 K558LLAP.JY0W Long 0.3174 0.3223 0.985 0.2 0
231 1b76edf4-3b1c-4bcb-a73c-27334981c350 BE9558 2026-05-16T16:00:27 K558LLAP.SR0W Long 0.3127 0.3174 0.985 0.2 0
232 a0264171-a682-4396-ad8a-cda3b2964533 BE9558 2026-05-16T16:06:55 K558LLAQ.3J0W Long 0.2885 0.2930 0.985 0.2 0
233 707da1f6-ee81-4e57-abd5-98295c14651b BE9558 2026-05-16T16:12:30 K558LLAQ.CU0W Long 0.2880 0.2930 0.983 0.2 0
234 b8115b64-8739-42c8-b541-713ab6b68bcd BE9558 2026-05-16T16:17:53 K558LLAQ.LT0W Long 0.2881 0.2930 0.983 0.2 0
235 fb179c36-fef1-4df6-b0a0-2bd7792ea910 BE9558 2026-05-16T16:23:11 K558LLAQ.UN0W Long 0.2933 0.2979 0.985 0.2 0
236 0cec8793-c3c1-486b-a33a-4dbf9cb069b0 BE9558 2026-05-16T16:33:46 K558LLAR.CA0W Long 0.3017 0.3027 0.997 0.2 0
237 c531b052-ee04-4c66-888b-21e97445a615 BE9558 2026-05-16T16:49:37 K558LLAS.2P0W Long 0.2922 0.2979 0.981 0.2 0
238 0dc402f9-cab6-4c4a-8317-b8fc3c4b1ced BE9558 2026-05-16T16:55:08 K558LLAS.BW0W Long 0.2898 0.2930 0.989 0.2 0
239 fd73733e-b42d-4a51-81d0-4acad6edfbd4 BE9558 2026-05-16T17:16:17 K558LLAT.B50W Long 0.3115 0.3125 0.997 0.2 0
240 6a254daa-ae27-4ac1-b334-58f776a6b276 BE9558 2026-05-16T17:26:51 K558LLAT.SR0W Long 0.3174 0.3223 0.985 0.2 0
241 0cc8e82f-5270-4508-beae-0d3af56095ca BE9558 2026-05-16T17:37:27 K558LLAU.AF0W Long 0.2899 0.2930 0.989 0.2 0
242 00557a73-8dc3-4cd2-b880-c7820dc8b171 BE9558 2026-05-16T17:43:17 K558LLAU.K50W Long 0.2881 0.2930 0.983 0.2 0
243 8e5518d9-ff0a-4c09-9cf9-a681c84c0b6e BE9558 2026-05-16T17:53:53 K558LLAV.1T0W Long 0.2898 0.2930 0.989 0.2 0
244 91dbd7e9-7344-400b-82b1-379f2ac4b49a BE9558 2026-05-16T17:59:11 K558LLAV.AN0W Long 0.2925 0.2930 0.998 0.2 0
245 fa256408-d480-4376-95b5-d1a549c483ea BE9558 2026-05-16T18:04:29 K558LLAV.JH0W Long 0.2977 0.3027 0.983 0.2 0
246 4ab6e66a-8364-49b6-82f1-86e86199e676 BE9558 2026-05-16T18:09:46 K558LLAV.SA0W Long 0.2944 0.2979 0.988 0.2 0
247 0a65fb7c-96e1-4ba0-85de-4620d88658c1 BE9558 2026-05-16T18:15:03 K558LLAW.130W Long 0.2965 0.2979 0.995 0.2 0
248 92b1ef3e-1696-4123-8662-163947737c83 BE9558 2026-05-16T18:20:20 K558LLAW.9W0W Long 0.2976 0.3027 0.983 0.2 0
249 9e3cb24c-4426-4220-9a73-389d0a96c94f BE9558 2026-05-16T18:25:37 K558LLAW.IP0W Long 0.2983 0.3027 0.985 0.2 0
250 a3473215-4c46-45ab-9aa7-1720486ec4a8 BE9558 2026-05-16T18:30:54 K558LLAW.RI0W Long 0.2956 0.2979 0.993 0.2 0
251 449665b1-47c8-4bd2-984c-8f45b627e6d8 BE9558 2026-05-16T18:36:11 K558LLAX.0B0W Long 0.2989 0.3027 0.987 0.2 0
252 600cfabc-cffd-42e1-800c-70e75f312316 BE9558 2026-05-16T20:00:12 K558LLB0.WC0W Long 0.3077 0.3125 0.985 0.2 0
253 12bf5944-0194-4f5b-b486-a7acd7141c7f BE9558 2026-05-16T20:04:28 K558LLB1.3G0W Long 0.2888 0.2930 0.986 0.2 0
254 f1fc913a-91bc-4240-a595-7dfe3091f9a2 BE9558 2026-05-16T20:07:29 K558LLB1.8H0W Long 0.2977 0.3027 0.983 0.2 0
255 e74f7ec3-20bb-4177-beb2-e802e5f801fd BE9558 2026-05-16T20:10:26 K558LLB1.DE0W Long 0.2978 0.3027 0.984 0.2 0
256 27491c3a-b631-4643-818a-714523911178 BE9558 2026-05-16T20:16:21 K558LLB1.N90W Long 0.2921 0.2930 0.997 0.2 0
257 9d9196ce-11e2-4f28-b01c-3dcc60e60d42 BE9558 2026-05-16T20:22:28 K558LLB1.XG0W Long 0.2881 0.2930 0.983 0.2 0
258 a592d7c8-b643-4b25-9186-3d611ae22709 BE9558 2026-05-16T20:25:37 K558LLB2.2P0W Long 0.2893 0.2930 0.987 0.2 0
259 f709a3d5-27cd-4bb1-b91c-669e8ea11d77 BE9558 2026-05-16T20:28:57 K558LLB2.890W Long 0.2880 0.2930 0.983 0.2 0
260 cc9cad87-b87f-4b67-854a-ffb21e876a92 BE9558 2026-05-16T20:32:45 K558LLB2.EL0W Long 0.2873 0.2930 0.980 0.2 0
261 10732d26-6b49-4b14-a474-6c75e259d278 BE9558 2026-05-16T20:49:32 K558LLB3.6K0W Long 0.2881 0.2930 0.983 0.2 0
262 aa63957a-fdb2-4f17-af52-a63bb015119d BE9558 2026-05-16T21:21:45 K558LLB4.O90W Long 0.2880 0.2930 0.983 0.2 0
263 8350440f-019d-45a4-b9f9-23058628e6f0 BE9558 2026-05-16T21:32:43 K558LLB5.6J0W Long 0.2925 0.2930 0.999 0.2 0
264 edfc10b2-dbe1-4527-a061-b0d670b5e5d2 BE9558 2026-05-16T21:35:37 K558LLB5.BD0W Long 0.2891 0.2930 0.987 0.2 0
265 f98001a3-88b2-4830-8112-b7c5164e99c3 BE9558 2026-05-16T21:38:40 K558LLB5.GG0W Long 0.2877 0.2930 0.982 0.2 0
266 f1e53e7b-b124-4fc5-82c2-504fb0c8b80d BE9558 2026-05-16T21:41:46 K558LLB5.LM0W Long 0.2881 0.2930 0.983 0.2 0
267 7890637f-142e-4775-b48c-fd4f3b8ada77 BE9558 2026-05-16T21:45:14 K558LLB5.RE0W Long 0.2880 0.2930 0.983 0.2 0
268 7c97c10f-b413-467c-9b56-c18e423cdcfa BE9558 2026-05-16T21:48:26 K558LLB5.WQ0W Long 0.2886 0.2930 0.985 0.2 0
269 8178cf22-8428-4f85-8199-0a43f7334a8f BE9558 2026-05-16T21:51:47 K558LLB6.2B0W Long 0.2881 0.2930 0.983 0.2 0
270 eceb2997-deb4-403a-802f-50e93d23d423 BE9558 2026-05-16T21:57:18 K558LLB6.BI0W Long 0.2881 0.2930 0.984 0.2 0
271 9c26690c-1983-4b21-b8af-7c7967c014c3 BE9558 2026-05-16T22:12:21 K558LLB7.0L0W Long 0.2876 0.2930 0.982 0.2 0
272 78f67fc3-08b7-4317-96ba-ee5544e0b95b BE9558 2026-05-16T22:19:34 K558LLB7.CM0W Long 0.2880 0.2930 0.983 0.2 0
273 7f9dad14-4f1b-492d-aa26-845a908ea894 BE9558 2026-05-16T22:27:40 K558LLB7.Q40W Long 0.2881 0.2930 0.983 0.2 0
274 f75c52b4-21b9-4065-baeb-5cfbd27d130a BE9558 2026-05-16T22:33:50 K558LLB8.0E0W Long 0.2881 0.2930 0.984 0.2 0
275 10f7496d-fa76-40a7-8bef-dc14e8a41869 BE9558 2026-05-16T22:40:48 K558LLB8.C00W Long 0.2878 0.2930 0.982 0.2 0
+93
View File
@@ -0,0 +1,93 @@
#!/usr/bin/env python3
"""Import every Blastware .MLG under a directory into SFM's DB and waveform store.
import_mlg_dir.py <dir> --db-path P --store-root S [--dry-run] [--not-call-in]
For a copy of an ACH folder (DL2 holds ~86,000). Idempotent: a file already
stored (same name, same bytes) counts as a duplicate. Files with records go
first, then the empty ones, so every unit's serial is known before its empty
files arrive whatever the folder order. Each file's modified time is stored
as its call-in time: copy with robocopy, not a Windows zip, whose dates read
an hour early from March to October.
Operational consequence: writes rows to mlg_files / mlg_records and copies each
original into <store>/<serial>/mlg/. The dry run writes nothing.
"""
from __future__ import annotations
import argparse
import datetime
import logging
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from minimateplus.mlg_file import MLG_PREFIX, MlgFormatError, parse_mlg
from sfm.database import SeismoDb
from sfm.mlg_ingest import ingest_mlg
from sfm.waveform_store import WaveformStore
log = logging.getLogger("import_mlg_dir")
_COUNTS = ("files", "ok", "duplicate", "error", "empty", "unresolved", "inserted", "skipped")
def _mlg_files(root: Path) -> list[Path]:
"""Files with records first, then empty ones; each group oldest first."""
found = [p for p in root.rglob("*") if p.is_file() and p.suffix.upper() == ".MLG"]
key = lambda p: (p.stat().st_size <= len(MLG_PREFIX), p.stat().st_mtime, p.name)
return sorted(found, key=key)
def import_dir(root: Path, db_path: str, store_root: str, *, dry_run: bool = False,
call_in: bool = True) -> dict:
counts = dict.fromkeys(_COUNTS, 0)
db = store = None
if not dry_run:
db, store = SeismoDb(db_path), WaveformStore(store_root)
for path in _mlg_files(root):
counts["files"] += 1
data = path.read_bytes()
if dry_run:
try:
mlg = parse_mlg(data)
except MlgFormatError as exc:
counts["error"] += 1
log.warning("%s: %s", path, exc)
continue
counts["error" if mlg.crc_failures else "ok"] += 1
counts["empty"] += mlg.empty
continue
mtime = datetime.datetime.fromtimestamp(path.stat().st_mtime, datetime.timezone.utc)
res = ingest_mlg(db, store, path.name, data, file_mtime=mtime, call_in=call_in)
counts[res["status"]] += 1
if res["status"] == "error":
log.warning("%s: %s", path, res["detail"])
continue
counts["empty"] += res["empty"]
counts["unresolved"] += res["serial_unresolved"]
counts["inserted"] += res["inserted"]
counts["skipped"] += res["skipped"]
return counts
def main(argv=None) -> int:
ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
ap.add_argument("dir")
ap.add_argument("--db-path", required=True)
ap.add_argument("--store-root", required=True)
ap.add_argument("--dry-run", action="store_true", help="parse and check only; write nothing")
ap.add_argument("--not-call-in", action="store_true",
help="these are cable / direct downloads, not call-ins")
a = ap.parse_args(argv)
logging.basicConfig(level=logging.WARNING)
counts = import_dir(Path(a.dir), a.db_path, a.store_root, dry_run=a.dry_run,
call_in=not a.not_call_in)
for key in _COUNTS:
print(f"{key} {counts[key]}")
return 0
if __name__ == "__main__":
raise SystemExit(main())
+2882 -2882
View File
File diff suppressed because it is too large. Load diff
+159 -3
View File
@@ -1,11 +1,15 @@
""" """
sfm/database.py — SQLite persistence layer for seismo-relay. sfm/database.py — SQLite persistence layer for seismo-relay.
Three tables, all keyed by unit serial number: Tables, all keyed by unit serial number:
ach_sessions — one row per inbound ACH call-home ach_sessions — one row per inbound ACH call-home
events — one row per triggered waveform event (deduped by serial+timestamp) events — one row per triggered waveform event (deduped by serial+timestamp)
monitor_log — one row per monitoring interval (deduped by serial+start_time) monitor_log — one row per monitoring interval (deduped by serial+start_time);
live 0x0A reads by bridges/ach_server.py only
mlg_files — one row per Blastware .MLG received (deduped by file name+sha256)
mlg_records — one row per .MLG log record (deduped by serial, start, stop,
flag word, trigger source — never the text, which Blastware writes)
The DB file lives at: The DB file lives at:
<output_dir>/seismo_relay.db (default: bridges/captures/seismo_relay.db) <output_dir>/seismo_relay.db (default: bridges/captures/seismo_relay.db)
@@ -43,7 +47,7 @@ from pathlib import Path
from typing import Optional from typing import Optional
from minimateplus.blastware_file import blastware_filename_time from minimateplus.blastware_file import blastware_filename_time
from minimateplus.models import Event, MonitorLogEntry from minimateplus.models import Event, MlgRecord, MonitorLogEntry
log = logging.getLogger("sfm.database") log = logging.getLogger("sfm.database")
@@ -150,6 +154,43 @@ CREATE TABLE IF NOT EXISTS device_commands (
states TEXT -- JSON: {"before": ..., "seen": [...], "after": ...} states TEXT -- JSON: {"before": ..., "seen": [...], "after": ...}
); );
CREATE INDEX IF NOT EXISTS idx_device_commands_serial ON device_commands(serial, ts); CREATE INDEX IF NOT EXISTS idx_device_commands_serial ON device_commands(serial, ts);
-- Blastware monitor logs (.MLG): spec docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md.
-- Record times are the unit's own local clock (naive ISO); file_mtime is UTC (+00:00).
CREATE TABLE IF NOT EXISTS mlg_files (
id TEXT PRIMARY KEY,
serial TEXT, -- NULL: an empty file whose unit is not known yet
file_name TEXT NOT NULL,
sha256 TEXT NOT NULL,
size INTEGER NOT NULL,
record_count INTEGER NOT NULL, -- log records in the file (header excluded)
empty INTEGER NOT NULL, -- 1: the 18-byte prefix alone
call_in INTEGER NOT NULL DEFAULT 1, -- 0: a cable / direct download
file_mtime TEXT, -- the file's modified time, when the sender gave it
received_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%S+00:00', 'now')),
stored_path TEXT, -- the original file, relative to the waveform store
last_stop TEXT, -- the stop of the file's last record: the call that sent it
no_file_stops TEXT, -- JSON: earlier Modem Exit stops in it, calls that left no file
UNIQUE(file_name, sha256)
);
CREATE INDEX IF NOT EXISTS idx_mlg_files_serial ON mlg_files(serial);
CREATE TABLE IF NOT EXISTS mlg_records (
id TEXT PRIMARY KEY,
serial TEXT NOT NULL,
start_time TEXT NOT NULL,
stop_time TEXT, -- NULL: "monitoring started", no stop yet
flags INTEGER NOT NULL, -- monitor-log flag word; 65535 = started
trigger_source INTEGER NOT NULL, -- 1-8 a channel, 1024 a histogram, 0 none
text TEXT,
trigger_level TEXT,
event_time TEXT,
file_id TEXT NOT NULL REFERENCES mlg_files(id), -- the file it first came in
seq INTEGER NOT NULL -- its position in that file (1 = first log record)
);
-- NULL stops are distinct to a UNIQUE constraint, so the identity uses COALESCE.
CREATE UNIQUE INDEX IF NOT EXISTS ux_mlg_records_identity
ON mlg_records(serial, start_time, COALESCE(stop_time, ''), flags, trigger_source);
""" """
@@ -1259,6 +1300,121 @@ class SeismoDb:
).fetchall() ).fetchall()
return [dict(r) for r in rows] return [dict(r) for r in rows]
# ── Blastware monitor logs (.MLG) ─────────────────────────────────────────
def mlg_file_exists(self, file_name: str, sha256: str) -> bool:
with self._connect() as conn:
row = conn.execute(
"SELECT 1 FROM mlg_files WHERE file_name = ? AND sha256 = ?",
(file_name, sha256),
).fetchone()
return row is not None
def insert_mlg(
self,
*,
serial: Optional[str],
file_name: str,
sha256: str,
size: int,
empty: bool,
call_in: bool,
file_mtime: Optional[datetime.datetime],
stored_path: Optional[str],
records: list[MlgRecord],
last_stop: Optional[datetime.datetime] = None,
no_file_stops: Optional[list[datetime.datetime]] = None,
) -> tuple[Optional[str], int, int]:
"""Store one .MLG file and its log records, in one transaction.
Returns (file_id, inserted, skipped); (None, 0, 0) when this file name
with these bytes is already stored. A record already stored (from an
earlier file) is skipped and keeps pointing at that file; the file's own
call summary (last_stop, no_file_stops) is kept on its row either way."""
file_id = self._new_id()
inserted = skipped = 0
no_file_json = json.dumps([self._iso(t) for t in (no_file_stops or [])])
with self._connect() as conn:
try:
conn.execute(
"""
INSERT INTO mlg_files
(id, serial, file_name, sha256, size, record_count, empty,
call_in, file_mtime, stored_path, last_stop, no_file_stops)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(file_id, serial, file_name, sha256, size, len(records), int(empty),
int(call_in), self._iso(file_mtime), stored_path, self._iso(last_stop),
no_file_json),
)
except sqlite3.IntegrityError:
return None, 0, 0
for r in records:
cur = conn.execute(
"""
INSERT OR IGNORE INTO mlg_records
(id, serial, start_time, stop_time, flags, trigger_source,
text, trigger_level, event_time, file_id, seq)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(self._new_id(), serial, self._iso(r.start), self._iso(r.stop), r.flags,
r.trigger_source, r.text, r.trigger_level, self._iso(r.event_time),
file_id, r.index),
)
if cur.rowcount:
inserted += 1
else:
skipped += 1
log.debug("insert_mlg %s inserted=%d skipped=%d", file_name, inserted, skipped)
return file_id, inserted, skipped
def query_mlg_records(
self,
serial: str,
from_dt: Optional[datetime.datetime] = None,
to_dt: Optional[datetime.datetime] = None,
) -> list[dict]:
"""A unit's .MLG records, oldest first (start time, then position in file)."""
clauses, params = ["serial = ?"], [serial]
if from_dt:
clauses.append("start_time >= ?")
params.append(from_dt.isoformat())
if to_dt:
clauses.append("start_time <= ?")
params.append(to_dt.isoformat())
with self._connect() as conn:
rows = conn.execute(
f"SELECT * FROM mlg_records WHERE {' AND '.join(clauses)} "
f"ORDER BY start_time, seq",
params,
).fetchall()
return [dict(r) for r in rows]
def query_mlg_files(self, serial: str) -> list[dict]:
"""A unit's received .MLG files, oldest file time first."""
with self._connect() as conn:
rows = conn.execute(
"SELECT * FROM mlg_files WHERE serial = ? "
"ORDER BY COALESCE(file_mtime, received_at), file_name",
(serial,),
).fetchall()
return [dict(r) for r in rows]
def get_mlg_file(self, file_id: str) -> Optional[dict]:
with self._connect() as conn:
row = conn.execute("SELECT * FROM mlg_files WHERE id = ?", (file_id,)).fetchone()
return dict(row) if row else None
def known_serials(self) -> set[str]:
"""Every serial SFM holds data for: events, .MLG files and records."""
with self._connect() as conn:
rows = conn.execute(
"SELECT serial FROM events WHERE serial IS NOT NULL "
"UNION SELECT serial FROM mlg_files WHERE serial IS NOT NULL "
"UNION SELECT serial FROM mlg_records"
).fetchall()
return {r["serial"] for r in rows if r["serial"]}
# ── Fleet overview ──────────────────────────────────────────────────────── # ── Fleet overview ────────────────────────────────────────────────────────
def query_units(self) -> list[dict]: def query_units(self) -> list[dict]:
+130
View File
@@ -0,0 +1,130 @@
"""
sfm/mlg_ingest.py — take in one Blastware .MLG: verify it, work out its unit,
keep the original, store its records once.
Shared by POST /db/import/mlg_file and scripts/import_mlg_dir.py. Spec:
docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md §3, §5, §6.
"""
from __future__ import annotations
import datetime
import hashlib
import logging
import re
from pathlib import Path
from typing import Optional
from minimateplus.mlg_file import MlgFormatError, parse_mlg
log = logging.getLogger("sfm.mlg_ingest")
_MODEM_EXIT = 0x0020
# A serial becomes a directory in the waveform store, and a header serial comes
# from the file's own bytes: only plain serials (BE6907, UM20147) are used.
_SERIAL_RE = re.compile(r"[A-Za-z0-9]{1,16}")
def usable_serial(serial: Optional[str]) -> bool:
return bool(serial) and _SERIAL_RE.fullmatch(serial) is not None
def resolve_serial(
file_name: str,
header_serial: Optional[str],
hint: Optional[str],
known: set[str],
) -> Optional[str]:
"""The unit a .MLG belongs to.
The serial inside the file wins; then the caller's hint. An empty file
carries none, and its name is <serial><counter> with nothing between, so
take the longest serial SFM already knows that the name starts with,
followed only by digits (or nothing: DL2's first file was BE8081.MLG).
None when nothing fits."""
if header_serial:
return header_serial
if hint:
return hint
stem = Path(file_name).name
if stem.upper().endswith(".MLG"):
stem = stem[:-4]
def fits(serial: str) -> bool:
counter = stem[len(serial):]
return stem.upper().startswith(serial.upper()) and (counter == "" or counter.isdigit())
candidates = [s for s in known if fits(s)]
return max(candidates, key=len) if candidates else None
def ingest_mlg(
db,
store,
file_name: str,
data: bytes,
*,
serial_hint: Optional[str] = None,
file_mtime: Optional[datetime.datetime] = None,
call_in: bool = True,
) -> dict:
"""Ingest one .MLG. Never raises for a bad file: the result says what happened.
status "error": not a whole .MLG, or any record fails its checksum — nothing
of it is stored. status "duplicate": this name with these bytes is already
stored. status "ok": the original is kept and its new records stored."""
result = {
"filename": file_name, "status": "error", "detail": None, "serial": None,
"serial_unresolved": False, "empty": False, "records": 0,
"inserted": 0, "skipped": 0, "file_id": None,
}
try:
mlg = parse_mlg(data)
except MlgFormatError as exc:
result["detail"] = str(exc)
return result
result["records"] = len(mlg.records)
result["empty"] = mlg.empty
if mlg.crc_failures:
result["detail"] = ", ".join(f"record {i}" for i in mlg.crc_failures) + " fails its checksum"
return result
header = mlg.serial or None
for label, value in (("the file's serial", header), ("the serial hint", serial_hint)):
if value is not None and not usable_serial(value):
result["detail"] = f"{label} {value!r} is not a plain serial"
return result
known = db.known_serials() if not (header or serial_hint) else set()
serial = resolve_serial(file_name, header, serial_hint, known)
if mlg.records and serial is None:
result["detail"] = "no serial: the file's header carries none and no hint was given"
return result
result["serial"] = serial
result["serial_unresolved"] = serial is None
# What this file says about calls, kept per file: a record stored once may
# have arrived first in another file (a cable download). The file was sent
# by the call that ended its last record; every earlier Modem Exit in it was
# a call that left no file.
last_stop = mlg.records[-1].stop if mlg.records else None
no_file_stops = [r.stop for r in mlg.records[:-1]
if not r.is_start and r.flags & _MODEM_EXIT and r.stop]
sha256 = hashlib.sha256(data).hexdigest()
if db.mlg_file_exists(file_name, sha256):
result["status"] = "duplicate"
result["detail"] = "this file is already stored"
return result
stored_path = store.save_mlg(serial, file_name, data)
file_id, inserted, skipped = db.insert_mlg(
serial=serial, file_name=file_name, sha256=sha256, size=len(data), empty=mlg.empty,
call_in=call_in, file_mtime=file_mtime, stored_path=stored_path, records=mlg.records,
last_stop=last_stop, no_file_stops=no_file_stops,
)
if file_id is None: # stored between the check and the insert
result["status"] = "duplicate"
result["detail"] = "this file is already stored"
return result
result.update(status="ok", file_id=file_id, inserted=inserted, skipped=skipped)
log.info("mlg %s serial=%s inserted=%d skipped=%d", file_name, serial, inserted, skipped)
return result
+359
View File
@@ -0,0 +1,359 @@
"""
sfm/mlg_timeline.py — a unit's monitoring timeline from its .MLG records.
Pure: takes the rows SeismoDb.query_mlg_records / query_mlg_files return and
gives back plain dicts (times as ISO strings). Spec §4,
docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md.
How sessions appear in a .MLG (measured on BE6907, BE12844, BE8081):
* a session with no events is one closed record: start, stop and why it stopped
* a session with events is a "monitoring started" record (flags 0xFFFF, no
stop), then the events, in the same file; the unit calls in after each
event and monitoring resumes as a new session, so the first session's end
is not written anywhere -- it lies between its last event's stop and the
next start
* a histogram session is a "monitoring started" record at T, then a histogram
record from T+1 s to the stop, carrying the stop reason
Times are the unit's own clock. When it steps back an hour after daylight
saving ends, a session starts before the previous one stopped: that is a clock
step, never a negative gap. Sessions are built in start order, but an event
always joins the "monitoring started" record of its own file, so a call-in on
the step day cannot move an event into the wrong session.
Every session and call-in names the records and files it rests on, so a shot
report can attach the original .MLG (GET /db/mlg_files/{id}).
"""
from __future__ import annotations
import datetime
import json
from dataclasses import dataclass
from typing import Optional
from minimateplus.event_file_io import monitor_log_description
_STARTED = 0xFFFF
_RECORDED = 0x0001
_HISTOGRAM_SOURCE = 0x0400
_JOIN_SECONDS = 2 # a histogram record starts 1 s after its "started" record
_GAP_MEANING = {
"Modem Exit": "call-in",
"Timer Stop": "scheduled off",
"Battery Low Exit": "lost power",
"Keyboard Exit": "stopped by a person",
"Remote Exit": "stopped by a person",
"Memory Full Exit": "memory full",
}
# A call-in takes minutes (BE12844 2, BE8081 5, measured). A longer gap after a
# Modem Exit, with no call-in file missing, is a unit that did not restart (BE6907
# for 14 days from 2026-10-07; BE8081 over Labor Day 2019).
_LONG_CALL_IN_MINUTES = 60
NO_RESTART = "no restart after a call-in"
# Each call-in file holds everything since the previous one and is numbered
# <serial><counter>. Records can be missing only where a number is: then the
# gap cannot say the unit was not monitoring.
RECORDS_MISSING = "records missing"
_MISSING_LISTED = 20
@dataclass
class _Rec:
id: str
file_id: str
start: datetime.datetime
stop: Optional[datetime.datetime]
flags: int
source: int
trigger_level: Optional[str]
seq: int
def _dt(value: Optional[str]) -> Optional[datetime.datetime]:
if not value:
return None
if value.endswith("Z"): # Python 3.10's fromisoformat rejects "Z"
value = value[:-1] + "+00:00"
return datetime.datetime.fromisoformat(value)
def _iso(value: Optional[datetime.datetime]) -> Optional[str]:
return value.isoformat() if value else None
def _ended_by(flags: int) -> Optional[str]:
return monitor_log_description(flags & ~_RECORDED & 0xFFFF).strip() or None
def _kind(r: _Rec) -> str:
if r.flags == _STARTED or r.stop is None:
return "start" # no stop: monitoring began here, its end is not known
if r.flags & _RECORDED:
return "histogram" if r.source == _HISTOGRAM_SOURCE else "event"
return "closed"
def _session(start, *, stop=None, ended_by=None, kind="monitoring", trigger_level=None) -> dict:
return {"start": start, "stop": stop, "end_after": None, "end_before": None,
"ended_by": ended_by, "kind": kind, "trigger_level": trigger_level,
"running_at_last_report": False, "events": [], "record_ids": [], "file_ids": []}
def _note(s: dict, r: _Rec) -> None:
s["record_ids"].append(r.id)
if r.file_id not in s["file_ids"]:
s["file_ids"].append(r.file_id)
def _event(r: _Rec) -> dict:
return {"start": r.start, "stop": r.stop, "trigger_source": r.source,
"trigger_level": r.trigger_level, "record_id": r.id,
"description": monitor_log_description(r.flags).strip()}
def _last_running_point(s: dict) -> datetime.datetime:
if s["events"]:
return s["events"][-1]["stop"] or s["events"][-1]["start"]
return s["start"]
def _sessions(recs: list[_Rec]) -> list[dict]:
sessions: list[dict] = []
pending: Optional[dict] = None # a session whose stop is not known yet
started_in_file: dict[str, dict] = {} # file id -> the session its latest start record opened
def close_pending(before: datetime.datetime) -> None:
nonlocal pending
if pending is not None:
pending["end_after"] = _last_running_point(pending)
pending["end_before"] = before
pending = None
def own_file_session(r: _Rec) -> Optional[dict]:
s = started_in_file.get(r.file_id)
if s is None or r.start < s["start"]:
return None
if s["stop"] is not None and r.start > s["stop"]:
return None
return s
for r in recs:
kind = _kind(r)
if kind == "start":
close_pending(r.start)
pending = _session(r.start, trigger_level=r.trigger_level)
_note(pending, r)
started_in_file[r.file_id] = pending
sessions.append(pending)
elif kind == "histogram":
if pending is not None and (r.start - pending["start"]).total_seconds() <= _JOIN_SECONDS:
pending.update(stop=r.stop, kind="histogram", ended_by=_ended_by(r.flags))
pending["trigger_level"] = pending["trigger_level"] or r.trigger_level
_note(pending, r)
pending = None
else:
close_pending(r.start)
s = _session(r.start, stop=r.stop, kind="histogram",
ended_by=_ended_by(r.flags), trigger_level=r.trigger_level)
_note(s, r)
sessions.append(s)
elif kind == "event":
own = own_file_session(r)
last = sessions[-1] if sessions else None
if own is not None:
own["events"].append(_event(r))
_note(own, r)
if own is pending:
if _ended_by(r.flags):
own.update(stop=r.stop, ended_by=_ended_by(r.flags))
pending = None
elif own["stop"] is None:
# A later session (another file) closed its window first: the
# unit's clock stepped back at the call-in after this event.
own["end_after"] = _last_running_point(own)
if own["end_before"] is not None and own["end_after"] > own["end_before"]:
own["end_before"] = None
elif last is not None and last["stop"] is not None and last["start"] <= r.start <= last["stop"]:
last["events"].append(_event(r))
_note(last, r)
elif pending is not None:
pending["events"].append(_event(r))
_note(pending, r)
if _ended_by(r.flags):
pending.update(stop=r.stop, ended_by=_ended_by(r.flags))
pending = None
else:
s = _session(r.start, trigger_level=r.trigger_level)
s["events"].append(_event(r))
_note(s, r)
if _ended_by(r.flags):
s.update(stop=r.stop, ended_by=_ended_by(r.flags))
else:
pending = s
sessions.append(s)
else:
close_pending(r.start)
s = _session(r.start, stop=r.stop, ended_by=_ended_by(r.flags),
trigger_level=r.trigger_level)
_note(s, r)
sessions.append(s)
if pending is not None:
pending["running_at_last_report"] = True
pending["end_after"] = _last_running_point(pending)
return sessions
def _counter(file_name: str, serial: Optional[str]) -> Optional[int]:
"""The call-in number in <serial><counter>.MLG; a bare <serial>.MLG is 0."""
stem = file_name[:-4] if file_name.upper().endswith(".MLG") else file_name
if not serial or not stem.upper().startswith(serial.upper()):
return None
rest = stem[len(serial):]
if rest == "":
return 0
return int(rest) if rest.isdigit() else None
def _missing_between(a: Optional[int], b: Optional[int], received: set[int]) -> list[int]:
if a is None or b is None or b <= a + 1:
return []
return [c for c in range(a + 1, b) if c not in received][:_MISSING_LISTED]
def _gaps_and_steps(sessions: list[dict], counter_of: dict[str, Optional[int]],
received: set[int]) -> tuple[list[dict], list[dict]]:
gaps, steps = [], []
for prev, nxt in zip(sessions, sessions[1:]):
end = prev["stop"] or prev["end_after"]
minutes = (nxt["start"] - end).total_seconds() / 60
if nxt["start"] < end:
steps.append({"previous_stop": end, "next_start": nxt["start"], "minutes": minutes})
continue
missing = _missing_between(counter_of.get(prev["file_ids"][-1]),
counter_of.get(nxt["file_ids"][0]), received)
meaning = _GAP_MEANING.get(prev["ended_by"], "unknown")
if missing:
meaning = RECORDS_MISSING
elif meaning == "call-in" and minutes > _LONG_CALL_IN_MINUTES:
meaning = NO_RESTART
gaps.append({"start": end, "stop": nxt["start"], "minutes": minutes, "meaning": meaning,
"missing_files": missing})
return gaps, steps
def _call_ins(files: list[dict]) -> list[dict]:
"""From each file's own call summary, written when it arrived (a record
stored once may have come first in another file)."""
out = []
for f in files:
if not f["call_in"]:
continue
base = {"file_name": f["file_name"], "file_id": f["id"]}
file_time = _iso(_dt(f["file_mtime"] or f["received_at"]))
if not f["record_count"]:
out.append({"kind": "nothing_new", "unit_time": None, "file_time": file_time, **base})
continue
for stop in json.loads(f["no_file_stops"] or "[]"):
out.append({"kind": "no_file", "unit_time": stop, "file_time": None, **base})
out.append({"kind": "delivered", "unit_time": f["last_stop"], "file_time": file_time, **base})
return out
def build_timeline(records: list[dict], files: list[dict]) -> dict:
"""Sessions, gaps (with what each means), clock steps and call-ins."""
recs = sorted(
(_Rec(r["id"], r["file_id"], _dt(r["start_time"]), _dt(r["stop_time"]), r["flags"],
r["trigger_source"], r["trigger_level"], r["seq"]) for r in records),
key=lambda r: (r.start, 0 if r.flags == _STARTED else 1, r.seq),
)
sessions = _sessions(recs)
counter_of = {f["id"]: _counter(f["file_name"], f["serial"]) for f in files if f["call_in"]}
received = {c for c in counter_of.values() if c is not None}
gaps, steps = _gaps_and_steps(sessions, counter_of, received)
for s in sessions:
for key in ("start", "stop", "end_after", "end_before"):
s[key] = _iso(s[key])
for e in s["events"]:
e["start"], e["stop"] = _iso(e["start"]), _iso(e["stop"])
for g in gaps:
g["start"], g["stop"] = _iso(g["start"]), _iso(g["stop"])
for c in steps:
c["previous_stop"], c["next_start"] = _iso(c["previous_stop"]), _iso(c["next_start"])
return {"sessions": sessions, "gaps": gaps, "clock_steps": steps, "call_ins": _call_ins(files)}
def window(timeline: dict, from_dt: Optional[datetime.datetime],
to_dt: Optional[datetime.datetime]) -> dict:
"""The parts of a timeline that overlap [from_dt, to_dt] (the unit's clock).
Sessions, gaps and clock steps are on the unit's clock and filter exactly.
A call-in with a unit time filters by it. A nothing_new call-in has only
the PC's file time (UTC); it is kept when within a day of the window, since
the unit's local clock and UTC differ by hours and cannot be compared
exactly."""
lo = from_dt or datetime.datetime.min
hi = to_dt or datetime.datetime.max
def overlaps(start: Optional[str], end: Optional[str]) -> bool:
s = _dt(start) or datetime.datetime.min
e = _dt(end) or datetime.datetime.max
return s <= hi and e >= lo
def call_in_kept(c: dict) -> bool:
if c["unit_time"]:
return lo <= _dt(c["unit_time"]) <= hi
if not c["file_time"]:
return True
t = _dt(c["file_time"]).replace(tzinfo=None)
day = datetime.timedelta(days=1)
return (lo == datetime.datetime.min or t >= lo - day) and (hi == datetime.datetime.max or t <= hi + day)
return {
"sessions": [s for s in timeline["sessions"]
if overlaps(s["start"], None if s["running_at_last_report"]
else s["stop"] or s["end_before"])],
"gaps": [g for g in timeline["gaps"] if overlaps(g["start"], g["stop"])],
"clock_steps": [c for c in timeline["clock_steps"] if overlaps(c["next_start"], c["previous_stop"])],
"call_ins": [c for c in timeline["call_ins"] if call_in_kept(c)],
}
def monitoring_at(timeline: dict, at: datetime.datetime) -> dict:
"""Was the unit monitoring at `at` (its own clock)?
monitoring: inside a session (boundaries included); two sessions matching
(the repeated hour after a clock step back) set ambiguous. unknown: inside
a session's unrecorded end, after its last report, where a call-in file is
missing (records missing), or where no record reaches.
not_monitoring: inside a gap, with what the gap means."""
result = {"status": "unknown", "ambiguous": False, "sessions": [], "gap": None,
"trigger_level": None, "reason": "no record covers this time"}
matches = []
for s in timeline["sessions"]:
start, end = _dt(s["start"]), _dt(s["stop"]) or _dt(s["end_after"])
if start <= at <= end:
matches.append(s)
if matches:
result.update(status="monitoring", ambiguous=len(matches) > 1, sessions=matches,
trigger_level=matches[0]["trigger_level"], reason="inside a monitoring session")
return result
for s in timeline["sessions"]:
if s["stop"] is not None or _dt(s["end_after"]) >= at:
continue
if s["running_at_last_report"]:
result.update(sessions=[s], reason="after the unit's last report")
return result
if s["end_before"] is not None and at < _dt(s["end_before"]):
result.update(sessions=[s], reason="the session's end was not recorded")
return result
for g in timeline["gaps"]:
if _dt(g["start"]) < at < _dt(g["stop"]):
if g["meaning"] == RECORDS_MISSING:
result.update(gap=g, reason="call-in file(s) not received: "
+ ", ".join(f"#{c}" for c in g["missing_files"]))
else:
result.update(status="not_monitoring", gap=g, reason=g["meaning"])
return result
return result
+115 -1
View File
@@ -43,6 +43,7 @@ or:
from __future__ import annotations from __future__ import annotations
import datetime import datetime
import json
import logging import logging
import socket import socket
import sys import sys
@@ -54,7 +55,7 @@ from typing import Any, Dict, Mapping, Optional
# FastAPI / Pydantic # FastAPI / Pydantic
try: try:
from fastapi import Body, FastAPI, File, HTTPException, Query, Response, UploadFile from fastapi import Body, FastAPI, File, Form, HTTPException, Query, Response, UploadFile
from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import FileResponse, JSONResponse, StreamingResponse from fastapi.responses import FileResponse, JSONResponse, StreamingResponse
from fastapi.staticfiles import StaticFiles from fastapi.staticfiles import StaticFiles
@@ -84,6 +85,8 @@ from sfm.live_cache import LiveCache as _LiveCache
from sfm.waveform_store import WaveformStore from sfm.waveform_store import WaveformStore
from sfm import db_snapshot from sfm import db_snapshot
from sfm.event_ingest import backfill_series3_event, persist_download from sfm.event_ingest import backfill_series3_event, persist_download
from sfm.mlg_ingest import ingest_mlg
from sfm.mlg_timeline import build_timeline, monitoring_at as mlg_monitoring_at, window as mlg_window
import dataclasses import dataclasses
from sfm.device_access import DeviceAccess, DeviceError, UnitAddress from sfm.device_access import DeviceAccess, DeviceError, UnitAddress
from sfm.device_access.errors import BadRequest, ChangeUnconfirmed from sfm.device_access.errors import BadRequest, ChangeUnconfirmed
@@ -3067,6 +3070,117 @@ async def db_import_idf_file(
return {"count": len(results), "results": results} return {"count": len(results), "results": results}
# ── Blastware monitor logs (.MLG) ─────────────────────────────────────────────
# Spec: docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md §5.
# Record and timeline times are the unit's own local clock; file times are UTC.
def _parse_unit_time(value: Optional[str], name: str, *, required: bool = False) -> Optional[datetime.datetime]:
"""A time on the unit's own clock: ISO-8601 with no UTC offset. 400 otherwise."""
if not value:
if required:
raise HTTPException(400, f"{name} is required (ISO-8601, the unit's clock)")
return None
try:
parsed = datetime.datetime.fromisoformat(value)
except ValueError:
raise HTTPException(400, f"{name} is not an ISO-8601 time: {value!r}")
if parsed.tzinfo is not None:
raise HTTPException(400, f"{name} is on the unit's own clock and carries no UTC offset: {value!r}")
return parsed
def _mlg_timeline(serial: str) -> dict:
db = _get_db()
return build_timeline(db.query_mlg_records(serial), db.query_mlg_files(serial))
@app.post("/db/import/mlg_file")
async def db_import_mlg_file(
files: list[UploadFile] = File(...),
serial: Optional[str] = Query(None, description="Serial hint, used only for a file with no serial inside (an empty one)"),
call_in: bool = Query(True, description="False for a cable / direct download: its records are kept, but it is not a call-in"),
mtimes: Optional[str] = Form(None, description='Each file\'s modified time: JSON {"<file name>": <unix seconds, UTC>}'),
) -> dict:
"""
Multipart upload of one or more Blastware .MLG monitor logs.
Each file gets its own status ("ok" / "duplicate" / "error"); good files
are stored even when another in the same request is not. A file that is
not whole, or any of whose records fails its checksum, stores nothing.
The original is kept byte for byte in the waveform store.
"""
try: # all of it checked before any file is stored
raw_times = json.loads(mtimes) if mtimes else {}
if not isinstance(raw_times, dict):
raise ValueError("not an object")
file_times = {name: datetime.datetime.fromtimestamp(float(stamp), datetime.timezone.utc)
for name, stamp in raw_times.items()}
except (ValueError, TypeError, OverflowError, OSError) as exc:
raise HTTPException(400, f"mtimes must be a JSON object of file name -> unix seconds: {exc}")
db, store = _get_db(), _get_store()
results: list[dict] = []
for upload in files:
name = upload.filename or "unnamed.MLG"
try:
data = await upload.read()
except Exception as exc:
results.append({"filename": name, "status": "error", "detail": f"read failed: {exc}"})
continue
results.append(ingest_mlg(db, store, name, data, serial_hint=serial,
file_mtime=file_times.get(name), call_in=call_in))
return {"count": len(results), "results": results}
@app.get("/db/units/{serial}/timeline")
def db_unit_timeline(
serial: str,
from_dt: Optional[str] = Query(None, description="ISO-8601, the unit's clock (inclusive)"),
to_dt: Optional[str] = Query(None, description="ISO-8601, the unit's clock (inclusive)"),
) -> dict:
"""A unit's monitoring timeline from its .MLGs: sessions (how each ended,
its events, its trigger level), gaps and what each means, clock steps, and
call-ins (delivered / no_file / nothing_new)."""
lo, hi = _parse_unit_time(from_dt, "from_dt"), _parse_unit_time(to_dt, "to_dt")
timeline = _mlg_timeline(serial)
if lo or hi:
timeline = mlg_window(timeline, lo, hi)
return {"serial": serial, **timeline}
@app.get("/db/units/{serial}/monitoring_at")
def db_unit_monitoring_at(
serial: str,
at: str = Query(..., description="ISO-8601, the unit's clock"),
) -> dict:
"""Was the unit monitoring at `at`? monitoring / not_monitoring / unknown,
with the session or gap that says so and the trigger level as logged."""
when = _parse_unit_time(at, "at", required=True)
return {"serial": serial, "at": at, **mlg_monitoring_at(_mlg_timeline(serial), when)}
@app.get("/db/mlg_records")
def db_mlg_records(
serial: str = Query(..., description="Unit serial"),
from_dt: Optional[str] = Query(None, description="ISO-8601 start (record start, inclusive)"),
to_dt: Optional[str] = Query(None, description="ISO-8601 end (record start, inclusive)"),
) -> dict:
"""A unit's raw .MLG records, oldest first."""
rows = _get_db().query_mlg_records(
serial, _parse_unit_time(from_dt, "from_dt"), _parse_unit_time(to_dt, "to_dt"))
return {"count": len(rows), "records": rows}
@app.get("/db/mlg_files/{file_id}")
def db_mlg_file(file_id: str):
"""The original .MLG, byte for byte, for printing or opening in Blastware."""
row = _get_db().get_mlg_file(file_id)
path = _get_store().root / row["stored_path"] if row and row["stored_path"] else None
if path is None or not path.is_file():
raise HTTPException(404, f"no stored .MLG with id {file_id}")
return FileResponse(path, filename=row["file_name"], media_type="application/octet-stream")
@app.get("/db/units/{serial}/waveforms.zip") @app.get("/db/units/{serial}/waveforms.zip")
def db_unit_waveforms_zip( def db_unit_waveforms_zip(
serial: str, serial: str,
+39 -3
View File
@@ -30,6 +30,7 @@ Roles:
from __future__ import annotations from __future__ import annotations
import datetime import datetime
import hashlib
import logging import logging
import pickle import pickle
import re import re
@@ -46,7 +47,19 @@ from sfm.shape_metrics import shape_from_h5, offset_from_h5
log = logging.getLogger("sfm.waveform_store") log = logging.getLogger("sfm.waveform_store")
A5_PICKLE_VERSION = 1 # 2 (2026-11-06, #58): frames as the parser gives them since an escaped checksum
# stopped leaving its 0x10 in `data`. A version-1 frame with a checksum of 02, 03
# or 04 still ends in that 0x10; load_a5 drops it (_frame_from_v1).
A5_PICKLE_VERSION = 2
def _frame_from_v1(f: S3Frame) -> S3Frame:
"""A frame pickled before #58, as the parser reads its reply now. Its 02/03/04
checksum arrived as `10 X` (every recorded one did), and the 10 ended `data`."""
if f.chk_byte in (0x02, 0x03, 0x04) and f.data[-1:] == b"\x10":
return S3Frame(sub=f.sub, page_hi=f.page_hi, page_lo=f.page_lo, data=f.data[:-1],
checksum_valid=f.checksum_valid, chk_byte=f.chk_byte)
return f
def _frame_to_dict(f: S3Frame) -> dict: def _frame_to_dict(f: S3Frame) -> dict:
@@ -93,6 +106,25 @@ class WaveformStore:
d.mkdir(parents=True, exist_ok=True) d.mkdir(parents=True, exist_ok=True)
return d return d
def save_mlg(self, serial: Optional[str], file_name: str, data: bytes) -> str:
"""Keep an original .MLG byte for byte, at <serial or _unresolved>/mlg/<file_name>.
Blastware reuses some names (a cable download is always <serial>.MLG), so
a name already holding different bytes gets the hash in its name instead.
Returns the path relative to the store root. Raises ValueError for a
serial that is not plain letters and digits (it becomes a directory)."""
if serial is not None and not re.fullmatch(r"[A-Za-z0-9]{1,16}", serial):
raise ValueError(f"not a plain serial: {serial!r}")
d = self.root / (serial or "_unresolved") / "mlg"
d.mkdir(parents=True, exist_ok=True)
path = d / Path(file_name).name
if path.exists() and path.read_bytes() != data:
digest = hashlib.sha256(data).hexdigest()[:8]
path = d / f"{path.stem}.{digest}{path.suffix}"
if not path.exists():
path.write_bytes(data)
return path.relative_to(self.root).as_posix()
def paths_for(self, serial: str, filename: str) -> tuple[Path, Path]: def paths_for(self, serial: str, filename: str) -> tuple[Path, Path]:
"""Return (blastware_path, a5_pickle_path) for a given serial+filename. """Return (blastware_path, a5_pickle_path) for a given serial+filename.
@@ -801,7 +833,8 @@ class WaveformStore:
def load_a5(self, serial: str, filename: str) -> Optional[list[S3Frame]]: def load_a5(self, serial: str, filename: str) -> Optional[list[S3Frame]]:
""" """
Re-hydrate the pickled A5 frame stream for a stored event. Re-hydrate the pickled A5 frame stream for a stored event, as the parser
reads it now (a version-1 pickle's frames are converted).
Returns None if the sidecar is missing. Returns None if the sidecar is missing.
""" """
_, a5_path = self.paths_for(serial, filename) _, a5_path = self.paths_for(serial, filename)
@@ -812,7 +845,10 @@ class WaveformStore:
if not isinstance(payload, dict) or "frames" not in payload: if not isinstance(payload, dict) or "frames" not in payload:
log.warning("WaveformStore.load_a5: malformed sidecar at %s", a5_path) log.warning("WaveformStore.load_a5: malformed sidecar at %s", a5_path)
return None return None
return [_dict_to_frame(d) for d in payload["frames"]] frames = [_dict_to_frame(d) for d in payload["frames"]]
if payload.get("version", 1) < 2:
frames = [_frame_from_v1(f) for f in frames]
return frames
# ── modern .sfm.json sidecar accessors ────────────────────────────────────── # ── modern .sfm.json sidecar accessors ──────────────────────────────────────
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE9559</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>K559HCQ7.IU0H</FileName>
<HistogramStartTime>17:06:30</HistogramStartTime>
<HistogramStartDate>2018-04-02</HistogramStartDate>
<HistogramStopTime>17:07:47</HistogramStopTime>
<HistogramStopDate>2018-04-02</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.8 Volts</BatteryLevel>
<Calibration>July 24, 2017 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>JV 254</Project>
<Client>Walsh Granite JV</Client>
<UserName>TMI- DB</UserName>
<Seis.Loc>Keim Chevrolet</Seis.Loc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>17:07:30</TranPeakTime>
<TranPeakDate>2018-04-02</TranPeakDate>
<VertPeakTime>17:07:30</VertPeakTime>
<VertPeakDate>2018-04-02</VertPeakDate>
<LongPeakTime>17:07:30</LongPeakTime>
<LongPeakDate>2018-04-02</LongPeakDate>
<PeakVectorSum>
<Value>0.007</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>17:07:30</PeakVectorSumTime>
<PeakVectorSumDate>2018-04-02</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>88.0</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>17:07:30</MicLTime>
<MicLDate>2018-04-02</MicLDate>
<MicLZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.7 Hz.</TranTestFreq>
<TranTestRatio>3.8</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.6 Hz.</VertTestFreq>
<VertTestRatio>3.5</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.5 Hz.</LongTestFreq>
<LongTestRatio>4.3</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>20.1 Hz.</MicLTestFreq>
<MicLTestAmplitude>589 mv</MicLTestAmplitude>
<MicLTestResults>Passed</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2018-04-02 17:06:30 - 2018-04-02 17:07:47 &quot;Event Recorded Remote Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2018-04-02 17:07:30</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.007</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE18189</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>T189INWA.060H</FileName>
<HistogramStartTime>16:04:54</HistogramStartTime>
<HistogramStartDate>2020-10-05</HistogramStartDate>
<HistogramStopTime>16:06:09</HistogramStopTime>
<HistogramStopDate>2020-10-05</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.8 Volts</BatteryLevel>
<Calibration>August 25, 2020 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>CMU-New Scaife Hall- Porter Hall</Project>
<Client>PJ Dick Inc.</Client>
<UserName>Terra-Mechanics, Inc. - D. Harrison</UserName>
<Seis.Loc.>Loc. 3 - Porter Hall</Seis.Loc.>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>0.005</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>N/A</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>16:05:54</TranPeakTime>
<TranPeakDate>2020-10-05</TranPeakDate>
<VertPeakTime>16:05:54</VertPeakTime>
<VertPeakDate>2020-10-05</VertPeakDate>
<LongPeakTime>16:05:54</LongPeakTime>
<LongPeakDate>2020-10-05</LongPeakDate>
<PeakVectorSum>
<Value>0.009</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>16:05:54</PeakVectorSumTime>
<PeakVectorSumDate>2020-10-05</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>106.5</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>16:05:54</MicLTime>
<MicLDate>2020-10-05</MicLDate>
<MicLZCFreq>
<Value>73</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.6 Hz.</TranTestFreq>
<TranTestRatio>3.7</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.6 Hz.</VertTestFreq>
<VertTestRatio>3.5</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.4 Hz.</LongTestFreq>
<LongTestRatio>4.1</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>0.0 Hz.</MicLTestFreq>
<MicLTestAmplitude>0 mv</MicLTestAmplitude>
<MicLTestResults>Check</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2020-10-05 16:04:53 - 2020-10-05 16:06:09 &quot;Event Recorded Keyboard Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2020-10-05 16:05:54</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>N/A</Cell><Cell>0.009</Cell><Cell>0.001</Cell><Cell>106.5</Cell><Cell>73</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE18189</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>T189JZY7.L60H</FileName>
<HistogramStartTime>20:00:42</HistogramStartTime>
<HistogramStartDate>2023-04-27</HistogramStartDate>
<HistogramStopTime>20:01:42</HistogramStopTime>
<HistogramStopDate>2023-04-27</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.8 Volts</BatteryLevel>
<Calibration>February 21, 2023 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>I-70 at SR 51-75978 - Loc 1 - 4256 SR51</Project>
<Client>Golden Triangle</Client>
<UserName>Terra-Mechanics Inc. - B. Harrison</UserName>
<SeisLoc>Location #1 - 4256 SR 51 - Intec</SeisLoc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>0.015</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>0.020</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>0.015</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>N/A</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>14</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>N/A</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>20:01:42</TranPeakTime>
<TranPeakDate>2023-04-27</TranPeakDate>
<VertPeakTime>20:01:42</VertPeakTime>
<VertPeakDate>2023-04-27</VertPeakDate>
<LongPeakTime>20:01:42</LongPeakTime>
<LongPeakDate>2023-04-27</LongPeakDate>
<PeakVectorSum>
<Value>0.027</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>20:01:42</PeakVectorSumTime>
<PeakVectorSumDate>2023-04-27</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>91.5</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>20:01:42</MicLTime>
<MicLDate>2023-04-27</MicLDate>
<MicLZCFreq>
<Value>N/A</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.6 Hz.</TranTestFreq>
<TranTestRatio>3.8</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.6 Hz.</VertTestFreq>
<VertTestRatio>3.5</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.5 Hz.</LongTestFreq>
<LongTestRatio>4.0</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>19.7 Hz.</MicLTestFreq>
<MicLTestAmplitude>577 mv</MicLTestAmplitude>
<MicLTestResults>Passed</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2023-04-27 20:00:41 - 2023-04-27 20:01:42 &quot;Event Recorded Battery Low Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2023-04-27 20:01:42</Time>
<Row>
<Cell>0.015</Cell><Cell>N/A</Cell><Cell>0.020</Cell><Cell>14</Cell><Cell>0.015</Cell><Cell>N/A</Cell><Cell>0.027</Cell><Cell>0.000</Cell><Cell>91.48</Cell><Cell>N/A</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE18192</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>T192JWEL.0Y0H</FileName>
<HistogramStartTime>21:58:10</HistogramStartTime>
<HistogramStartDate>2023-02-17</HistogramStartDate>
<HistogramStopTime>22:00:00</HistogramStopTime>
<HistogramStopDate>2023-02-17</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>7.0 Volts</BatteryLevel>
<Calibration>September 15, 2022 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>Trumbull-Berkeley By.-Loc 2-85 Pennsyl</Project>
<Client>Trumbull Corporation</Client>
<UserName>Terra-Mechanics Inc - D Harrison</UserName>
<SeisLoc>Loc #2- 85 Pennsylvania Lane</SeisLoc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>0.010</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>0.010</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>0.010</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>21:59:10</TranPeakTime>
<TranPeakDate>2023-02-17</TranPeakDate>
<VertPeakTime>21:59:10</VertPeakTime>
<VertPeakDate>2023-02-17</VertPeakDate>
<LongPeakTime>21:59:10</LongPeakTime>
<LongPeakDate>2023-02-17</LongPeakDate>
<PeakVectorSum>
<Value>0.014</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>21:59:10</PeakVectorSumTime>
<PeakVectorSumDate>2023-02-17</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>120.0</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>21:59:10</MicLTime>
<MicLDate>2023-02-17</MicLDate>
<MicLZCFreq>
<Value>8.8</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.4 Hz.</TranTestFreq>
<TranTestRatio>4.1</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.7 Hz.</VertTestFreq>
<VertTestRatio>3.6</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.4 Hz.</LongTestFreq>
<LongTestRatio>4.2</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>19.7 Hz.</MicLTestFreq>
<MicLTestAmplitude>688 mv</MicLTestAmplitude>
<MicLTestResults>Passed</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2023-02-17 21:58:09 - 2023-02-17 22:00:00 &quot;Event Recorded Timer Stop&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2023-02-17 21:59:10</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.014</Cell><Cell>0.003</Cell><Cell>120.0</Cell><Cell>8.8</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
+117
View File
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE9558</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>K558KD43.NZ0H</FileName>
<HistogramStartTime>17:38:23</HistogramStartTime>
<HistogramStartDate>2024-01-08</HistogramStartDate>
<HistogramStopTime>17:38:59</HistogramStopTime>
<HistogramStopDate>2024-01-08</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.2 Volts</BatteryLevel>
<Calibration>May 31, 2023 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>CMU-RKM Hall-Loc 2-Museum-Scaife Gallery</Project>
<Client>PJ Dick Inc.</Client>
<UserName>Terra-Mechanics Inc. - Harrison</UserName>
<Seis.Loc>Location #2 -Museum - Scaife Gallery</Seis.Loc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>1.830</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>4.935</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>3.925</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>16</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>51</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>8.0</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>17:38:59</TranPeakTime>
<TranPeakDate>2024-01-08</TranPeakDate>
<VertPeakTime>17:38:59</VertPeakTime>
<VertPeakDate>2024-01-08</VertPeakDate>
<LongPeakTime>17:38:59</LongPeakTime>
<LongPeakDate>2024-01-08</LongPeakDate>
<PeakVectorSum>
<Value>5.012</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>17:38:59</PeakVectorSumTime>
<PeakVectorSumDate>2024-01-08</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>OORANGE</Value>
<Units></Units>
</MicLPSPL>
<MicLTime>17:38:59</MicLTime>
<MicLDate>2024-01-08</MicLDate>
<MicLZCFreq>
<Value>18</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.4 Hz.</TranTestFreq>
<TranTestRatio>4.1</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.6 Hz.</VertTestFreq>
<VertTestRatio>3.3</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.4 Hz.</LongTestFreq>
<LongTestRatio>3.7</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>0.0 Hz.</MicLTestFreq>
<MicLTestAmplitude>0 mv</MicLTestAmplitude>
<MicLTestResults>Check</MicLTestResults>
<OORANGE>Out of Range</OORANGE>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2024-01-08 17:38:22 - 2024-01-08 17:38:59 &quot;Event Recorded Modem Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2024-01-08 17:38:59</Time>
<Row>
<Cell>1.830</Cell><Cell>16</Cell><Cell>4.935</Cell><Cell>51</Cell><Cell>3.925</Cell><Cell>8.0</Cell><Cell>5.012</Cell><Cell>OORANGE</Cell><Cell>OORANGE</Cell><Cell>18</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
+743
View File
@@ -0,0 +1,743 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE11007</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>M007JC05.OI0H</FileName>
<HistogramStartTime>07:48:18</HistogramStartTime>
<HistogramStartDate>2022-01-17</HistogramStartDate>
<HistogramStopTime>11:18:02</HistogramStopTime>
<HistogramStopDate>2022-01-17</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>210.00</NumberofIntervals>
<IntervalSize>1 minute</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.8 Volts</BatteryLevel>
<Calibration>April 7, 2021 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>ECMS100607 - Loc 1 - 740 Washington Ave</Project>
<Client>J B Fay Co.</Client>
<UserName>Terra-Mechanics Inc. - D. Harrison</UserName>
<SeisLoc>Location #1 - 740 Washington - Church</SeisLoc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>8.360</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>8.350</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>8.385</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>&gt;100</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>11:18:02</TranPeakTime>
<TranPeakDate>2022-01-17</TranPeakDate>
<VertPeakTime>11:18:02</VertPeakTime>
<VertPeakDate>2022-01-17</VertPeakDate>
<LongPeakTime>11:18:02</LongPeakTime>
<LongPeakDate>2022-01-17</LongPeakDate>
<PeakVectorSum>
<Value>14.49</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>11:18:02</PeakVectorSumTime>
<PeakVectorSumDate>2022-01-17</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>144.9</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>11:18:02</MicLTime>
<MicLDate>2022-01-17</MicLDate>
<MicLZCFreq>
<Value>1.7</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.5 Hz.</TranTestFreq>
<TranTestRatio>3.9</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.5 Hz.</VertTestFreq>
<VertTestRatio>3.7</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.5 Hz.</LongTestFreq>
<LongTestRatio>4.2</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>20.5 Hz.</MicLTestFreq>
<MicLTestAmplitude>574 mv</MicLTestAmplitude>
<MicLTestResults>Passed</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2022-01-17 07:48:17 - 2022-01-17 11:18:02 &quot;Event Recorded Modem Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2022-01-17 07:49:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:50:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:51:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:52:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:53:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:54:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:55:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:56:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:57:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:58:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 07:59:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:00:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:01:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:02:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:03:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:04:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:05:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:06:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:07:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:08:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:09:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:10:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:11:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:12:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:13:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:14:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:15:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:16:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:17:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:18:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:19:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:20:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:21:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:22:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:23:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:24:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:25:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:26:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:27:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:28:18</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:29:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:30:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:31:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:32:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:33:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:34:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:35:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:36:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:37:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:38:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:39:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:40:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:41:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:42:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:43:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:44:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:45:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:46:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:47:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:48:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:49:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:50:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:51:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:52:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:53:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:54:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:55:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:56:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:57:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:58:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 08:59:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:00:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:01:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:02:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:03:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:04:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:05:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:06:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:07:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:08:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:09:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:10:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:11:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:12:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:13:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:14:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:15:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:16:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:17:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:18:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:19:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:20:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:21:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:22:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>93.98</Cell><Cell>64</Cell></Row>
<Time>2022-01-17 09:23:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:24:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:25:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:26:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:27:18</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:28:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:29:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:30:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:31:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:32:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:33:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:34:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:35:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.012</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:36:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:37:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:38:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:39:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:40:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:41:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:42:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:43:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:44:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:45:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:46:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:47:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:48:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:49:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:50:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:51:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:52:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:53:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:54:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:55:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:56:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:57:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:58:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 09:59:18</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:00:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:01:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:02:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:03:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:04:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:05:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:06:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:07:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:08:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:09:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:10:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:11:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:12:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:13:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:14:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:15:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:16:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:17:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:18:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:19:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:20:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:21:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:22:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:23:18</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:24:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:25:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:26:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:27:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:28:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:29:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:30:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.009</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:31:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:32:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:33:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:34:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:35:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:36:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:37:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:38:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:39:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:40:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:41:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:42:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:43:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:44:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:45:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:46:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:47:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:48:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:49:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:50:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:51:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:52:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:53:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:54:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:55:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:56:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:57:18</Time>
<Row>
<Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:58:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 10:59:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:00:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:01:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:02:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:03:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:04:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:05:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:06:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:07:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:08:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:09:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:10:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:11:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>91.48</Cell><Cell>64</Cell></Row>
<Time>2022-01-17 11:12:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:13:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:14:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:15:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.011</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:16:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.012</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:17:18</Time>
<Row>
<Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>&gt;100</Cell><Cell>0.005</Cell><Cell>&gt;100</Cell><Cell>0.010</Cell><Cell>0.000</Cell><Cell>87.96</Cell><Cell>&gt;100</Cell></Row>
<Time>2022-01-17 11:18:02</Time>
<Row>
<Cell>8.360</Cell><Cell>&gt;100</Cell><Cell>8.350</Cell><Cell>&gt;100</Cell><Cell>8.385</Cell><Cell>&gt;100</Cell><Cell>14.49</Cell><Cell>0.051</Cell><Cell>144.9</Cell><Cell>1.7</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
+116
View File
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Event>
<FileVersion>8.0</FileVersion>
<EventType>Full Histogram</EventType>
<SerialNumber>BE13121</SerialNumber>
<Version>V 10.72-8.17 MiniMate Plus</Version>
<FileName>O121L4L1.GU0H</FileName>
<HistogramStartTime>18:17:18</HistogramStartTime>
<HistogramStartDate>2025-06-25</HistogramStartDate>
<HistogramStopTime>18:19:31</HistogramStopTime>
<HistogramStopDate>2025-06-25</HistogramStopDate>
<Channels>
<Channel>Tran</Channel>
<Channel>Vert</Channel>
<Channel>Long</Channel>
<Channel>MicL</Channel>
</Channels>
<NumberofIntervals>1.00</NumberofIntervals>
<IntervalSize>5 minutes</IntervalSize>
<SampleRate>1024 sps</SampleRate>
<BatteryLevel>6.4 Volts</BatteryLevel>
<Calibration>April 29, 2025 by Instantel</Calibration>
<Units>in/s and dB(L)</Units>
<Project>Fay - Locks &amp; Dam No3- Loc3- 735 Bunola</Project>
<Client>Fay Company</Client>
<UserName>Terra-Mechanics Inc - Harrison</UserName>
<SeisLoc>Loc. No 3 - 735 Bunola River Rd - Church</SeisLoc>
<GeoRange>
<Value>10.000</Value>
<Units>in/s</Units>
</GeoRange>
<TranPPV>
<Value>OORANGE</Value>
<Units>in/s</Units>
</TranPPV>
<VertPPV>
<Value>0.305</Value>
<Units>in/s</Units>
</VertPPV>
<LongPPV>
<Value>0.405</Value>
<Units>in/s</Units>
</LongPPV>
<TranZCFreq>
<Value>85</Value>
<Units>Hz</Units>
</TranZCFreq>
<VertZCFreq>
<Value>47</Value>
<Units>Hz</Units>
</VertZCFreq>
<LongZCFreq>
<Value>57</Value>
<Units>Hz</Units>
</LongZCFreq>
<TranPeakTime>18:19:31</TranPeakTime>
<TranPeakDate>2025-06-25</TranPeakDate>
<VertPeakTime>18:19:31</VertPeakTime>
<VertPeakDate>2025-06-25</VertPeakDate>
<LongPeakTime>18:19:31</LongPeakTime>
<LongPeakDate>2025-06-25</LongPeakDate>
<PeakVectorSum>
<Value>OORANGE</Value>
<Units>in/s</Units>
</PeakVectorSum>
<PeakVectorSumTime>18:19:31</PeakVectorSumTime>
<PeakVectorSumDate>2025-06-25</PeakVectorSumDate>
<Microphone>Linear Weighting</Microphone>
<MicLPSPL>
<Value>123.4</Value>
<Units>dB(L)</Units>
</MicLPSPL>
<MicLTime>18:19:31</MicLTime>
<MicLDate>2025-06-25</MicLDate>
<MicLZCFreq>
<Value>85</Value>
<Units>Hz</Units>
</MicLZCFreq>
<TranTestFreq>7.3 Hz.</TranTestFreq>
<TranTestRatio>4.0</TranTestRatio>
<TranTestResults>Passed</TranTestResults>
<VertTestFreq>7.7 Hz.</VertTestFreq>
<VertTestRatio>3.6</VertTestRatio>
<VertTestResults>Passed</VertTestResults>
<LongTestFreq>7.6 Hz.</LongTestFreq>
<LongTestRatio>3.6</LongTestRatio>
<LongTestResults>Passed</LongTestResults>
<MicLTestFreq>0.0 Hz.</MicLTestFreq>
<MicLTestAmplitude>0 mv</MicLTestAmplitude>
<MicLTestResults>Check</MicLTestResults>
<UsbSummaryChannels>
</UsbSummaryChannels>
<MonitorLog>2025-06-25 18:17:17 - 2025-06-25 18:19:31 &quot;Event Recorded Modem Exit&quot;</MonitorLog>
<HistogramData>
<HistogramDataColumnTitle>
<ColumnTitle> Tran Peak in/s </ColumnTitle>
<ColumnTitle> Tran Freq Hz </ColumnTitle>
<ColumnTitle> Vert Peak in/s </ColumnTitle>
<ColumnTitle> Vert Freq Hz </ColumnTitle>
<ColumnTitle> Long Peak in/s </ColumnTitle>
<ColumnTitle> Long Freq Hz </ColumnTitle>
<ColumnTitle> Geo PVS in/s </ColumnTitle>
<ColumnTitle> MicL Peak psi(L) </ColumnTitle>
<ColumnTitle> MicL Peak dB(L) </ColumnTitle>
<ColumnTitle> MicL Freq Hz </ColumnTitle>
</HistogramDataColumnTitle>
<HistogramDataIntervals>
<Time>2025-06-25 18:19:31</Time>
<Row>
<Cell>OORANGE</Cell><Cell>85</Cell><Cell>0.305</Cell><Cell>47</Cell><Cell>0.405</Cell><Cell>57</Cell><Cell>OORANGE</Cell><Cell>0.004</Cell><Cell>123.4</Cell><Cell>85</Cell></Row>
</HistogramDataIntervals>
</HistogramData>
<HistogramDataUsbChannels>
</HistogramDataUsbChannels>
</Event>
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -23,7 +23,7 @@ from minimateplus.bw_ascii_report import (
) )
FIXTURES = Path(__file__).parent.parent / "decode-re" / "5-8-26" FIXTURES = Path(__file__).parent / "fixtures" / "decode-re-5-8-26"
def _fixture(event_name: str) -> Path: def _fixture(event_name: str) -> Path:
+237
View File
@@ -522,3 +522,240 @@ def test_waveform_peak_detail_comes_from_the_samples(rel, times, pvs_time, accel
def test_a_histogram_has_no_waveform_peak_detail(): def test_a_histogram_has_no_waveform_peak_detail():
pv = read_blastware_file(_FIX / "decode-checker-10-29-26/T004JTRF.ME0H").peak_values pv = read_blastware_file(_FIX / "decode-checker-10-29-26/T004JTRF.ME0H").peak_values
assert (pv.tran_time_of_peak, pv.pvs_time, pv.tran_peak_accel_g) == (None, None, None) assert (pv.tran_time_of_peak, pv.pvs_time, pv.tran_peak_accel_g) == (None, None, None)
# ── Group D, part 2: the unit's own event summary ───────────────────────────
# After its embedded event record a file carries the unit's per-channel summary,
# one 24-byte record each (ids 0x32 Tran .. 0x35 MicL): min, max, peak sample,
# half-period and a displacement integral (measured on DL2, 2026-11-05):
# ZC frequency = (rate / 2) / half-period: 15,844 / 15,844 waveform values and
# 104,000 / 104,000 histogram values; every word too (">100" at <= 5 samples,
# "N/A" at 0, "<1.0" beyond rate / 2)
# displacement = integral x 16 counts x in/s per count / rate / 2: 19,479 / 19,479
# Every expected value below is Blastware's own, from the file's _XML.XML report.
_US = "unit-summary-11-05-26"
def _prints_as(value, printed):
d = len(printed.split(".")[1]) if "." in printed else 0
return abs(value - float(printed)) <= 0.5 * 10 ** -d + 1e-9
@pytest.mark.parametrize("rel,printed", [
# (Tran, Vert, Long, MicL) ZC Freq as Blastware prints it; None = no channel
(f"{_US}/I145L6UJ.3Y0W", ("43", "37", "39", "43")), # 1024 sps
(f"{_US}/K557L7FX.SC0W", (">200", "171", ">200", "26")), # 2048 sps
(f"{_US}/R349KMF7.9O0W", ("17.4", "66", "12.6", "19.5")), # 4096 sps
(f"{_US}/K558IKSJ.P20W", ("N/A", "<1.0", "N/A", "N/A")),
(f"{_US}/O117I1NK.R70W", (">100", ">100", ">100", ">100")),
(f"{_US}/R352HFZ7.5D0W", ("73", "30", "24", None)), # a unit without a mic
(f"{_US}/T193HLJ3.X80H", (">100", ">100", "73", "57")), # a histogram
])
def test_zc_frequency_is_the_units_own(rel, printed):
pv = read_blastware_file(_FIX / rel).peak_values
for ch, want in zip(("tran", "vert", "long", "mic"), printed):
got, above = getattr(pv, f"{ch}_zc_freq"), getattr(pv, f"{ch}_zc_above_range")
if want in (None, "N/A"):
assert (got, above) == (None, False), ch
elif want.startswith(">"):
assert (got, above) == (float(want[1:]), True), ch # Blastware's threshold, flagged
elif want == "<1.0":
assert 0 < got < 1.0 and not above, (ch, got)
else:
assert _prints_as(got, want) and not above, (ch, got, want)
@pytest.mark.parametrize("rel,printed", [
(f"{_US}/I145L6UJ.3Y0W", ("0.000", "0.000", "0.000")),
(f"{_US}/K558IKSJ.P20W", ("0.000", "0.046", "0.000")),
(f"{_US}/R349KMF7.9O0W", ("0.004", "0.001", "0.012")), # 4096 sps
(f"{_US}/R352HFZ7.5D0W", ("0.003", "0.010", "0.006")),
(f"{_US}/O117I1NK.R70W", ("1.480", "1.483", "2.616")), # clipped: beyond the samples
])
def test_peak_displacement_is_the_units_own(rel, printed):
pv = read_blastware_file(_FIX / rel).peak_values
for ch, want in zip(("tran", "vert", "long"), printed):
got = getattr(pv, f"{ch}_peak_disp_in")
assert got is not None and _prints_as(got, want), (ch, got, want)
def test_a_histogram_has_no_peak_displacement():
pv = read_blastware_file(_FIX / f"{_US}/T193HLJ3.X80H").peak_values
assert (pv.tran_peak_disp_in, pv.vert_peak_disp_in, pv.long_peak_disp_in) == (None, None, None)
def test_time_of_peak_is_the_units_own_peak_sample():
# O117I1NK clips: its stored samples wrap at the trigger, so their largest
# lands elsewhere, but the unit's summary has every peak at the trigger --
# Blastware prints 0.000 on all four channels and the vector sum.
pv = read_blastware_file(_FIX / f"{_US}/O117I1NK.R70W").peak_values
for ch in ("tran", "vert", "long", "micl"):
assert getattr(pv, f"{ch}_time_of_peak") == 0.0, ch
assert pv.pvs_time == 0.0
def test_an_unreadable_channel_record_leaves_only_that_channel_unread():
raw = bytearray((_FIX / f"{_US}/I145L6UJ.3Y0W").read_bytes())
i = raw.find(b"\x00\x16\x32")
raw[i + 2] = 0x00 # break the Tran record's id; the chain holds
pv = decode_blastware_bytes(bytes(raw), name=None).peak_values
assert (pv.tran_zc_freq, pv.tran_peak_disp_in) == (None, None)
assert abs(pv.tran_time_of_peak - 2.281) <= 0.0005 # the samples' peak, as before
assert _prints_as(pv.mic_zc_freq, "43") # the others are read
def test_without_a_whole_record_chain_nothing_is_guessed():
# The chain from the event record ends exactly at the file's end on all
# 70,041 DL2 files; one that does not is not read at all.
raw = bytearray((_FIX / f"{_US}/I145L6UJ.3Y0W").read_bytes())
i = raw.find(b"\x00\xd4\x3c") # the Tran sensor-check record, length 212
raw[i + 1] = 0xd3 # one byte short
ev = decode_blastware_bytes(bytes(raw), name=None)
assert ev.sensor_check_results is None
pv = ev.peak_values
assert (pv.tran_zc_freq, pv.mic_zc_freq, pv.tran_peak_disp_in) == (None, None, None)
# ── Group E: the sensor check results ───────────────────────────────────────
# Records 0x3c Tran .. 0x3f MicL, after the unit's summary, carry the sensor
# check the unit ran: its trace (minimateplus.sensor_check) and, in the record's
# header, its results (measured on DL2, 2026-11-06):
# [2] channel type (1 geophone, 2 mic, 0 check disabled) [4] status, 0 = passed
# [5:7] frequency x 10 [7:9] ratio x 10 [9:11] amplitude, mV
# Blastware prints them as they are: 209,943 / 209,943 geophone frequencies and
# ratios, 69,975 / 69,975 mic frequencies and amplitudes; "Passed" on status 0,
# "Check" on every other status, "Disabled" on type 0.
@pytest.mark.parametrize("rel,want", [
# channel: (result, frequency Hz, ratio, amplitude mV), Blastware's _XML.XML
(f"{_US}/I145L6UJ.3Y0W", {"Tran": ("Passed", 7.3, 3.7, None), "Vert": ("Passed", 7.2, 3.9, None),
"Long": ("Passed", 7.2, 3.9, None), "MicL": ("Passed", 19.7, None, 592)}),
(f"{_US}/K440HJCN.AS0W", {"Tran": ("Check", 9.6, 13.8, None), "Vert": ("Check", 8.5, 7.2, None),
"Long": ("Passed", 7.3, 1.9, None), "MicL": ("Passed", 19.7, None, 519)}),
(f"{_US}/R349KMF7.9O0W", {"Tran": ("Passed", 7.4, 3.8, None), "Vert": ("Passed", 7.5, 3.5, None),
"Long": ("Passed", 7.8, 3.6, None), "MicL": ("Check", 0.0, None, 0)}),
(f"{_US}/R352HFZ7.5D0W", {"Tran": ("Disabled", None, None, None), # no mic; check disabled
"Vert": ("Disabled", None, None, None),
"Long": ("Disabled", None, None, None)}),
(f"{_US}/T193HLJ3.X80H", {"Tran": ("Passed", 7.4, 3.9, None), "Vert": ("Passed", 7.2, 3.9, None),
"Long": ("Passed", 7.5, 4.1, None), "MicL": ("Passed", 20.1, None, 556)}),
])
def test_sensor_check_results_are_the_units_own(rel, want):
got = read_blastware_file(_FIX / rel).sensor_check_results
assert set(got) == set(want)
for ch, (result, freq, ratio, amp) in want.items():
r = got[ch]
assert r.result == result, ch
assert r.freq_hz == (pytest.approx(freq) if freq is not None else None), ch
assert r.ratio == (pytest.approx(ratio) if ratio is not None else None), ch
assert r.amplitude_mv == amp, ch
def test_a_check_keeps_the_units_status_code():
# Blastware prints only "Check"; the code's bits are not decoded (K559L6N1's
# Tran is a Check at 8.1 Hz and 3.3, inside every passing range).
got = read_blastware_file(_FIX / f"{_US}/K440HJCN.AS0W").sensor_check_results
assert [got[ch].status for ch in ("Tran", "Vert", "Long", "MicL")] == [11, 2, 0, 0]
# ── Group F: the monitor log ────────────────────────────────────────────────
# Blastware prints one Monitor Log line per event: the footer's start and stop,
# and words from the footer's flag word [18:20]. 69,983 / 69,983 DL2 lines,
# character for character (2026-11-08). Expected lines are Blastware's own,
# from each file's _XML.XML report.
_ML = "monitor-log-11-08-26"
def _log_line(ml):
return f'{ml.start:%Y-%m-%d %H:%M:%S} - {ml.stop:%Y-%m-%d %H:%M:%S} "{ml.description}"'
@pytest.mark.parametrize("rel,line", [
(f"{_US}/I145L6UJ.3Y0W", '2025-08-08 18:23:55 - 2025-08-08 18:24:01 "Event Recorded "'),
(f"{_US}/O117I1NK.R70W", '2019-07-31 06:59:31 - 2019-07-31 06:59:33 "Event Recorded "'),
(f"{_US}/T193HLJ3.X80H", '2018-09-20 20:07:55 - 2018-09-21 13:20:01 "Event Recorded Modem Exit"'),
(f"{_ML}/T189INWA.060H", '2020-10-05 16:04:53 - 2020-10-05 16:06:09 "Event Recorded Keyboard Exit"'),
(f"{_ML}/K559HCQ7.IU0H", '2018-04-02 17:06:30 - 2018-04-02 17:07:47 "Event Recorded Remote Exit"'),
(f"{_ML}/T192JWEL.0Y0H", '2023-02-17 21:58:09 - 2023-02-17 22:00:00 "Event Recorded Timer Stop"'),
(f"{_ML}/T189JZY7.L60H", '2023-04-27 20:00:41 - 2023-04-27 20:01:42 "Event Recorded Battery Low Exit"'),
])
def test_the_monitor_log_is_the_footers(rel, line):
assert _log_line(read_blastware_file(_FIX / rel).monitor_log) == line
from minimateplus.event_file_io import monitor_log_description # noqa: E402
@pytest.mark.parametrize("flags,words", [
(0x0001, "Event Recorded "),
(0x0003, "Event Recorded Keyboard Exit"),
(0x0005, "Event Recorded Remote Exit"),
(0x0009, "Event Recorded Selfcheck Passed"),
(0x0011, "Event Recorded Timer Stop"),
(0x0021, "Event Recorded Modem Exit"),
(0x0201, "Event Recorded Battery Low Exit"),
(0x0801, "Event Recorded Memory Full Exit"),
# One DL2 line sets Modem and Timer; Blastware prints Modem: the higher
# bit wins (one file, so the order of the others is inferred).
(0x0031, "Event Recorded Modem Exit"),
])
def test_the_monitor_log_words(flags, words):
assert monitor_log_description(flags) == words
def test_without_a_whole_record_chain_there_is_no_monitor_log():
raw = bytearray((_FIX / f"{_US}/I145L6UJ.3Y0W").read_bytes())
i = raw.find(b"\x00\xd4\x3c")
raw[i + 1] = 0xd3 # one byte short: the footer is not proven
assert decode_blastware_bytes(bytes(raw), name=None).monitor_log is None
# ── Over range: the unit's true peak beyond full scale ──────────────────────
# A channel is over range when the unit's own peak (its summary's min / max,
# D.6.12) passes 2,000: 32,000 counts, full scale, on either geophone range;
# the mic in counts. Blastware then 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 (geophones) / 1,933 (mic),
# 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.
_OR = "over-range-11-09-26"
@pytest.mark.parametrize("rel,over", [
# (tran, vert, long, mic, vector sum)
(f"{_US}/O117I1NK.R70W", (True, True, True, True, True)),
(f"{_OR}/O121L4L1.GU0H", (True, False, False, False, True)),
(f"{_OR}/K558KD43.NZ0H", (False, False, False, True, False)),
(f"{_OR}/M007JC05.OI0H", (False, False, False, False, False)), # vector sum 14.49 in/s, a number
(f"{_US}/I145L6UJ.3Y0W", (False, False, False, False, False)),
])
def test_over_range_is_the_units_peak_beyond_full_scale(rel, over):
pv = read_blastware_file(_FIX / rel).peak_values
assert (pv.tran_over_range, pv.vert_over_range, pv.long_over_range,
pv.mic_over_range, pv.pvs_over_range) == over
# ── The mic's own range ─────────────────────────────────────────────────────
# The mic's channel block carries a range byte at the geophones' offset (label
# + 29, D.6.4): 1 makes each count an eighth -- 0.25 / 8 Pa. It is set on 7 DL2
# events, all of them Blastware's ÷8 values, and on none of the 70,026 others,
# independently of the geophone range (28 events have Sensitive geophones and
# a range-0 mic). SFM read those 7 mics 8x high (2026-11-09).
def test_a_range_1_mic_reads_an_eighth():
ev = read_blastware_file(_FIX / f"{_OR}/K557J1XQ.GF0W")
assert ev.mic_range == 1
peak = max(abs(c) for c in ev.raw_samples["MicL"]) # 6 counts
# Blastware: 79.4 dB(L) = 6 / 8 counts; as a range-0 mic it would be 97.5
assert ev.peak_values.micl == pytest.approx(peak * 0.25 / 8 / 6894.757, rel=1e-6)
def test_a_range_0_mic_is_unchanged():
ev = read_blastware_file(_FIX / f"{_US}/I145L6UJ.3Y0W")
assert ev.mic_range == 0
peak = max(abs(c) for c in ev.raw_samples["MicL"])
assert ev.peak_values.micl == pytest.approx(peak * 0.25 / 6894.757, rel=1e-6)
+4 -3
View File
@@ -28,8 +28,9 @@ def test_find_pairs_dedupes_and_pairs(tmp_path):
def test_check_event_rows_and_attrs(): def test_check_event_rows_and_attrs():
out = run.check_event("M007HVWF.K30W", str(FIX / "M007HVWF.K30W"), str(FIX / "M007HVWF_K30W_XML.XML")) out = run.check_event("M007HVWF.K30W", str(FIX / "M007HVWF.K30W"), str(FIX / "M007HVWF_K30W_XML.XML"))
assert out["attrs"]["range"] == "1.250" and out["attrs"]["model"] == "MiniMate Plus" assert out["attrs"]["range"] == "1.250" and out["attrs"]["model"] == "MiniMate Plus"
# clipped at its own 1.250 ceiling: accepted under the saturation carve-out # clipped at its own 1.250 ceiling: Blastware's OORANGE, matched by the unit's
assert ["TranPPV", "accepted"] in [r[:2] for r in out["results"]] # own peak since 2026-11-09 (it was accepted under the saturation carve-out)
assert ["TranPPV", "match"] in [r[:2] for r in out["results"]]
def test_bad_input_is_one_error_row(tmp_path): def test_bad_input_is_one_error_row(tmp_path):
@@ -129,7 +130,7 @@ def test_compare_to_marks_the_summary(tmp_path):
def test_file_prints_one_event(tmp_path, capsys): def test_file_prints_one_event(tmp_path, capsys):
assert run.main([str(FIX), str(FIX), "--file", "M007HVWF.K30W"]) == 0 assert run.main([str(FIX), str(FIX), "--file", "M007HVWF.K30W"]) == 0
out = capsys.readouterr().out out = capsys.readouterr().out
assert any("TranPPV" in line and "accepted" in line for line in out.splitlines()) assert any("TranPPV" in line and "OORANGE" in line for line in out.splitlines())
# ── Final review fixes ────────────────────────────────────────────────────── # ── Final review fixes ──────────────────────────────────────────────────────
+216 -18
View File
@@ -40,8 +40,10 @@ def test_event_type_comes_from_the_bytes():
def test_report_fields_stay_blank(): def test_report_fields_stay_blank():
s = sfm_side((FIX / "T1905KDW.5F0W").read_bytes()) s = sfm_side((FIX / "T1905KDW.5F0W").read_bytes())
# (BatteryLevel and Calibration are read since 2026-11-03, peak acceleration # (BatteryLevel and Calibration are read since 2026-11-03, peak acceleration
# since 2026-11-04: test_the_setup_fields_match_blastware, test_waveform_peak_detail_*) # since 2026-11-04, ZC frequency and displacement since 2026-11-05:
for tag in ("TranZCFreq", "TranPeakDisplacement", "TranTestResults"): # test_the_setup_fields_match_blastware, test_waveform_peak_detail_*,
# test_zc_frequency_and_displacement_match_blastware. Its Tran ZC is N/A.)
for tag in ("TranZCFreq",): # (sensor check results since 2026-11-06)
assert s.values.get(tag) is None assert s.values.get(tag) is None
@@ -67,7 +69,7 @@ def test_full_waveform_row_verdicts():
for f in ("SampleRate", "RecordTime", "Pre-triggerLength", "EventDate", "EventTime", for f in ("SampleRate", "RecordTime", "Pre-triggerLength", "EventDate", "EventTime",
"notes", "samples.Tran", "samples.Vert", "samples.Long"): "notes", "samples.Tran", "samples.Vert", "samples.Long"):
assert res[f].verdict == "match", (f, res[f]) assert res[f].verdict == "match", (f, res[f])
assert res["TranZCFreq"].verdict in ("sfm_blank", "no_reference") assert res["TranZCFreq"].verdict == "match" # ">100", the unit's own (2026-11-05)
assert res["BatteryLevel"].verdict == "match" # 6.72 V, printed "6.7 Volts" assert res["BatteryLevel"].verdict == "match" # 6.72 V, printed "6.7 Volts"
assert "FileName" not in res assert "FileName" not in res
@@ -91,7 +93,7 @@ def test_an_extra_reference_row_is_a_mismatch_with_detail():
def test_zc_frequency_na_and_above_range(): def test_zc_frequency_na_and_above_range():
res = _results("T1905KDW.5F0W") # its JobNumber: test_the_job_number_matches_blastware res = _results("T1905KDW.5F0W") # its JobNumber: test_the_job_number_matches_blastware
assert res["TranZCFreq"].verdict == "no_reference" # N/A assert res["TranZCFreq"].verdict == "no_reference" # N/A
assert res["VertZCFreq"].verdict == "sfm_blank" # >100, SFM has no flag yet assert res["VertZCFreq"].verdict == "match" # >100: the unit's half-period
def test_mic_units_pick_the_conversion(): def test_mic_units_pick_the_conversion():
@@ -107,19 +109,34 @@ def test_mic_units_pick_the_conversion():
from minimateplus.decode_check_carveouts import CARVEOUTS # noqa: E402 from minimateplus.decode_check_carveouts import CARVEOUTS # noqa: E402
def test_clipped_normal_range_is_accepted(): def _no_unit_peaks(side):
"""As for a file without the unit's summary: no over-range flags, so the
saturation carve-out decides (since 2026-11-09 the flags match first)."""
pv = side.event.peak_values
for ch in ("tran", "vert", "long", "mic", "pvs"):
setattr(pv, f"{ch}_over_range", False)
return side
def _results_without_unit_peaks(stem):
raw = (FIX / stem).read_bytes()
ref = parse_xml_report_file(FIX / (stem.replace(".", "_") + "_XML.XML"))
return {r.field: r for r in compare(_no_unit_peaks(sfm_side(raw)), ref, CARVEOUTS)}
@pytest.mark.parametrize("stem,clipped", [
# Blastware: Tran 5.445, Vert 6.310, Long OORANGE, PVS OORANGE; SFM Long 10.005, PVS 11.55 # Blastware: Tran 5.445, Vert 6.310, Long OORANGE, PVS OORANGE; SFM Long 10.005, PVS 11.55
res = _results("T438HGTZ.B30W", CARVEOUTS) ("T438HGTZ.B30W", ("LongPPV", "PeakVectorSum")),
assert res["TranPPV"].verdict == "match" and res["VertPPV"].verdict == "match"
for f in ("LongPPV", "PeakVectorSum"):
assert (res[f].verdict, res[f].carveout) == ("accepted", "saturation")
def test_a_clipped_sensitive_event_is_accepted_at_its_own_ceiling():
# SFM reads the 1.250 range from the file; the clipped channels sit at 1.2506. # SFM reads the 1.250 range from the file; the clipped channels sit at 1.2506.
res = _results("M007HVWF.K30W", CARVEOUTS) ("M007HVWF.K30W", ("TranPPV", "PeakVectorSum")),
assert res["GeoRange"].verdict == "match" and res["samples.Tran"].verdict == "match" ])
for f in ("TranPPV", "PeakVectorSum"): def test_a_clipped_event_matches_by_the_units_own_peak(stem, clipped):
res = _results(stem, CARVEOUTS)
for f in clipped:
assert res[f].verdict == "match", (f, res[f])
# Without the unit's summary the saturation carve-out still accepts them.
res = _results_without_unit_peaks(stem)
for f in clipped:
assert (res[f].verdict, res[f].carveout) == ("accepted", "saturation") assert (res[f].verdict, res[f].carveout) == ("accepted", "saturation")
@@ -127,7 +144,7 @@ def test_the_carveout_never_accepts_an_8x_value():
# What SFM produced while it assumed Normal on a Sensitive unit: 8x high. # What SFM produced while it assumed Normal on a Sensitive unit: 8x high.
# The saturation rule must leave it a mismatch. # The saturation rule must leave it a mismatch.
raw = (FIX / "M007HVWF.K30W").read_bytes() raw = (FIX / "M007HVWF.K30W").read_bytes()
side = sfm_side(raw) side = _no_unit_peaks(sfm_side(raw)) # the carve-out's guard, not the unit's peaks
side.values.update(TranPPV=10.005, VertPPV=10.005, LongPPV=10.005, PeakVectorSum=17.33) side.values.update(TranPPV=10.005, VertPPV=10.005, LongPPV=10.005, PeakVectorSum=17.33)
side.geo_ips_per_count = 10.0 / 32000 side.geo_ips_per_count = 10.0 / 32000
res = {r.field: r for r in compare(side, parse_xml_report_file(FIX / "M007HVWF_K30W_XML.XML"), res = {r.field: r for r in compare(side, parse_xml_report_file(FIX / "M007HVWF_K30W_XML.XML"),
@@ -155,7 +172,7 @@ def test_pvs_carveout_needs_the_clipped_channel_at_the_ceiling():
raw = (FIX / "M007HVWF.K30W").read_bytes() raw = (FIX / "M007HVWF.K30W").read_bytes()
ref = parse_xml_report_file(FIX / "M007HVWF_K30W_XML.XML") ref = parse_xml_report_file(FIX / "M007HVWF_K30W_XML.XML")
ref.scalars.update(TranPPV="0.157", VertPPV="0.157", LongPPV="0.157") ref.scalars.update(TranPPV="0.157", VertPPV="0.157", LongPPV="0.157")
side = sfm_side(raw) side = _no_unit_peaks(sfm_side(raw))
side.values.update(TranPPV=1.256, PeakVectorSum=2.0) side.values.update(TranPPV=1.256, PeakVectorSum=2.0)
res = {r.field: r for r in compare(side, ref, CARVEOUTS)} res = {r.field: r for r in compare(side, ref, CARVEOUTS)}
assert res["PeakVectorSum"].verdict == "mismatch" assert res["PeakVectorSum"].verdict == "mismatch"
@@ -312,7 +329,11 @@ def _pvs_oorange(unclamp=False):
row = list(row) row = list(row)
row[cols.index("Vert Peak in/s")] = "0.500" row[cols.index("Vert Peak in/s")] = "0.500"
ref.intervals[0] = (t, row) ref.intervals[0] = (t, row)
res = {r.field: r for r in compare(sfm_side((hb / "T190LD5Q.LD0H").read_bytes()), ref, CARVEOUTS)} side = sfm_side((hb / "T190LD5Q.LD0H").read_bytes())
# The carve-out's own path: SFM's numeric interval sums, as before it
# rendered OORANGE itself (2026-11-09).
side.interval_values["Geo PVS in/s"] = list(side.event.interval_pvs)
res = {r.field: r for r in compare(side, ref, CARVEOUTS)}
return res["intervals.Geo PVS in/s"] return res["intervals.Geo PVS in/s"]
@@ -324,6 +345,24 @@ def test_an_oorange_interval_vector_sum_is_saturation():
assert (r.verdict, r.carveout) == ("accepted", "saturation") assert (r.verdict, r.carveout) == ("accepted", "saturation")
@pytest.mark.parametrize("path,columns", [
# a Vert interval past full scale: its peak and the interval's vector sum
(FIX.parent / "histogram-intervals-11-03-26" / "T190LD5Q.LD0H", ("Vert Peak in/s", "Geo PVS in/s")),
# a mic interval past full scale (2,001 counts)
(FIX.parent / "over-range-11-09-26" / "K558KD43.NZ0H", ("MicL Peak dB(L)", "MicL Peak psi(L)")),
])
def test_interval_over_range_matches_blastware(path, columns):
# Inside an interval the rule is the event's: a peak past 2,000 units (the
# mic in counts) is OORANGE, and the vector sum when any geophone is. DL2:
# numeric up to 1,846 / 1,414, OORANGE from 2,001; vector sums 16 / 16
# OORANGE with a geophone over, 2,862 / 2,862 numeric without (2026-11-09).
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
for c in columns:
if c in (ref.interval_columns or []):
assert res[f"intervals.{c}"].verdict == "match", (c, res[f"intervals.{c}"])
def test_an_oorange_vector_sum_needs_a_clamped_channel_in_that_interval(): def test_an_oorange_vector_sum_needs_a_clamped_channel_in_that_interval():
assert _pvs_oorange(unclamp=True).verdict == "mismatch" assert _pvs_oorange(unclamp=True).verdict == "mismatch"
@@ -355,3 +394,162 @@ def test_waveform_peak_detail_matches_blastware(path):
"PeakVectorSumTimeSum", "TranPeakAcceleration", "VertPeakAcceleration", "PeakVectorSumTimeSum", "TranPeakAcceleration", "VertPeakAcceleration",
"LongPeakAcceleration"): "LongPeakAcceleration"):
assert res[f].verdict == "match", (f, res[f]) assert res[f].verdict == "match", (f, res[f])
# ── Group D, part 2: the unit's own summary (2026-11-05) ────────────────────
_US = FIX.parent / "unit-summary-11-05-26"
_ZC_AND_DISP = ([f"{ch}ZCFreq" for ch in ("Tran", "Vert", "Long", "MicL")]
+ [f"{ch}PeakDisplacement" for ch in ("Tran", "Vert", "Long")])
@pytest.mark.parametrize("path", [
FIX / "R352HIUI.F40W", FIX / "T1905KDW.5F0W",
FIX.parent / "setup-fields-11-03-26" / "T189HUD6.QE0W",
FIX / "T004JTRF.ME0H", FIX / "M529L4XQ.R30H", # histograms
_US / "K558IKSJ.P20W", # "<1.0" and N/A
_US / "O117I1NK.R70W", # the mic's ">100"; clipped
])
def test_zc_frequency_and_displacement_match_blastware(path):
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
checked = 0
for f in _ZC_AND_DISP:
printed = ref.scalars.get(f)
if printed is None:
continue
want = "no_reference" if printed == "N/A" else "match"
assert res[f].verdict == want, (f, res[f])
checked += want == "match"
assert checked >= 3
def test_a_clipped_events_peak_times_match_blastware():
path = _US / "O117I1NK.R70W"
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
for f in ("TranTimeofPeak", "VertTimeofPeak", "LongTimeofPeak", "MicLTimeofPeak",
"PeakVectorSumTimeSum"):
assert res[f].verdict == "match", (f, res[f])
# ── Group E: the sensor check results (2026-11-06) ──────────────────────────
_SENSOR_CHECK = [f"{ch}Test{f}" for ch in ("Tran", "Vert", "Long", "MicL")
for f in ("Results", "Freq", "Ratio", "Amplitude")]
@pytest.mark.parametrize("path", [
FIX / "R352HIUI.F40W", FIX / "T1905KDW.5F0W", FIX / "T004JTRF.ME0H", FIX / "M529L4XQ.R30H",
_US / "K440HJCN.AS0W", # two Checks
_US / "K558IKSJ.P20W", _US / "O117I1NK.R70W",
])
def test_sensor_check_results_match_blastware(path):
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
checked = 0
for f in _SENSOR_CHECK:
if ref.scalars.get(f) is None:
continue
assert res[f].verdict == "match", (f, res[f])
checked += 1
assert checked >= 4
# ── Group F: the monitor log (2026-11-08) ───────────────────────────────────
_ML = FIX.parent / "monitor-log-11-08-26"
@pytest.mark.parametrize("path", [
FIX / "R352HIUI.F40W", FIX / "T004JTRF.ME0H", FIX / "M529L4XQ.R30H",
_US / "K440HJCN.AS0W", _US / "O117I1NK.R70W",
_ML / "T189INWA.060H", _ML / "K559HCQ7.IU0H", _ML / "T192JWEL.0Y0H", _ML / "T189JZY7.L60H",
])
def test_the_monitor_log_matches_blastware(path):
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
assert res["MonitorLog"].verdict == "match", res["MonitorLog"]
# ── Over range (2026-11-09) ─────────────────────────────────────────────────
_OR = FIX.parent / "over-range-11-09-26"
@pytest.mark.parametrize("path", [
_US / "O117I1NK.R70W", # everything over, the "Out of Range" line
_OR / "O121L4L1.GU0H", # Tran over: its PPV and the vector sum
_OR / "K558KD43.NZ0H", # the mic over, the "Out of Range" line
_OR / "M007JC05.OI0H", # vector sum 14.49 in/s, printed as a number
])
def test_over_range_matches_blastware(path):
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
for f in ("TranPPV", "VertPPV", "LongPPV", "PeakVectorSum", "MicLPSPL", "OORANGE"):
if ref.scalars.get(f) is not None:
assert res[f].verdict == "match", (f, res[f])
def test_an_over_range_flag_against_a_printed_number_is_a_mismatch():
path = _OR / "M007JC05.OI0H"
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
sfm = sfm_side(path.read_bytes())
sfm.event.peak_values.pvs_over_range = True # SFM would print OORANGE; Blastware printed 14.49
res = {r.field: r for r in compare(sfm, ref, CARVEOUTS)}
assert res["PeakVectorSum"].verdict == "mismatch"
def test_a_range_1_mic_matches_blastware():
# Its mic range byte is 1: every count is an eighth (79.4 dB(L), not 97.5).
path = _OR / "K557J1XQ.GF0W"
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
for f in ("MicLPSPL", "samples.MicL"):
assert res[f].verdict == "match", (f, res[f])
# ── The unit Blastware printed, field by field (2026-11-09) ─────────────────
# A report's event Units line does not always say what its mic values are in:
# 7 DL2 reports print the mic peak in dB under a psi line, 3 the reverse, and
# S353JTHU prints its sample table in dB under psi on both. The peak carries
# its own unit, and a mic table's cells are unmistakable (dB >= 60, psi < 1).
_UL = FIX.parent / "mic-units-11-09-26"
def _res(path, side=None):
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
return {r.field: r for r in compare(side or sfm_side(path.read_bytes()), ref, CARVEOUTS)}
@pytest.mark.parametrize("path,field", [
(_UL / "K441L9IN.OT0W", "MicLPSPL"), # psi line; the peak in dB, saying so
(_UL / "K888JOU7.8K0H", "MicLPSPL"), # the same on a histogram
])
def test_a_mic_peak_is_read_in_its_own_unit(path, field):
assert _res(path)[field].verdict == "match", _res(path)[field]
@pytest.mark.parametrize("path", [
_UL / "K441L9IN.OT0W", # a dB table with psi cells ("0.000", "-0.000") for counts of 1 to 3
_UL / "S353JTHU.DT0W", # psi rows, then dB rows, all under a psi line
])
def test_a_mic_column_mixing_dB_and_psi_is_accepted(path):
r = _res(path)["samples.MicL"]
assert (r.verdict, r.carveout) == ("accepted", "mic-units-mixed"), r
def test_the_mixed_units_carveout_needs_every_cell_in_one_unit_or_the_other():
path = _UL / "S353JTHU.DT0W"
ref = parse_xml_report_file(path.with_name(path.name.replace(".", "_", 1) + "_XML.XML"))
i = ref.channels.index("MicL")
ref.sample_rows[0][i] = "50.00" # neither SFM's dB nor its psi
res = {r.field: r for r in compare(sfm_side(path.read_bytes()), ref, CARVEOUTS)}
assert res["samples.MicL"].verdict == "mismatch"
@pytest.mark.parametrize("path,column", [
(_UL / "I145HKWT.DY0H", "MicL Peak psi(L)"), # row 672: 95.92 in both mic columns (count 5: dB)
(_UL / "S353K894.OE0H", "MicL Peak dB(L)"), # rows 106, 608: 0.000 in both (count 2: psi)
])
def test_an_interval_printing_one_unit_in_both_mic_columns_is_accepted(path, column):
r = _res(path)[f"intervals.{column}"]
assert (r.verdict, r.carveout) == ("accepted", "mic-units-mixed"), r
+5 -4
View File
@@ -410,8 +410,8 @@ def test_save_imported_bw_with_paired_report(tmp_path: Path):
# Use one of the real BW ASCII exports as the paired report. # Use one of the real BW ASCII exports as the paired report.
report_path = ( report_path = (
Path(__file__).parent.parent Path(__file__).parent
/ "decode-re" / "5-8-26" / "event-c" / "M529LK44.AB0.TXT" / "fixtures" / "decode-re-5-8-26" / "event-c" / "M529LK44.AB0.TXT"
) )
if not report_path.exists(): if not report_path.exists():
import pytest as _pt import pytest as _pt
@@ -498,8 +498,9 @@ def test_save_imported_bw_without_report_works_unchanged(tmp_path: Path):
sc = store.load_sidecar("BE11529", fname) sc = store.load_sidecar("BE11529", fname)
assert sc is not None assert sc is not None
assert "bw_report" not in sc # block is absent without a report assert "bw_report" not in sc # block is absent without a report
# Synthetic event has zero samples → peaks all zero (was true before this change) # Synthetic event has zero samples: the peaks stay unknown (None), never a
assert sc["peak_values"]["transverse"] == 0.0 # fabricated 0.0 that a backfill could write over real peaks (fa9d3cd).
assert sc["peak_values"]["transverse"] is None
def test_save_imported_bw_round_trip(tmp_path: Path): def test_save_imported_bw_round_trip(tmp_path: Path):
+58
View File
@@ -0,0 +1,58 @@
"""
Tests for scripts/import_mlg_dir.py — bulk import of a directory of .MLGs (spec §7).
"""
from __future__ import annotations
import os
import shutil
import sys
from pathlib import Path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from scripts.import_mlg_dir import main
from sfm.database import SeismoDb
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
def _counts(text: str) -> dict:
return {k: int(v) for k, v in (line.split() for line in text.strip().splitlines())}
def test_import_dir_counts(tmp_path, capsys):
src = tmp_path / "in" / "nested"
shutil.copytree(FIX, src)
db_path, store = tmp_path / "t.db", tmp_path / "store"
args = [str(tmp_path / "in"), "--db-path", str(db_path), "--store-root", str(store)]
assert main(args + ["--dry-run"]) == 0
dry = _counts(capsys.readouterr().out)
assert (dry["files"], dry["error"], dry["empty"]) == (16, 0, 3)
assert not db_path.exists() and not store.exists()
assert main(args) == 0
first = _counts(capsys.readouterr().out)
assert (first["files"], first["ok"], first["error"], first["empty"], first["unresolved"]) == (16, 16, 0, 3, 0)
assert first["skipped"] == 3 # BE115292.MLG repeats BE11529.MLG's records
assert [f["file_name"] for f in SeismoDb(db_path).query_mlg_files("BE6907")] == [
"BE6907750.MLG", "BE6907751.MLG", "BE6907899.MLG", "BE6907900.MLG",
"BE6907901.MLG", "BE6907902.MLG"]
assert main(args) == 0
again = _counts(capsys.readouterr().out)
assert (again["duplicate"], again["ok"], again["inserted"]) == (16, 0, 0)
def test_empty_files_are_resolved_whatever_the_folder_order(tmp_path, capsys):
"""The empty file sorts first by name and by time here; the two-pass order still
gives it its unit."""
d = tmp_path / "in"
d.mkdir()
shutil.copy2(FIX / "BE6907751.MLG", d / "BE6907751.MLG")
shutil.copy2(FIX / "BE6907750.MLG", d / "BE6907750.MLG")
os.utime(d / "BE6907751.MLG", (1_700_000_000, 1_700_000_000)) # older than its real file
os.utime(d / "BE6907750.MLG", (1_800_000_000, 1_800_000_000))
assert main([str(d), "--db-path", str(tmp_path / "t.db"), "--store-root", str(tmp_path / "s")]) == 0
assert _counts(capsys.readouterr().out)["unresolved"] == 0
+66
View File
@@ -0,0 +1,66 @@
"""Line endings (2026-11-12): every tracked text file outside the fixtures is LF.
.gitattributes defaults every file to `text=auto eol=lf`, so git stores and checks
out text as LF whatever wrote it, file types not invented yet included. Binaries
are never converted. tests/fixtures/** is -text: recorded bytes (Blastware's own
reports and exports, captures, event files) stay exactly as recorded, CRLF and all.
The protocol reference and seismo_lab.py were CRLF until 5dff54b, so any rewrite
outside the Edit tool turned them into whole-file diffs, and merges into them had
to be resolved byte by byte.
"""
from __future__ import annotations
import shutil
import subprocess
from pathlib import Path
import pytest
ROOT = Path(__file__).resolve().parent.parent
FIXTURES = "tests/fixtures/"
pytestmark = pytest.mark.skipif(
shutil.which("git") is None or not (ROOT / ".git").exists(), reason="not a git checkout")
def _git(*args: str) -> str:
return subprocess.run(["git", "-C", str(ROOT), *args],
capture_output=True, text=True, check=True).stdout
def crlf_files(include_fixtures: bool = False) -> list:
"""Tracked files stored (in the index) with CRLF or mixed line endings."""
out = []
for line in _git("ls-files", "--eol").splitlines():
meta, path = line.split("\t", 1)
if meta.split()[0] in ("i/crlf", "i/mixed") and (include_fixtures or not path.startswith(FIXTURES)):
out.append(path)
return out
def attr(name: str, path: str) -> str:
return _git("check-attr", name, "--", path).rsplit(": ", 1)[-1].strip()
def test_no_tracked_file_outside_the_fixtures_is_crlf():
assert crlf_files() == []
@pytest.mark.parametrize("path", ["sfm/new_module.py", "docs/notes.md", "Dockerfile", "events.jsonl",
".gitignore", "deploy/sfm.service", "a.kind-of-file-not-invented-yet"])
def test_any_text_file_is_stored_as_lf(path):
assert (attr("text", path), attr("eol", path)) == ("auto", "lf")
@pytest.mark.parametrize("path", ["tests/fixtures/minimate-bench-10-26-26-blastware/blastware/K441LTOG.000",
"tests/fixtures/decode-checker-10-29-26/M007HVWF_K30W_XML.XML",
"tests/fixtures/new-bench/README.md"])
def test_fixtures_are_never_converted(path):
assert attr("text", path) == "unset"
@pytest.mark.parametrize("path", ["parsers/raw_bw.bin", "analysis_idf/thor_report.pdf", "docs/photo.png",
"docs/photo.jpg", "out/event.h5", "out/event.a5.pkl", "sfm/data/cache.db"])
def test_binaries_are_never_converted(path):
assert attr("text", path) == "unset"
+130
View File
@@ -0,0 +1,130 @@
"""
Tests for minimateplus/mlg_file.py — Blastware's monitor log (.MLG) reader and writer.
Fixtures (tests/fixtures/mlg-11-9-26/) are real files: DL2's ACH folder
(BE12844, BE6907 from 2026; BE8081 from 2018-19) and three bench files.
Expected values come from an independent scratch parser that was checked
against DL2's event-file footers (785 / 785 BE8081 records matched by stop,
flag word and trigger source), never from the code under test. Format:
docs/instantel_protocol_reference.md D.4, spec
docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md.
"""
from __future__ import annotations
import datetime
import os
import sys
from pathlib import Path
import pytest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from minimateplus.crc import crc16_aug_ccitt
from minimateplus.mlg_file import MlgFormatError, mlg_bytes, parse_mlg, read_mlg, write_mlg
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
dt = datetime.datetime
def test_crc_matches_the_micromate_rule():
from micromate.setup_block import _crc16_aug_ccitt
assert crc16_aug_ccitt(b"123456789") == _crc16_aug_ccitt(b"123456789") == 0xE5CC
def test_every_fixture_record_passes_its_checksum():
files = sorted(FIX.glob("*.MLG"))
assert len(files) == 16
for p in files:
assert parse_mlg(p.read_bytes()).crc_failures == [], p.name
def test_closed_records():
m = read_mlg(FIX / "BE128443065.MLG")
assert m.serial == "BE12844" and len(m.records) == 2
r1, r2 = m.records
assert (r1.index, r1.start, r1.stop, r1.flags, r1.trigger_source) == (
1, dt(2026, 9, 5, 18, 47, 26), dt(2026, 9, 5, 20, 0, 0), 0x0010, 0)
assert r1.description == "Timer Stop"
assert r1.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert r1.serial == "BE12844"
assert (r2.start, r2.stop, r2.description) == (
dt(2026, 9, 6, 6, 0, 13), dt(2026, 9, 6, 18, 45, 0), "Modem Exit")
def test_monitoring_started_and_an_event():
m = read_mlg(FIX / "BE128443067.MLG")
start, ev = m.records[1], m.records[2]
assert start.is_start and start.stop is None
assert start.description == "Monitoring started"
assert start.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert (ev.flags, ev.trigger_source, ev.description) == (0x0001, 0x0001, "Event Recorded")
assert ev.event_time == dt(2026, 9, 8, 13, 38, 22)
assert ev.text == "Geo: 0.0500 in/s Mic: 125.0 dB(L)\rTran: 0.0500 in/s"
assert ev.trigger_level == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
def test_histogram_with_a_waveform_event():
r = read_mlg(FIX / "BE8081.MLG").records
assert (r[1].flags, r[1].trigger_source, r[1].description) == (
0x0021, 0x0400, "Event Recorded Modem Exit")
assert r[1].trigger_level == "Histogram"
assert (r[2].trigger_source, r[2].trigger_level) == (0x0002, "Geo: 0.300 in/s")
def test_trigger_level_with_or_without_a_space_before_the_colon():
a = read_mlg(FIX / "BE11529.MLG").records[0]
b = read_mlg(FIX / "BE115292.MLG").records[0]
assert a.text == "Trigger Level: Histogram" and b.text == "Trigger Level : Histogram"
assert a.trigger_level == b.trigger_level == "Histogram"
def test_empty_file():
m = read_mlg(FIX / "BE6907751.MLG")
assert m.serial is None and m.records == [] and m.empty
def test_a_flipped_byte_fails_only_its_record():
data = bytearray((FIX / "BE128443065.MLG").read_bytes())
data[18 + 292 + 40] ^= 0xFF # inside record 1's text
m = parse_mlg(bytes(data))
assert m.crc_failures == [1]
assert m.records[0].crc_ok is False and m.records[1].crc_ok is True
def test_a_flipped_byte_in_the_header_record_is_reported():
data = bytearray((FIX / "BE128443065.MLG").read_bytes())
data[18 + 100] ^= 0xFF # inside the header record's zero area
assert parse_mlg(bytes(data)).crc_failures == [0]
@pytest.mark.parametrize("mangle", [
lambda d: d[:-1], # not 18 + 292·n
lambda d: b"\x00" + d[1:], # wrong prefix
lambda d: d[:18] + b"\x23" + d[19:], # header length field not 290
lambda d: d[:6], # shorter than the prefix
], ids=["not-whole", "prefix", "length-field", "short"])
def test_structure_errors_raise(mangle):
with pytest.raises(MlgFormatError):
parse_mlg(mangle((FIX / "BE128443065.MLG").read_bytes()))
# ── Writer ────────────────────────────────────────────────────────────────────
@pytest.mark.parametrize("name", sorted(p.name for p in FIX.glob("*.MLG")))
def test_rebuilds_every_fixture_byte_for_byte(name):
raw = (FIX / name).read_bytes()
assert mlg_bytes(parse_mlg(raw)) == raw
def test_write_mlg_writes_the_same_bytes(tmp_path):
raw = (FIX / "BE8081321.MLG").read_bytes()
out = tmp_path / "BE8081321.MLG"
write_mlg(parse_mlg(raw), out)
assert out.read_bytes() == raw
def test_old_mlg_code_is_gone():
import minimateplus.blastware_file as bw
assert not hasattr(bw, "read_mlg") and not hasattr(bw, "MLG_FLAGS_TRIGGER")
+126
View File
@@ -0,0 +1,126 @@
"""
Tests for sfm/mlg_ingest.py — one .MLG in: verified, its serial resolved, the
original kept, its records stored once (spec §3, §5, §6).
"""
from __future__ import annotations
import datetime
import os
import sys
from pathlib import Path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from sfm.database import SeismoDb
from sfm.mlg_ingest import ingest_mlg, resolve_serial
from sfm.waveform_store import WaveformStore
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
UTC = datetime.timezone.utc
def _env(tmp_path):
return SeismoDb(tmp_path / "t.db"), WaveformStore(tmp_path / "waveforms")
def _ingest(db, store, name, data=None, **kw):
return ingest_mlg(db, store, name, data if data is not None else (FIX / name).read_bytes(), **kw)
def test_ingest_ok(tmp_path):
db, store = _env(tmp_path)
res = _ingest(db, store, "BE128443067.MLG")
assert (res["status"], res["serial"], res["records"], res["inserted"], res["skipped"]) == (
"ok", "BE12844", 3, 3, 0)
assert res["empty"] is False and res["serial_unresolved"] is False and res["file_id"]
assert (store.root / "BE12844" / "mlg" / "BE128443067.MLG").read_bytes() == (
FIX / "BE128443067.MLG").read_bytes()
def test_ingest_twice_is_duplicate(tmp_path):
db, store = _env(tmp_path)
_ingest(db, store, "BE128443067.MLG")
res = _ingest(db, store, "BE128443067.MLG")
assert res["status"] == "duplicate" and res["inserted"] == 0
assert len(db.query_mlg_files("BE12844")) == 1
def test_corrupted_file_stores_nothing(tmp_path):
db, store = _env(tmp_path)
data = bytearray((FIX / "BE128443065.MLG").read_bytes())
data[18 + 292 + 40] ^= 0xFF
res = _ingest(db, store, "BE128443065.MLG", bytes(data))
assert res["status"] == "error" and "record 1" in res["detail"]
assert db.query_mlg_files("BE12844") == [] and db.query_mlg_records("BE12844") == []
assert not list(store.root.rglob("mlg"))
def test_truncated_file_is_an_error(tmp_path):
db, store = _env(tmp_path)
res = _ingest(db, store, "BE128443065.MLG", (FIX / "BE128443065.MLG").read_bytes()[:-5])
assert res["status"] == "error" and "not an MLG" in res["detail"]
assert not list(store.root.rglob("mlg"))
def test_empty_file_takes_known_serial(tmp_path):
db, store = _env(tmp_path)
_ingest(db, store, "BE6907750.MLG")
res = _ingest(db, store, "BE6907751.MLG")
assert (res["status"], res["serial"], res["empty"], res["serial_unresolved"]) == (
"ok", "BE6907", True, False)
assert (store.root / "BE6907" / "mlg" / "BE6907751.MLG").exists()
def test_empty_file_without_known_serial_is_unresolved(tmp_path):
db, store = _env(tmp_path)
res = _ingest(db, store, "BE6907751.MLG")
assert (res["status"], res["serial"], res["serial_unresolved"]) == ("ok", None, True)
assert (store.root / "_unresolved" / "mlg" / "BE6907751.MLG").exists()
def test_empty_file_takes_the_serial_hint(tmp_path):
db, store = _env(tmp_path)
res = _ingest(db, store, "BE6907751.MLG", serial_hint="BE6907")
assert (res["serial"], res["serial_unresolved"]) == ("BE6907", False)
def test_empty_file_takes_the_longest_known_serial():
assert resolve_serial("BE11010304.MLG", None, None, {"BE1101", "BE11010"}) == "BE11010"
assert resolve_serial("XY123.MLG", None, None, {"BE1101"}) is None
assert resolve_serial("BE6907751.MLG", "BE12844", "BE6907", {"BE6907"}) == "BE12844"
assert resolve_serial("be6907751.mlg", None, None, {"BE6907"}) == "BE6907"
assert resolve_serial("BE6907X51.MLG", None, None, {"BE6907"}) is None # not digits after
def test_file_mtime_and_call_in_are_stored(tmp_path):
db, store = _env(tmp_path)
mtime = datetime.datetime(2026, 9, 6, 22, 46, tzinfo=UTC)
res = _ingest(db, store, "BE128443065.MLG", file_mtime=mtime, call_in=False)
f = db.get_mlg_file(res["file_id"])
assert (f["file_mtime"], f["call_in"]) == ("2026-09-06T22:46:00+00:00", 0)
def test_a_serial_that_is_not_a_plain_serial_is_refused(tmp_path):
from minimateplus.mlg_file import mlg_bytes, parse_mlg
db, store = _env(tmp_path)
good = parse_mlg((FIX / "BE128443065.MLG").read_bytes())
for r in good.records:
r.serial = "../hdr"
bad = mlg_bytes(type(good)(serial="../hdr", records=good.records))
res = _ingest(db, store, "BE128443065.MLG", bad)
assert res["status"] == "error" and "serial" in res["detail"]
res = _ingest(db, store, "BE6907751.MLG", serial_hint="../escaped")
assert res["status"] == "error" and "serial" in res["detail"]
assert not (tmp_path / "hdr").exists() and not (tmp_path / "escaped").exists()
assert not list(tmp_path.rglob("*.MLG"))
def test_records_with_no_serial_are_refused_not_dropped(tmp_path):
from minimateplus.mlg_file import mlg_bytes, parse_mlg
db, store = _env(tmp_path)
m = parse_mlg((FIX / "BE128443065.MLG").read_bytes())
for r in m.records:
r.serial = ""
res = _ingest(db, store, "XX0001.MLG", mlg_bytes(type(m)(serial="", records=m.records)))
assert res["status"] == "error" and "serial" in res["detail"]
+131
View File
@@ -0,0 +1,131 @@
"""
Tests for the .MLG routes in sfm/server.py (spec §5).
httpx is not installed in this venv, so starlette's TestClient tests skip; these
call the route functions directly, passing every parameter (a FastAPI Query()
default is not a value).
"""
from __future__ import annotations
import asyncio
import io
import os
import sys
from pathlib import Path
import pytest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from fastapi import HTTPException, UploadFile
from sfm.database import SeismoDb
from sfm.waveform_store import WaveformStore
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
def _env(tmp_path, monkeypatch):
import sfm.server as srv
db, store = SeismoDb(tmp_path / "t.db"), WaveformStore(tmp_path / "waveforms")
monkeypatch.setattr(srv, "_db", db, raising=False)
monkeypatch.setattr(srv, "_store", store, raising=False)
return srv, db, store
def _import(srv, uploads, *, serial=None, call_in=True, mtimes=None):
files = [UploadFile(file=io.BytesIO(data), filename=name) for name, data in uploads]
return asyncio.run(srv.db_import_mlg_file(files=files, serial=serial, call_in=call_in, mtimes=mtimes))
def _fixture(name):
return name, (FIX / name).read_bytes()
def test_import_route_stores_good_file_and_refuses_bad_one(tmp_path, monkeypatch):
srv, db, store = _env(tmp_path, monkeypatch)
name, good = _fixture("BE128443065.MLG")
bad = bytearray(good)
bad[18 + 292 + 40] ^= 0xFF
out = _import(srv, [(name, good), ("BE128443099.MLG", bytes(bad))])
assert out["count"] == 2
assert [r["status"] for r in out["results"]] == ["ok", "error"]
assert "record 1" in out["results"][1]["detail"]
assert [f["file_name"] for f in db.query_mlg_files("BE12844")] == ["BE128443065.MLG"]
assert sorted(p.name for p in store.root.rglob("*.MLG")) == ["BE128443065.MLG"]
def test_import_route_reads_mtimes(tmp_path, monkeypatch):
srv, db, _ = _env(tmp_path, monkeypatch)
out = _import(srv, [_fixture("BE128443065.MLG")], mtimes='{"BE128443065.MLG": 1788734760}')
f = db.get_mlg_file(out["results"][0]["file_id"])
assert f["file_mtime"] == "2026-09-06T22:46:00+00:00"
def test_import_route_rejects_bad_mtimes(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
with pytest.raises(HTTPException) as exc:
_import(srv, [_fixture("BE128443065.MLG")], mtimes="not json")
assert exc.value.status_code == 400
def test_timeline_and_monitoring_at_routes(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
_import(srv, [_fixture("BE8081321.MLG")])
tl = srv.db_unit_timeline(serial="BE8081", from_dt=None, to_dt=None)
assert tl["serial"] == "BE8081" and len(tl["sessions"]) == 4
windowed = srv.db_unit_timeline(serial="BE8081", from_dt="2019-04-13T00:00:00", to_dt=None)
assert [s["start"] for s in windowed["sessions"]] == [
"2019-04-12T18:38:14", "2019-04-13T07:05:15", "2019-04-15T12:47:05"]
assert [g["meaning"] for g in windowed["gaps"]] == ["call-in", "lost power"]
m = srv.db_unit_monitoring_at(serial="BE8081", at="2019-04-14T12:00:00")
assert m["serial"] == "BE8081" and m["status"] == "not_monitoring"
with pytest.raises(HTTPException) as exc:
srv.db_unit_monitoring_at(serial="BE8081", at="yesterday")
assert exc.value.status_code == 400
def test_timeline_routes_for_unknown_serial(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
tl = srv.db_unit_timeline(serial="BE0000", from_dt=None, to_dt=None)
assert (tl["sessions"], tl["gaps"], tl["call_ins"], tl["clock_steps"]) == ([], [], [], [])
assert srv.db_unit_monitoring_at(serial="BE0000", at="2026-09-08T10:00:00")["status"] == "unknown"
def test_mlg_records_route(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
_import(srv, [_fixture("BE8081321.MLG")])
out = srv.db_mlg_records(serial="BE8081", from_dt=None, to_dt=None)
assert out["count"] == 6 and out["records"][0]["start_time"] == "2019-04-12T17:17:59"
def test_mlg_file_route_returns_original_bytes(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
name, data = _fixture("BE8081321.MLG")
file_id = _import(srv, [(name, data)])["results"][0]["file_id"]
resp = srv.db_mlg_file(file_id=file_id)
assert Path(resp.path).read_bytes() == data and resp.filename == name
with pytest.raises(HTTPException) as exc:
srv.db_mlg_file(file_id="no-such-id")
assert exc.value.status_code == 404
def test_times_with_an_offset_or_empty_are_400(tmp_path, monkeypatch):
srv, _, _ = _env(tmp_path, monkeypatch)
for at in ("2019-04-14T12:00:00Z", "2019-04-14T12:00:00+00:00", ""):
with pytest.raises(HTTPException) as exc:
srv.db_unit_monitoring_at(serial="BE8081", at=at)
assert exc.value.status_code == 400, at
with pytest.raises(HTTPException) as exc:
srv.db_mlg_records(serial="BE8081", from_dt="2019-04-14T12:00:00Z", to_dt=None)
assert exc.value.status_code == 400
def test_bad_mtime_values_are_refused_before_anything_is_stored(tmp_path, monkeypatch):
srv, db, _ = _env(tmp_path, monkeypatch)
with pytest.raises(HTTPException) as exc:
_import(srv, [_fixture("BE128443065.MLG"), _fixture("BE128443067.MLG")],
mtimes='{"BE128443067.MLG": "noon"}')
assert exc.value.status_code == 400
assert db.query_mlg_files("BE12844") == []
+94
View File
@@ -0,0 +1,94 @@
"""
Tests for .MLG storage: SeismoDb's mlg_files / mlg_records tables and
WaveformStore.save_mlg (spec docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md §3).
"""
from __future__ import annotations
import datetime
import hashlib
import os
import sys
from pathlib import Path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from minimateplus.mlg_file import read_mlg
from sfm.database import SeismoDb
from sfm.waveform_store import WaveformStore
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
UTC = datetime.timezone.utc
def _insert(db: SeismoDb, name: str, *, as_name: str | None = None, call_in: bool = True):
raw = (FIX / name).read_bytes()
mlg = read_mlg(FIX / name)
return db.insert_mlg(
serial=mlg.serial, file_name=as_name or name, sha256=hashlib.sha256(raw).hexdigest(),
size=len(raw), empty=mlg.empty, call_in=call_in,
file_mtime=datetime.datetime(2026, 9, 8, 17, 39, 52, tzinfo=UTC),
stored_path=f"{mlg.serial}/mlg/{as_name or name}", records=mlg.records,
)
def test_insert_and_query_round_trip(tmp_path):
db = SeismoDb(tmp_path / "t.db")
file_id, inserted, skipped = _insert(db, "BE128443067.MLG")
assert file_id and (inserted, skipped) == (3, 0)
rows = db.query_mlg_records("BE12844")
assert [r["start_time"] for r in rows] == [
"2026-09-07T18:47:27", "2026-09-08T06:00:13", "2026-09-08T13:38:22"]
assert rows[1]["stop_time"] is None and rows[1]["flags"] == 0xFFFF
assert (rows[2]["trigger_source"], rows[2]["event_time"], rows[2]["seq"]) == (
1, "2026-09-08T13:38:22", 3)
assert rows[2]["trigger_level"] == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert {r["file_id"] for r in rows} == {file_id}
f = db.get_mlg_file(file_id)
assert (f["file_name"], f["record_count"], f["empty"], f["call_in"]) == ("BE128443067.MLG", 3, 0, 1)
assert f["file_mtime"] == "2026-09-08T17:39:52+00:00"
assert [x["id"] for x in db.query_mlg_files("BE12844")] == [file_id]
def test_same_file_twice_is_a_duplicate(tmp_path):
db = SeismoDb(tmp_path / "t.db")
_insert(db, "BE128443067.MLG")
assert _insert(db, "BE128443067.MLG") == (None, 0, 0)
assert len(db.query_mlg_files("BE12844")) == 1
raw = (FIX / "BE128443067.MLG").read_bytes()
assert db.mlg_file_exists("BE128443067.MLG", hashlib.sha256(raw).hexdigest())
assert not db.mlg_file_exists("BE128443067.MLG", "0" * 64)
def test_open_record_is_stored_once(tmp_path):
db = SeismoDb(tmp_path / "t.db")
_insert(db, "BE128443067.MLG")
file_id, inserted, skipped = _insert(db, "BE128443067.MLG", as_name="BE12844.MLG", call_in=False)
assert file_id and (inserted, skipped) == (0, 3)
assert len(db.query_mlg_records("BE12844")) == 3
def test_records_differing_only_in_text_are_the_same_record(tmp_path):
db = SeismoDb(tmp_path / "t.db")
assert _insert(db, "BE11529.MLG")[1:] == (3, 0)
file_id, inserted, skipped = _insert(db, "BE115292.MLG")
assert file_id and (inserted, skipped) == (0, 3)
def test_known_serials(tmp_path):
db = SeismoDb(tmp_path / "t.db")
assert db.known_serials() == set()
_insert(db, "BE128443067.MLG")
_insert(db, "BE8081.MLG")
assert db.known_serials() == {"BE12844", "BE8081"}
def test_save_mlg_keeps_both_when_names_collide(tmp_path):
store = WaveformStore(tmp_path / "waveforms")
a = store.save_mlg("BE11529", "BE11529.MLG", b"one")
assert a == "BE11529/mlg/BE11529.MLG"
assert store.save_mlg("BE11529", "BE11529.MLG", b"one") == a # same bytes: reused
b = store.save_mlg("BE11529", "BE11529.MLG", b"two")
assert b != a and b.startswith("BE11529/mlg/BE11529.") and b.endswith(".MLG")
assert (store.root / a).read_bytes() == b"one" and (store.root / b).read_bytes() == b"two"
assert store.save_mlg(None, "BE6907751.MLG", b"x") == "_unresolved/mlg/BE6907751.MLG"
+261
View File
@@ -0,0 +1,261 @@
"""
Tests for sfm/mlg_timeline.py — a unit's monitoring timeline from its .MLG
records, and "was it monitoring at T" (spec §4).
Each case is a real file; the expected sessions were read off the records by
hand (docs/superpowers/specs/2026-11-09-mlg-unit-timeline-design.md,
"How a session appears").
"""
from __future__ import annotations
import datetime
import os
import sys
from pathlib import Path
import pytest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from sfm.database import SeismoDb
from sfm.mlg_ingest import ingest_mlg
from sfm.mlg_timeline import build_timeline, monitoring_at
from sfm.waveform_store import WaveformStore
FIX = Path(__file__).parent / "fixtures" / "mlg-11-9-26"
UTC = datetime.timezone.utc
dt = datetime.datetime
BASE = dt(2026, 1, 1, tzinfo=UTC)
def _timeline(tmp_path, serial, *names):
db, store = SeismoDb(tmp_path / "t.db"), WaveformStore(tmp_path / "w")
for i, name in enumerate(names):
res = ingest_mlg(db, store, name, (FIX / name).read_bytes(),
file_mtime=BASE + datetime.timedelta(hours=i))
assert res["status"] == "ok", res
return build_timeline(db.query_mlg_records(serial), db.query_mlg_files(serial))
def test_sessions_gaps_and_an_event_session(tmp_path):
tl = _timeline(tmp_path, "BE12844", "BE128443067.MLG", "BE128443068.MLG")
s = tl["sessions"]
assert len(s) == 3
assert (s[0]["start"], s[0]["stop"], s[0]["ended_by"], s[0]["kind"]) == (
"2026-09-07T18:47:27", "2026-09-07T20:00:00", "Timer Stop", "monitoring")
assert s[0]["trigger_level"] == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert (s[1]["start"], s[1]["stop"], s[1]["end_after"], s[1]["end_before"]) == (
"2026-09-08T06:00:13", None, "2026-09-08T13:38:25", "2026-09-08T13:41:16")
assert s[1]["running_at_last_report"] is False
assert [(e["start"], e["stop"], e["trigger_source"]) for e in s[1]["events"]] == [
("2026-09-08T13:38:22", "2026-09-08T13:38:25", 1)]
assert (s[2]["start"], s[2]["stop"], s[2]["ended_by"]) == (
"2026-09-08T13:41:16", "2026-09-08T18:45:00", "Modem Exit")
g = tl["gaps"]
assert [(x["start"], x["stop"], x["meaning"]) for x in g] == [
("2026-09-07T20:00:00", "2026-09-08T06:00:13", "scheduled off"),
("2026-09-08T13:38:25", "2026-09-08T13:41:16", "unknown")]
assert g[0]["minutes"] == pytest.approx(600.217, abs=0.01)
assert g[1]["minutes"] == pytest.approx(2.85, abs=0.01)
assert tl["clock_steps"] == []
def test_monitoring_at(tmp_path):
tl = _timeline(tmp_path, "BE12844", "BE128443067.MLG", "BE128443068.MLG")
m = monitoring_at(tl, dt(2026, 9, 8, 10, 0))
assert (m["status"], m["ambiguous"], len(m["sessions"])) == ("monitoring", False, 1)
assert m["trigger_level"] == "Geo: 0.0500 in/s Mic: 125.0 dB(L)"
assert monitoring_at(tl, dt(2026, 9, 8, 13, 38, 0))["status"] == "monitoring"
assert monitoring_at(tl, dt(2026, 9, 8, 13, 40, 0))["status"] == "unknown"
off = monitoring_at(tl, dt(2026, 9, 7, 23, 0))
assert off["status"] == "not_monitoring" and off["gap"]["meaning"] == "scheduled off"
assert monitoring_at(tl, dt(2027, 1, 1))["status"] == "unknown"
assert monitoring_at(tl, dt(2026, 1, 1))["status"] == "unknown"
def test_monitoring_at_boundaries_are_inclusive(tmp_path):
tl = _timeline(tmp_path, "BE12844", "BE128443067.MLG", "BE128443068.MLG")
for at in (dt(2026, 9, 7, 18, 47, 27), dt(2026, 9, 7, 20, 0, 0), dt(2026, 9, 8, 6, 0, 13)):
assert monitoring_at(tl, at)["status"] == "monitoring", at
def test_clock_step_back_is_not_a_negative_gap(tmp_path):
tl = _timeline(tmp_path, "BE12844", "BE128443155.MLG", "BE128443156.MLG")
assert [s["start"] for s in tl["sessions"]] == [
"2026-10-31T18:47:28", "2026-11-01T06:00:13", "2026-11-01T17:47:25"]
assert all(g["minutes"] >= 0 for g in tl["gaps"])
assert [g["meaning"] for g in tl["gaps"]] == ["scheduled off"]
(step,) = tl["clock_steps"]
assert (step["previous_stop"], step["next_start"]) == ("2026-11-01T18:45:00", "2026-11-01T17:47:25")
assert step["minutes"] == pytest.approx(-57.583, abs=0.01)
m = monitoring_at(tl, dt(2026, 11, 1, 18, 0))
assert (m["status"], m["ambiguous"], len(m["sessions"])) == ("monitoring", True, 2)
def test_weekend_battery_outage_and_missed_calls(tmp_path):
tl = _timeline(tmp_path, "BE8081", "BE8081321.MLG")
s = tl["sessions"]
assert [x["start"] for x in s] == [
"2019-04-12T17:17:59", "2019-04-12T18:38:14", "2019-04-13T07:05:15", "2019-04-15T12:47:05"]
assert [x["kind"] for x in s] == ["histogram"] * 4
assert [x["ended_by"] for x in s] == ["Modem Exit", "Modem Exit", "Battery Low Exit", "Modem Exit"]
assert s[0]["stop"] == "2019-04-12T18:33:00"
g = tl["gaps"]
assert [x["meaning"] for x in g] == ["call-in", "call-in", "lost power"]
assert [x["minutes"] for x in g] == pytest.approx([5.233, 5.233, 2999.833], abs=0.01)
assert [{k: v for k, v in c.items() if k != "file_id"} for c in tl["call_ins"]] == [
{"kind": "no_file", "unit_time": "2019-04-12T18:33:00", "file_time": None,
"file_name": "BE8081321.MLG"},
{"kind": "no_file", "unit_time": "2019-04-13T07:00:01", "file_time": None,
"file_name": "BE8081321.MLG"},
{"kind": "delivered", "unit_time": "2019-04-15T17:15:00",
"file_time": "2026-01-01T00:00:00+00:00", "file_name": "BE8081321.MLG"},
]
m = monitoring_at(tl, dt(2019, 4, 14, 12, 0))
assert m["status"] == "not_monitoring" and m["gap"]["meaning"] == "lost power"
def test_histogram_session_keeps_its_waveform_event(tmp_path):
tl = _timeline(tmp_path, "BE8081", "BE8081.MLG")
(s,) = tl["sessions"]
assert (s["start"], s["stop"], s["kind"], s["trigger_level"], s["ended_by"]) == (
"2018-02-16T15:15:31", "2018-02-16T15:15:49", "histogram", "Histogram", "Modem Exit")
(e,) = s["events"]
assert (e["start"], e["trigger_source"], e["trigger_level"]) == (
"2018-02-16T15:15:47", 2, "Geo: 0.300 in/s")
def test_event_with_an_end_bit_inside_a_histogram(tmp_path):
tl = _timeline(tmp_path, "BE9441", "BE94412.MLG")
s = tl["sessions"]
assert [(x["start"], x["stop"], x["ended_by"], x["kind"]) for x in s] == [
("2026-10-26T16:06:34", "2026-10-26T16:07:21", "Keyboard Exit", "histogram"),
("2026-10-26T17:00:36", "2026-10-26T18:53:53", "Remote Exit", "histogram")]
assert [e["description"] for e in s[0]["events"]] == ["Event Recorded Memory Full Exit"]
assert [g["meaning"] for g in tl["gaps"]] == ["stopped by a person"]
def test_call_in_kinds(tmp_path):
tl = _timeline(tmp_path, "BE6907", "BE6907750.MLG", "BE6907751.MLG")
assert [(c["kind"], c["unit_time"], c["file_name"]) for c in tl["call_ins"]] == [
("no_file", "2026-08-22T18:30:00", "BE6907750.MLG"),
("delivered", "2026-08-23T18:30:00", "BE6907750.MLG"),
("nothing_new", None, "BE6907751.MLG")]
def test_no_data_gives_an_empty_timeline():
tl = build_timeline([], [])
assert tl == {"sessions": [], "gaps": [], "clock_steps": [], "call_ins": []}
assert monitoring_at(tl, dt(2026, 9, 8))["status"] == "unknown"
def test_window_filters_call_ins_by_unit_time_and_empty_files_by_file_time(tmp_path):
from sfm.mlg_timeline import window
tl = _timeline(tmp_path, "BE6907", "BE6907750.MLG", "BE6907751.MLG") # files at BASE, BASE+1h (UTC)
late = window(tl, dt(2026, 8, 23), None)
assert [(c["kind"], c["unit_time"]) for c in late["call_ins"]] == [("delivered", "2026-08-23T18:30:00")]
around_file = window(tl, dt(2025, 12, 31), dt(2026, 1, 2))
assert [c["kind"] for c in around_file["call_ins"]] == ["nothing_new"]
assert window(tl, None, None)["call_ins"] == tl["call_ins"]
# ── Final-review fixes ────────────────────────────────────────────────────────
from minimateplus.mlg_file import mlg_bytes
from minimateplus.models import MlgFile, MlgRecord
def _rec(index, start, stop, flags, src=0, serial="BE12844"):
return MlgRecord(index=index, start=start, stop=stop, flags=flags, trigger_source=src,
serial=serial, text_raw=b"Geo: 0.0500 in/s".ljust(254, b"\x00"))
def _ingest_bytes(tmp_path, serial, files):
"""files: [(name, bytes, call_in)] in arrival order."""
db, store = SeismoDb(tmp_path / "t.db"), WaveformStore(tmp_path / "w")
for i, (name, data, call_in) in enumerate(files):
res = ingest_mlg(db, store, name, data, call_in=call_in,
file_mtime=BASE + datetime.timedelta(hours=i))
assert res["status"] == "ok", res
return db, build_timeline(db.query_mlg_records(serial), db.query_mlg_files(serial))
def test_windowed_timeline_without_file_mtime(tmp_path):
from sfm.mlg_timeline import window
db, store = SeismoDb(tmp_path / "t.db"), WaveformStore(tmp_path / "w")
for name in ("BE6907750.MLG", "BE6907751.MLG"):
ingest_mlg(db, store, name, (FIX / name).read_bytes()) # no file_mtime
tl = build_timeline(db.query_mlg_records("BE6907"), db.query_mlg_files("BE6907"))
assert all(c["file_time"] is None or c["file_time"].endswith("+00:00") for c in tl["call_ins"])
out = window(tl, dt(2026, 8, 1), None)
assert [c["kind"] for c in out["call_ins"]][:2] == ["no_file", "delivered"]
def test_event_triggered_call_on_the_clock_step_day(tmp_path):
a = mlg_bytes(MlgFile("BE12844", [_rec(1, dt(2026, 11, 1, 6, 0, 13), None, 0xFFFF),
_rec(2, dt(2026, 11, 1, 13, 38, 22), dt(2026, 11, 1, 13, 38, 25), 0x0001, 1)]))
b = mlg_bytes(MlgFile("BE12844", [_rec(1, dt(2026, 11, 1, 12, 41, 16), dt(2026, 11, 1, 18, 45), 0x0020)]))
_, tl = _ingest_bytes(tmp_path, "BE12844", [("BE128449001.MLG", a, True), ("BE128449002.MLG", b, True)])
first = tl["sessions"][0]
assert first["start"] == "2026-11-01T06:00:13" and len(first["events"]) == 1
assert tl["sessions"][1]["events"] == []
(step,) = tl["clock_steps"]
assert (step["previous_stop"], step["next_start"]) == ("2026-11-01T13:38:25", "2026-11-01T12:41:16")
assert tl["gaps"] == []
assert monitoring_at(tl, dt(2026, 11, 1, 10, 0))["status"] == "monitoring"
def test_call_in_whose_records_came_first_in_a_cable_download(tmp_path):
files = [("BE11529.MLG", (FIX / "BE11529.MLG").read_bytes(), False),
("BE115292.MLG", (FIX / "BE115292.MLG").read_bytes(), True)]
_, tl = _ingest_bytes(tmp_path, "BE11529", files)
assert [(c["kind"], c["unit_time"], c["file_name"]) for c in tl["call_ins"]] == [
("delivered", "2026-04-22T21:06:57", "BE115292.MLG")]
def test_sessions_and_call_ins_carry_their_records_and_files(tmp_path):
db, tl = _ingest_bytes(tmp_path, "BE8081", [
("BE8081321.MLG", (FIX / "BE8081321.MLG").read_bytes(), True)])
(f,) = db.query_mlg_files("BE8081")
ids = {r["id"] for r in db.query_mlg_records("BE8081")}
for s in tl["sessions"]:
assert s["file_ids"] == [f["id"]] and s["record_ids"] and set(s["record_ids"]) <= ids
assert sum(len(s["record_ids"]) for s in tl["sessions"]) == 6
assert {c["file_id"] for c in tl["call_ins"]} == {f["id"]}
m = monitoring_at(tl, dt(2019, 4, 12, 18, 0))
assert m["sessions"][0]["file_ids"] == [f["id"]]
def test_a_record_without_a_stop_does_not_break_the_timeline(tmp_path):
a = mlg_bytes(MlgFile("BE12844", [_rec(1, dt(2026, 9, 1, 6, 0), None, 0x0020)]))
_, tl = _ingest_bytes(tmp_path, "BE12844", [("BE128449003.MLG", a, True)])
assert monitoring_at(tl, dt(2026, 9, 1, 12, 0))["status"] == "unknown"
def test_a_missing_call_in_file_is_unknown_not_not_monitoring(tmp_path):
# #3066 and #3067 are not imported: the records of 09-06 18:47 to 09-08 13:38 are missing.
_, tl = _ingest_bytes(tmp_path, "BE12844", [
("BE128443065.MLG", (FIX / "BE128443065.MLG").read_bytes(), True),
("BE128443068.MLG", (FIX / "BE128443068.MLG").read_bytes(), True)])
(gap,) = tl["gaps"][-1:]
assert gap["start"] == "2026-09-06T18:45:00" and gap["meaning"] == "records missing"
assert gap["missing_files"] == [3066, 3067]
assert monitoring_at(tl, dt(2026, 9, 7, 12, 0))["status"] == "unknown"
# a real call-in gap (2 minutes) still reads as one
_, tl2 = _ingest_bytes(tmp_path / "b", "BE12844", [
("BE128443067.MLG", (FIX / "BE128443067.MLG").read_bytes(), True),
("BE128443068.MLG", (FIX / "BE128443068.MLG").read_bytes(), True)])
assert monitoring_at(tl2, dt(2026, 9, 8, 13, 40))["status"] == "unknown"
def test_a_unit_that_did_not_restart_after_a_call_in_was_not_monitoring(tmp_path):
# BE6907, real files #899-#902: no number is missing (#900, #901 are its usual empty
# call-ins), yet nothing was recorded from the 10-07 18:30 call-in until 10-21 11:42.
names = ["BE6907899.MLG", "BE6907900.MLG", "BE6907901.MLG", "BE6907902.MLG"]
_, tl = _ingest_bytes(tmp_path, "BE6907", [(n, (FIX / n).read_bytes(), True) for n in names])
gap = next(g for g in tl["gaps"] if g["start"] == "2026-10-07T18:30:00")
assert gap["stop"] == "2026-10-21T11:42:43" and gap["meaning"] == "no restart after a call-in"
assert gap["missing_files"] == []
m = monitoring_at(tl, dt(2026, 10, 14, 12, 0))
assert m["status"] == "not_monitoring" and m["gap"]["meaning"] == "no restart after a call-in"
+175
View File
@@ -0,0 +1,175 @@
"""#58: a reply whose checksum byte is 02, 03 or 04 arrives as `10 X`.
The unit escapes 02, 03, 04 and 10 in a reply, the checksum included. The
parser kept the `10` of an escaped checksum as the frame's last data byte, so
the data came out one byte long, ending in a lone 0x10 (measured on BE9441's
1A read at the bench, 2026-11-04).
Across every recorded reply (60 captures, March to October 2026), SUM8 of the
unescaped payload is the checksum on 7,747 of 7,747. 272 checksums arrived
escaped, and every one checks as an escape pair: the `10` is never data.
"""
from __future__ import annotations
import os
import pickle
import sys
from dataclasses import replace
from pathlib import Path
import pytest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import minimateplus.protocol as mp # noqa: E402
from minimate_replay import fast_clock # noqa: E402
from minimateplus.blastware_file import _frame_body_bytes, write_blastware_file # noqa: E402
from minimateplus.client import _decode_monitor_status # noqa: E402
from minimateplus.framing import S3FrameParser, unescape_reply # noqa: E402
from minimateplus.models import Event # noqa: E402
from minimateplus.protocol import is_call_home_block # noqa: E402
from sfm.waveform_store import A5_PICKLE_VERSION, WaveformStore, _frame_to_dict # noqa: E402
from test_5a_blastware_walk import ByAddress # noqa: E402
FIX = Path(__file__).parent / "fixtures"
def _escape(b: bytes) -> bytes:
"""The unit's encoding: 10 before 02, 03, 04 and 10."""
return b"".join(bytes([0x10, x]) if x in (0x02, 0x03, 0x04, 0x10) else bytes([x]) for x in b)
def reply(sub: int, data: bytes, page: bytes = b"\x00\x00") -> bytes:
"""A reply as the unit sends it: header, data and SUM8 checksum, escaped."""
payload = bytes([0x00, 0x10, sub]) + page + data
return b"\x10\x02" + _escape(payload + bytes([sum(payload) & 0xFF])) + b"\x03"
def data_for(chk: int, last: int, sub: int = 0xE3) -> bytes:
"""Data ending in `last` whose reply checksum comes out as `chk`."""
base = bytes(11) + b"#58"
fill = (chk - (0x10 + sub + sum(base) + last)) & 0xFF
return base + bytes([fill, last])
def one(wire: bytes):
frames = S3FrameParser().feed(wire)
assert len(frames) == 1
return frames[0]
@pytest.mark.parametrize("chk", [0x02, 0x03, 0x04])
def test_an_escaped_checksum_leaves_nothing_in_the_data(chk):
data = data_for(chk, last=0x55)
f = one(reply(0xE3, data))
assert (unescape_reply(f.data), f.chk_byte) == (data, chk)
@pytest.mark.parametrize("chk", [0x02, 0x03, 0x04])
def test_a_last_data_byte_of_0x10_survives_an_escaped_checksum(chk):
# Wire `10 10 10 0X`: a real 0x10, then the escaped checksum. Not in any
# recording; one A5 chunk in ten ends in a real 0x10.
data = data_for(chk, last=0x10)
f = one(reply(0xE3, data))
assert (unescape_reply(f.data), f.chk_byte) == (data, chk)
REPLY_RECORDINGS = ["minimate-bench-10-25-26/BE9441_event0_01110000_rx.bin",
"minimate-bench-10-25-26/BE9441_event1_0111646a_rx.bin",
"minimate-bench-10-26-26-blastware/unit_replies.bin",
"minimate-bench-10-26-26-histogram/unit_replies.bin"]
@pytest.mark.parametrize("name", REPLY_RECORDINGS)
def test_every_recorded_reply_checks(name):
# BE9441, October 2026: 2,509 replies, 62 with an escaped checksum.
frames = S3FrameParser().feed((FIX / name).read_bytes())
assert frames
assert [i for i, f in enumerate(frames) if not f.checksum_valid] == []
@pytest.mark.parametrize("chk", [0x10, 0x00, 0x55])
def test_any_other_checksum_reads_as_before(chk):
data = data_for(chk, last=0x10)
f = one(reply(0xE3, data))
assert (unescape_reply(f.data), f.chk_byte) == (data, chk)
# Two 1C replies recorded from BE11529 on 2026-04-08, checksums 03 and 02 escaped.
# The battery and memory are counted from the end, so the stray byte read them as
# 430.08 V / 251,654,656 bytes total.
STATUS_REPLIES = [
("4-8-26/mid-monitor/raw_s3_20260408_181417",
"1002001010e300002c0000000000000000000000100408100407ea00120e2c000000000000010107cb"
"00060000010107cb0015000000001002a8000efff2000e9d80100303", 6.80, 983026, 957824),
("4-8-26/raw_s3_20260408_013431",
"1002001010e300002c0000000000000000000000100408100407ea00012312000000000000010107cb"
"00060000010107cb0015000000001002a4000efff2000e9e98100203", 6.76, 983026, 958104),
]
@pytest.mark.parametrize("capture,wire,volts,total,free", STATUS_REPLIES)
def test_a_recorded_status_reply_with_an_escaped_checksum_reads_whole(capture, wire, volts, total, free):
st = _decode_monitor_status(one(bytes.fromhex(wire)).data)
assert (st.battery_v, st.memory_total, st.memory_free) == (volts, total, free)
def test_a_call_home_read_with_an_escaped_checksum_is_a_call_home_block():
# BE11529's 2C reply (2026-04-20), its block untouched; one header pad byte is
# set so the checksum comes out 02. The stray byte made it 125 bytes, and SFM
# refused the unit as monitoring.
recorded = S3FrameParser().feed(
(FIX / "s3-call-home-bw" / "raw_s3_20260420_162148_pull_call_home_options.bin").read_bytes())
data = bytearray(unescape_reply(next(f for f in recorded if f.sub == 0xD3 and len(f.data) > 11).data))
data[10] = (0x02 - (0x10 + 0xD3 + sum(data) - data[10])) & 0xFF
f = one(reply(0xD3, bytes(data)))
assert f.chk_byte == 0x02
assert is_call_home_block(f.data[11:])
assert unescape_reply(f.data[11:]) == bytes(data[11:])
@pytest.mark.parametrize("chk", [0x02, 0x03, 0x04])
def test_the_file_builder_keeps_a_real_0x10_before_an_escaped_checksum(chk):
# An A5 chunk reply: 12 header bytes, then the body bytes it carries.
data = data_for(chk, last=0x10, sub=0xA5)
f = one(reply(0xA5, data))
assert _frame_body_bytes(f, 12) == data[12:]
# -- the waveform store's .a5.pkl frames, saved by the parser as it was ---------------
def _write_pickle(store: WaveformStore, name: str, version: int, frames: list) -> None:
_bw, a5_path = store.paths_for("BE9441", name)
a5_path.parent.mkdir(parents=True, exist_ok=True)
with a5_path.open("wb") as fp:
pickle.dump({"version": version, "frames": [_frame_to_dict(f) for f in frames]}, fp)
def test_a_pickle_saved_before_58_still_builds_blastwares_file(tmp_path, monkeypatch):
# BE9441's K441LTOG.000 (10-26 recording): two of its chunk replies have an
# escaped checksum. A pickle from before #58 holds their stray 0x10s.
fast_clock(monkeypatch)
frames = mp.MiniMateProtocol(ByAddress()).read_bulk_waveform_stream(
bytes.fromhex("0112a0b6"), stop_after_metadata=False, include_terminator=True, strict=True)
old = [replace(f, data=f.data + b"\x10") if f.chk_byte in (0x02, 0x03, 0x04) else f
for f in frames]
assert sum(o.data != f.data for o, f in zip(old, frames)) == 2
store = WaveformStore(tmp_path / "waveforms")
_write_pickle(store, "K441LTOG.000", 1, old)
loaded = store.load_a5("BE9441", "K441LTOG.000")
assert [f.data for f in loaded] == [f.data for f in frames]
ev = Event(index=0)
ev.timestamp = None
write_blastware_file(ev, loaded, tmp_path / "K441LTOG.000")
bw = FIX / "minimate-bench-10-26-26-blastware" / "blastware" / "K441LTOG.000"
assert (tmp_path / "K441LTOG.000").read_bytes() == bw.read_bytes()
def test_a_pickle_saved_now_loads_as_saved(tmp_path):
# A real 0x10 before an escaped checksum: the conversion is for old pickles only.
f = one(reply(0xA5, data_for(0x02, last=0x10, sub=0xA5)))
store = WaveformStore(tmp_path / "waveforms")
_write_pickle(store, "K441LTOG.000", A5_PICKLE_VERSION, [f])
assert store.load_a5("BE9441", "K441LTOG.000")[0].data == f.data
+11
View File
@@ -65,3 +65,14 @@ def test_mic_channel_is_a_pulse_train():
def test_returns_empty_when_no_sensor_check_block(): def test_returns_empty_when_no_sensor_check_block():
assert decode_sensor_check(b"not a blastware file") == {} assert decode_sensor_check(b"not a blastware file") == {}
assert decode_sensor_check(b"") == {} assert decode_sensor_check(b"") == {}
def test_a_unit_without_a_mic_has_its_three_geophone_traces():
# BE16352 records no mic: its chain carries 0x3c-0x3e only (all 8 of its
# DL2 events, 2026-11-06), and the three ring-downs were being dropped.
raw = (Path(__file__).parent / "fixtures" / "decode-checker-10-29-26" / "R352HFZ7.530H").read_bytes()
sc = decode_sensor_check(raw)
assert set(sc) == {"Tran", "Vert", "Long"}
for ch in ("Tran", "Vert", "Long"):
tr = np.asarray(sc[ch], dtype=float)
assert len(tr) > 200 and tr.min() < -500, (ch, len(tr), tr.min())
+13
View File
@@ -512,6 +512,19 @@ def test_mic_count_to_db_v70_peak():
assert abs(mic_count_to_db(-813) - (-140.14)) < 0.1 assert abs(mic_count_to_db(-813) - (-140.14)) < 0.1
@pytest.mark.parametrize("count,printed", [
# Blastware's dB offset is pinned to [81.9382058, 81.9382266] by every DL2
# count it printed -- 1,704 in sample tables, 520 in histogram intervals,
# 494 histogram peaks (2026-11-09). These three counts bound it:
(129, "124.2"), # from below: the physical 81.93820 prints 124.1
(463, "135.2"), # from above in intervals and peaks: 81.9384 prints 135.3
(677, "138.5"), # from above in the sample tables
])
def test_mic_db_prints_as_blastware_at_its_rounding_edges(count, printed):
from minimateplus.decode_check import matches_printed
assert matches_printed(mic_count_to_db(count), printed), mic_count_to_db(count)
# ── End-to-end: decode_a5_frames (production entry point) ─────────────────── # ── End-to-end: decode_a5_frames (production entry point) ───────────────────