Files
Support-Agent/labeling/auto/etiqueteur/LENZSPITZE_2026-10-01/outils/absurdes.py
T
maximeandClaude Opus 5.5 6fbd7510b7 Etiqueteur: October labels for 8 stations; its folder moves to labeling/auto/etiqueteur/, analyses and scripts versioned (D-126)
Labels for CLARIDEN, FLORIDA, JUNGFRAU (gaps 06-20.10, 26.10-01.11), LENZSPITZE,
NIEDERHORN, NORDEND, SNCF01, WILDSTRUBEL. Figures and tool outputs stay out of git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:33:41 +01:00

11 lines
704 B
Python

"""Mesures acceptées dont |corr_x| ou |corr_y| dépasse un seuil (défaut 0.5), avec error_value, inlier, reproj_err."""
import csv, glob, sys
S = float(sys.argv[1]) if len(sys.argv) > 1 else 0.5
for f in sorted(glob.glob('data/LENZSPITZE/displacement/*.csv')):
for r in csv.DictReader(open(f)):
if r['time_utc'] >= '2026-11-01' or not r['corr_x']: continue
if float(r['error_value']) > float(r['error_threshold']): continue
cx, cy = float(r['corr_x']), float(r['corr_y'])
if abs(cx) > S or abs(cy) > S:
print(r['time_utc'][:16], r['sensor_name'], f"{cx:+.3f} {cy:+.3f} ev={float(r['error_value']):.3f} inlier={r['inlier']} reproj={r['reproj_err'][:6]}")