ArtesiaWater / hydropandas

Module for loading observation data into custom DataFrames
https://hydropandas.readthedocs.io
MIT License
56 stars 11 forks source link

Empty precipitation series via KNMI daggegevens api for stations IJsselsteyn(L) 913 #245

Open martinvonk opened 1 month ago

martinvonk commented 1 month ago
pobs_api = hpd.PrecipitationObs.from_knmi(meteo_var="RD", stn=913, use_api=True)
assert pobs_api.empty

pobs_url = hpd.PrecipitationObs.from_knmi(meteo_var="RD", stn=913, use_api=False)
assert pobs_url.empty

The pobs_api is empty while the pobs_url is not empty. Not sure why this happens since there is data available. Maybe it has something to do with the station name: IJsselsteyn(L).

martinvonk commented 1 month ago

Or maybe it is the fault of the knmi that the file is empty on the api server but not via the url.

martinvonk commented 1 month ago

API server: https://www.daggegevens.knmi.nl/klimatologie/monv/reeksen URL server: https://www.knmi.nl/nederland-nu/klimatologie/monv/reeksen

OnnoEbbens commented 1 month ago

This:

Or maybe it is the fault of the knmi that the file is empty on the api server but not via the url.

martinvonk commented 1 month ago

I sent an email to the KNMI.