Hi everyone,
I recently built a small side project called WeinWetterWelt where I tried to estimate the quality of German wine vintages using historical weather data and machine learning:
GitHub:
I am honestly not very experienced with drinking wine myself, which is partly why I am posting here. I would genuinely be interested in hearing what people with much more wine knowledge think about the results.
The project was inspired by Orley Ashenfelter’s work on Bordeaux wines. I combined public wine ratings from the X-Wines database with climate data from the German Weather Service (DWD), mapped weather stations to official German wine regions, and trained Random Forest models on historical vintage ratings.
The three strongest variables in the model ended up being:
- precipitation during the preceding winter
- precipitation close to harvest
- growing season temperature
One thing I found particularly interesting:
Unlike the classic Ashenfelter Bordeaux relationship, warmer growing season temperatures were not nearly as positive for German wines as I expected. In fact, cooler growing season conditions often appeared more favorable in the model. Considering Germany’s strong focus on Riesling and cooler-climate styles, this maybe makes sense — but I would really be interested in hearing opinions from people with deeper wine experience.
Important disclaimer:
I am not claiming weather alone determines wine quality, nor that this can predict whether a bottle will be “great.” I see it more as a climate-based vintage indicator for comparing regions and vintages.
Curious what people here think about the findings and whether they match real-world tasting experience.


