13 Commits
Author SHA1 Message Date
dasemu 70e3a1cf92 feat(weather): add sky conditions and snow type to predictions
Add WMO weather_code from Open-Meteo to derive sky conditions
(sunny/cloudy/foggy/storm) and infer snow type (powder/hard/wet/spring)
from temperature and snowfall data. Both fields flow through the full
pipeline: weather API, hybrid predictor, SQLite storage, REST API
schemas, Telegram bot messages, and scheduler tasks.
2026-03-17 17:54:43 +01:00
dasemu fa7d61b7db Hola 2026-03-13 15:10:37 +01:00
dasemu f63913b23c fix(setup): enforce webcam crowd labels 2026-03-13 12:09:42 +01:00
dasemu f6a65f41d9 feat: unified architecture and webcam archive optimization
- Refactor backend into a single process (FastAPI + APScheduler + Telegram Bot)
- Implement 'current_forecasts' and 'past_forecasts' architecture in storage
- Optimize historical webcam collector with date range discovery for Pajares, San Isidro, and Fuentes
- Clean up legacy scripts and tables (prediction_runs, prediction_stations)
- Update tests and operations documentation
2026-03-13 11:56:59 +01:00
dasemu a70eff3e45 merge: clean predictor debt
# Conflicts:
#	predictor/rules.py
2026-03-13 10:52:48 +01:00
dasemu e6add1b727 fix(core): clean predictor debt 2026-03-13 10:51:29 +01:00
dasemu 49580ec010 feat(rules): refactor rules to be deterministic and add validation script 2026-03-13 10:45:59 +01:00
dasemu b4c6041eea feat(crowd): add automated historical webcam collection and dataset integration 2026-03-13 10:41:57 +01:00
dasemu 04eb0fde61 fix(data): normalize station history dates 2026-03-13 08:45:00 +01:00
dasemu 9c8ba03574 feat(storage): migrate project to sqlite 2026-03-13 06:50:18 +01:00
dasemu 1bc1e58781 fix(pipeline): anchor features to target date 2026-03-12 19:04:56 +01:00
dasemu e14a9f2d3b fix(pipeline): preserve historical features 2026-03-12 16:49:46 +01:00
dasemu 1afe2b73e0 feat: initial ski predictor system
Hybrid ML + rules prediction system for 3 Asturian ski stations
(Pajares, San Isidro, Fuentes de Invierno).

- Weather data from Open-Meteo (historical + forecast)
- Station scraping from infonieve.es (live + 16 seasons historical TSV)
- Feature engineering: rolling snow, calendar, temperature/pressure trends
- ML models: RandomForest (open/close), GradientBoosting (km), LightGBM (crowd)
- Rules engine: wind closure, snow depth, rain+heat, heavy snow
- YOLOv8 webcam crowd detection (cars, people in parking/lifts)
- Telegram bot with /pajares, /sanisidro, /fuentes commands
- Daily cron pipeline for automated data collection and predictions
- Deployment guide with systemd service and cron setup
2026-03-12 14:51:32 +01:00