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>
This commit is contained in:
1 parent
2bba388290
commit
6fbd7510b7
112 files changed
+8951
-6
No files matched your search
@@ -0,0 +1,16 @@
|
||||
"""Températures et tension horaires de NORDEND, 10-15/08 (une ligne par heure, une colonne par métrique).
|
||||
Lancer depuis la racine : python3 labeling/auto/etiqueteur/NORDEND_2026-08-10/outils/metriques.py
|
||||
"""
|
||||
import csv, glob
|
||||
|
||||
M = ["sensor_thermal_deg_c", "sensor_CPU_deg_c", "sensor_A0_deg_c", "BusVoltage", "Power"]
|
||||
val = {}
|
||||
for m in M:
|
||||
for j in range(10, 16):
|
||||
for p in glob.glob(f"data/NORDEND/metrics/NORDEND_{m}_2026_08_{j:02d}_*.csv"):
|
||||
with open(p) as f:
|
||||
for r in csv.DictReader(f):
|
||||
val.setdefault(r["time_utc"][:13], {})[m] = float(r["metric"])
|
||||
print("heure " + " ".join(f"{m[:12]:>12}" for m in M))
|
||||
for h in sorted(val):
|
||||
print(h + " " + " ".join(f"{val[h].get(m, float('nan')):12.2f}" for m in M))
|
||||
Reference in new issue
Block a user