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:
maximeandClaude Opus 5.5 committed 2026-11-17 23:58:00 +01:00
1 parent c779de7720
commit ddb17c2189
321 files changed
+18464 -3426

No files matched your search

@@ -0,0 +1,15 @@
"""Night (00-04 UTC) and window medians of corr_x/corr_y, in px and in the whole-range noise (ranges.py noise)."""
import sys, statistics as st
from datetime import datetime, timezone
sys.path.insert(0, "tools/scripts"); import data
M = data.load("data/FLORIDA")
NOISE = {("Sellette 4","corr_x"):0.0157,("Sellette 5","corr_x"):0.0181,("Sellette 4","corr_y"):0.0128,("Sellette 5","corr_y"):0.0144}
def t(s): return datetime.strptime(s, "%Y-%m-%dT%H:%M").replace(tzinfo=timezone.utc)
W = [("night 05",t("2026-10-05T00:00"),t("2026-10-05T04:00")),("night 06",t("2026-10-06T00:00"),t("2026-10-06T04:00")),
("night 07",t("2026-10-07T00:00"),t("2026-10-07T04:00")),("09 08:00-13:30",t("2026-10-09T08:00"),t("2026-10-09T13:30")),
("night 10",t("2026-10-10T00:00"),t("2026-10-10T04:00")),("night 11",t("2026-10-11T00:00"),t("2026-10-11T04:00"))]
for s in ("Sellette 4","Sellette 5"):
for c in ("corr_x","corr_y"):
vals = {n: st.median([m[c] for m in M[s] if a <= m["t"] <= b and m[c] is not None] or [float("nan")]) for n,a,b in W}
ref = st.median([vals["night 05"],vals["night 06"],vals["night 07"]])
print(s, c, " ".join(f"{n}={v:+.3f}({(v-ref)/NOISE[(s,c)]:+.1f}n)" for n,v in vals.items()))
@@ -0,0 +1,24 @@
"""Max deviation (in noises) of the real targets within each label, from ranges.py outputs."""
import json, re, sys
from datetime import datetime
T = ["Massif 2", "Sellette 4", "Sellette 5", "Sellette 6"]
def p(s): return datetime.strptime(s, "%Y-%m-%dT%H:%MZ")
def parse(f):
out, col = [], None
for l in open(f):
m = re.match(r"(corr_[xy]): ranges", l)
if m: col = m.group(1); continue
if col is None: continue
for t in T:
if l.startswith(t + " ") or l.startswith(t + "2"):
d = re.findall(r"\d{4}-\d\d-\d\dT\d\d:\d\dZ", l)
if len(d) < 3: continue
rest = l[len(t):].split()
out.append((t, col, p(d[0]), p(d[1]), float(rest[4]), d[2]))
return out
rs = parse(sys.argv[2])
for l in open(sys.argv[1]):
L = json.loads(l); a, b = p(L["start"]), p(L["end"])
hits = [r for r in rs if r[2] <= b and r[3] >= a]
best = sorted(hits, key=lambda r: -abs(r[4]))[:4]
print(L["id"], L["start"], L["end"], L["family"][:10], " | ".join(f"{t} {c} {v:+.1f}@{x[11:16]}" for t, c, _, _, v, x in best) or "none")