Grade visibility, add the periodic effect and the slow drift to the morning journal (D-056)
- Visibility: v0 kept after a measured trial of a simpler version (archived); two levels, Reduced and No visibility - Thermal: a 24-hour sinusoid confirms the daily wave, split into thermal expansion and contraction events - Jumps tested from the first measurement; turbulence never kept over a shift to check (CLARIDEN) - Data gaps say whether camera images exist; Displacements trends become slow drift events - Threshold registry moved to vues-deplacements/contexte/seuils-du-journal.md; plan points 11 to 17, 38 and 41 validated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4ac95ae1ca
commit
86547f089b
16 files changed
+475
-143
No files matched your search
@@ -206,12 +206,24 @@ def build(folder):
|
||||
plateforme = Path(folder).resolve().parent / "plateforme"
|
||||
captures = {tab: [url(p) for n in prefixes for p in sorted(plateforme.glob(f"{n}_*"))[:1]]
|
||||
for tab, prefixes in CAPTURES.items()}
|
||||
journal = categories.evenements(mesures)
|
||||
for e in journal: # un trou de mesures : des images pendant disent que la caméra tournait (point 15 du plan)
|
||||
if e["category"] == "trou":
|
||||
n = sum(e["start"] < im["t"] < e["end"] for im in images)
|
||||
e["text"] += f" The camera still took {n} images in this period, so it was running." if n \
|
||||
else " There is no camera image for this period either."
|
||||
hr = hourly(files["horaire"][0]) if files["horaire"] else {"times": [], "sensors": {}}
|
||||
regime, trends = regime_changes(hr)
|
||||
for tr in trends: # dérive lente : les tendances de l'onglet Displacements (D-055), à vérifier (point 16 du plan)
|
||||
journal.append({"start": tr["levels"][0][0], "end": tr["levels"][-1][0], "category": "derive_lente",
|
||||
"label": "Slow drift", "text": f"{tr['target']} drifts slowly and steadily: {tr['drift']:+.1f} mm "
|
||||
f"in {len(tr['levels'])} days. Keep watching it.", "ignore": False, "sensors": [tr["target"]],
|
||||
"process": "aucun", "episodes": []})
|
||||
journal.sort(key=lambda e: e["start"])
|
||||
return {"platform": Path(files["advanced"][0]).name.split("_advanced_")[0], "times": [donnees.iso(t) for t in instants],
|
||||
"sensors": sensors, "images": images, "view": view, "captures": captures,
|
||||
"folder": Path(os.path.relpath(Path(folder).resolve(), ROOT)).as_posix(), # pour la demande à l'agent
|
||||
"hourly": hr, "regime": regime, "trends": trends, "journal": categories.evenements(mesures),
|
||||
"hourly": hr, "regime": regime, "trends": trends, "journal": journal,
|
||||
"rules": {"abrupt": ABRUPT, "size": SIZE, "trend_size": TREND_SIZE, "trend_days": TREND_DAYS}}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user