Jupyter Notebooks for downloading, processing and visualizing weather data provided by the German Weather Service (DWD) / Open Data (licensed CC-BY 4.0, read more) and maps provided by Registry of Open Data on AWS. The used data was republished on Huggingface here and here.
The data covers the heatwave in Germany in June 2026.
Download this repository and install dependencies:
git clone https://github.com/haesleinhuepf/weather
cd weather
pip install -r requirements.txt
Run the download_huggingface.ipynb notebook.
Also execute the download_maps.ipynb notebook to store GeoJson data of outlines of Germany and its federal states.
Optionally, you can also download the data from DWD directly. This is recommended, if you want to plot more recent data than from the beginning of July 2026. In this case, use [download_dwd.ipynb]. It will create folders such as temp_recent and/or rain_recent containing temperature and rain data from here or here.
You can then convert this data to parquet and optionally upload it to huggingface. Note: When publishing DWD data, please respect DWDs copyright notice.
In the plot_day.ipynb and plot_weeks.ipynb notebooks we use geopandas, seaborn and stackview to visualize weather data on top of map data as animated Gifs.
Large parts of the code provided here was AI generated using ChatGPT / GPT5 and bia-bob using the claude-4.6-sonnet model.