[x] implement freq=YEARLY for extremes. see below example code and timings. No added performance value for measurement timeseries, and also tricky in case of duplicated values (which will result in max aantal waarnemingen error)
Retrieve per year instead of month
For timeseries it might not matter whether the measurements are retrieved per year or per month, per month is even slightly faster, so maybe avoid the try/catch and only retrieve extremes per year:
ddlpy>=0.5.0
freq=YEARLY
for extremes. see below example code and timings. No added performance value for measurement timeseries, and also tricky in case of duplicated values (which will result in max aantal waarnemingen error)Retrieve per year instead of month For timeseries it might not matter whether the measurements are retrieved per year or per month, per month is even slightly faster, so maybe avoid the try/catch and only retrieve extremes per year: