Add the day focus: a day and the day before only
D-024: to explain a day's color, show only that day and the day before, the only days analyses 03 and 04 read for it. day_color.focus() selects the data (standard library); src/focus_jour.py prints a traceable fact summary and writes a 48 h BusVoltage figure (out/<STATION>_focus_<date> .html and .json). Analysis 03 gains the night_end_h fact; the other facts are unchanged. The client Energy mockup does not use this figure: the user prefers numeric facts there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8452973912
commit
1a2220d317
8 files changed
+177
-4
No files matched your search
@@ -12,6 +12,8 @@ Le script analyse `data/` (station VERMONT) et ouvre deux pages dans le navigate
|
||||
- `out/VERMONT_daily.html` : l'état et la tendance de la batterie jour par jour (analyses 03 et 04), destinés au site de monitoring ; sa figure Plotly est aussi dans `out/VERMONT_daily.json` ;
|
||||
- `out/VERMONT_energy.html` : le détail de toutes les analyses.
|
||||
|
||||
Pour comprendre la couleur d'un jour, en ne regardant que ce jour et la veille : `python3 src/focus_jour.py 27.09`.
|
||||
|
||||
Le graphique se lit ainsi :
|
||||
- **en haut**, l'analyse ;
|
||||
- **dessous**, une courbe par mesure de la station ;
|
||||
|
||||
Reference in new issue
Block a user