Le CSV liste-stations-synop de Météo France arrive en CRLF, le split('\n')
laissait un \r en fin de chaque header → header.indexOf('name') = -1
→ stations[].name = undefined → 'station undefined' affiché côté front.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- normales.ts : computeAnomaly évalue 2 fenêtres (3j pour détecter un pic
récent, 7j pour la tendance lissée), retient la pire catégorie. Évite
de noyer un +15°C sur 3 jours dans 4 jours précédents normaux.
- FranceMap : max-w-3xl → max-w-5xl (1024px sur PC, plus lisible).
Mapping dept → station SYNOP (script build-stations-synop.mjs + json statique)
pour préparer l'intégration hourly via API Météo France officielle.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>