mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 15:26:15 +00:00
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.
This commit is contained in:
1 parent
5e2a22340f
commit
70e3a1cf92
10 files changed
+128
-1
No files matched your search
@@ -31,6 +31,8 @@ class DayForecast(BaseModel):
|
||||
km_open: float | None = None
|
||||
max_km: float | None = None
|
||||
crowd_level: str | None = None
|
||||
sky_condition: str | None = None
|
||||
snow_type: str | None = None
|
||||
weather_summary: str | None = None
|
||||
rule_notes: list[str] = Field(default_factory=list)
|
||||
prediction_source: str | None = None
|
||||
|
||||
Reference in new issue
Block a user