v0.124.0
What's Changed
Added
- [DWD MOSMIX / DMO] Add
available_issues(station_id, settings)classmethod toDwdMosmixRequestandDwdDmoRequestthat lists the model-run datetimes currently available on DWD's OpenData server for a given station (MOSMIX_L single-station KMZ files and ICON single-station KMZ files respectively). - [CLI] Add
wetterdienst issues --provider <p> --network <n> --station <id>command that prints available issue datetimes as a JSON array. - [REST API] Add
GET /api/issues?provider=<p>&network=<n>&station=<id>endpoint returning{"issues": ["<UTC ISO datetime>", ...]}. Currently supported:provider=dwd, network=mosmixandprovider=dwd, network=dmo.
Fixed
- [DWD MOSMIX / DMO] Fix
issue(and DMOlead_time) parameters being silently ignored when calling the REST API or_get_stations_requestdirectly. The guard usedisinstance(api, DwdMosmixRequest)whereapiis the class itself (not an instance), so the condition was alwaysFalseandDwdForecastDate.LATESTwas used regardless of the caller's intent. Changed toissubclassand added aNone-guard so that omittingissuestill falls through to the dataclass default (DwdForecastDate.LATEST).
Full Changelog: v0.123.0...v0.124.0