Closed dbrakenhoff closed 1 month ago
This was sort of tricky because there are 2 things going on:
hpd.read_knmi
returns an ObsCollection and not an Obs object, even though you have only one observation. The station
attribute of an ObsCollection is a Series of the ObsCollection DataFrame. To get an Obs object you can use: hpd.PrecipitationObs.from_knmi(meteo_var='RD', stn=733, start='2024')
.o.station
returns a Series with two objects (and a date) even though you only have one observations is a bug fixed by #242.
I'm sometimes getting duplicate station names in the station attribute (resulting in a series instead of an int) when downloading precipitation data:
gives me:
This is a bit annoying when you expect an integer. Any idea why this is happening? Maybe something on the KNMI side?