Closed dcervenkov closed 1 year ago
Thank you for reaching out @dcervenkov,
I looked into this and I can confirm that you should use >= 1.6.0 for the correct data. Version 1.5.7 uses an outdated endpoint which is still available so we don't break existing installations. However, the data you're receiving from this endpoint was removed due to a bug in DWD MOSMIX data.
Thanks for looking into this and explaining the situation, @clampr!
I get different datasets from the same request in older and newer versions of meteostat. I narrowed it down to the jump from 1.5.11 to 1.6.0.
To make the comparison as apples-to-apples as possible, I'm using
pandas==2.0.3
which works with bothmeteostat==1.5.11
andmeteostat==1.6.0
.Steps to reproduce
meteostat 1.5.11
Result
meteostat 1.6.0
Result
Notice the
prcp
column has 12628 non-null values in 1.5.11 but only 3867 non-null values in 1.6.0!