Closed jdemaeyer closed 3 years ago
Parsing works as intended.
The culprit is that we delete recent
records once we have any historical
record for that timestamp, but the historical
records have only been published for some parameters yet. Turns out I actually anticipated this during development and then failed to check after new historical records were published: https://github.com/jdemaeyer/brightsky/blob/master/brightsky/tasks.py#L77-L83.
Edit: 10-minute extreme wind records are the only parameter with published historical
records for 2020 yet.
I have
recent
records,parsed_files
records for recent
sources (triggering a re-parsing), andThat should temporarily mitigate this issue but is not a permanent solution. Importantly, it will break as soon as any new historical records are released.
Seems like we're not parsing
historical
data sources properly:Source looks alright: https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/precipitation/historical/stundenwerte_RR_01766_19950901_20191231_hist.zipnevermind, historical records do not include 2020 yet