Closed nhelsherif closed 2 months ago
We currently run into the same error.
Tested on
Our Error Code is:
` df[Columns.LONGITUDE.value] = df[Columns.LONGITUDE.value].astype(float)
ValueError: could not convert string to float: "44 52" `
We are having the same problems.
Even some of the examples don't work anymore (discover() still works, but the rest not). I tried different python and wetterdienst versions (>0.72.0) on a fresh install.
The DwdMosmixRequest does not seem affected by this, only the DwdObservationRequest.
Same problems here! Started yesterday with only the Minute 10 resolution giving this problem, now the daily resolution is also giving the same error
#collect temperatures
stations = DwdObservationRequest(
parameter=Parameter.TEMPERATURE_AIR_MEAN_200,
#resolution=Resolution.MINUTE_10, #TODO wait till bugfix wetterdienst
resolution=Resolution.DAILY,
start_date=datetime(2022, 8, 1),
end_date=datetime(2023, 9, 1),
)
# Filter on stationID closest to the garbage truck
result = stations.filter_by_station_id(station_id=("01303", ))
We have the same problem here and have written our own code now to retrieve the data we require.
The error seems to happen whe wetterdienst accesses the station list in this file: https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/recent/KL_Tageswerte_Beschreibung_Stationen.txt
The file was updated on April 25 at 9:20 (see update time here: https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/recent/ ) and probably something about the spacing between columns was changed. The file is tab/whitespace-separated.
Dear @nhelsherif , Dear all,
thanks for reporting!
will be looking into this later this day and create a fix + release.
The new release has a fix using new column specs for the parsing of the station lists. Apparently there was another issue for 5 minutes precipitation
which has another station list at [1]. Counting the workarounds we already have for the DWD 😵💫
Wow, I encounterd this issue yesterday and was happy to see it already being discussed. Not even 24h later and it is fixed!
Huge props to @gutzbenj and everyone involved!
Describe the bug Hi All
Seems that there is an error while trying to query for the Stations . My Code now fails when requesting the data with the following error
To Reproduce I am using the following function to get the stations details
Expected behavior Until Yesterday I was able to get the station data
Screenshots NA
Desktop (please complete the following information):
Additional context NA