wetterdienst
wetterdienst copied to clipboard
deprecated dataset in Geosphere, update needed in endpoint
Describe the bug Geosphere recently seemed to have updated their dataset resource. I was trying to retrieve the snow depth data in a certain region, however it is shown missing when I access through wetterdienst. On comparing the data directly accessing from Geopshere API, I discovered that the resource used in wetterdienst is deprecated.
To Reproduce Steps to reproduce the behavior:
Request the data:
reqData = GeosphereObservationRequest(
parameter=GeosphereObservationParameter.SNOW_DEPTH,
resolution=GeosphereObservationResolution.DAILY,
start_date='2023-11-22',
end_date= '2024-04-19'
)
reqData.filter_by_station_id(station_id='87').values.all()
The output I get:
Expected behavior The data is available. But Geosphere seem to have updated their dataset resource. You can find all the list of deprecated resources here: https://dataset.api.hub.geosphere.at/v1/docs/user-guide/resource.html. There is also alternative endpoint name suggested for all those resources.