auto: labels requalified under the 5-noise rules (only what stands out from the noise): 32 analyses refined, the 6 paused periods verified, the long labels requalified with the fixes the period analysts found; 1153 -> 961 labels
- 32 analyses: each label kept, rewritten or removed by its analyst (section Requalification of the report; mm magnitudes where the targets have them) - SNCF01 x3, WILDSTRUBEL 2026-09-01 -> 2026-10-06 x3: verified from their existing labels under the new rules - long labels (no analysis): auto/analyses/long-labels/<STATION>/; NORDEND-169 and -195 run to 07/11, so NORDEND-283 and -284 (their continuation) are removed - reading-rules.md, stations.md: the citations of removed or rewritten labels point to their successor, or to [expert] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c779de7720
commit
ddb17c2189
321 files changed
+18464
-3426
No files matched your search
@@ -0,0 +1,26 @@
|
||||
"""For each label, the largest deviation (in noises) of a target on corr_x/corr_y
|
||||
among the ranges.py ranges strictly inside the label's bounds, for each ranges file given."""
|
||||
import json, re, sys
|
||||
labels = [json.loads(l) for l in open(sys.argv[1])]
|
||||
files = sys.argv[2:]
|
||||
pat = re.compile(r'^(\S+)\s+(\S+Z)\s+(\S+Z)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\S+Z)\s+(\d+)')
|
||||
def load(f):
|
||||
out = []; col = None
|
||||
for line in open(f):
|
||||
if line.startswith('corr_x: ranges'): col = 'cx'
|
||||
elif line.startswith('corr_y: ranges'): col = 'cy'
|
||||
m = pat.match(line)
|
||||
if m and col:
|
||||
s, a, b, n, v, k, at, rej = m.groups()
|
||||
if s.startswith('PR') or s == 'CTR01':
|
||||
out.append((s, col, a, b, int(n), float(k), at))
|
||||
return out
|
||||
R = {f: load(f) for f in files}
|
||||
for L in labels:
|
||||
print(L.get('id'), L['start'], L['end'], L['family'])
|
||||
for f in files:
|
||||
hits = [r for r in R[f] if r[6] > L['start'] and r[6] < L['end']]
|
||||
hits.sort(key=lambda r: -abs(r[5]))
|
||||
tag = f.split('ranges_')[-1].replace('.txt', '')
|
||||
top = ', '.join(f"{s} {c} {k:+.1f} @{at[5:16]} ({n})" for s, c, a, b, n, k, at in hits[:5])
|
||||
print(f" {tag:10s} n={len(hits):3d} max={max([abs(r[5]) for r in hits], default=0):6.1f} {top}")
|
||||
Reference in new issue
Block a user