We here provide examples for loading and preprocessing data from the Copernicus Climate Data Store (CDS) for application in city governments. All examples are tailored for the city of Constance. The work is part of the CoKLIMAx project and the Smart Green City Konstanz program.
The notebooks and scripts require a few Python dependencies. We list
them in pyproject.toml
. We develop and test on
Python 3.12 with the specific package versions listed in
requirements.txt
.
We recommend installing the dependencies into a virtual environment. E.g. on a typical Linux setup you can do the following in the project root directory.
python -m venv venv
venv/bin/pip install --upgrade pip
venv/bin/pip install -r requirements.txt
venv/bin/jupyter-notebook
Each notebook/script provides usage examples for one CDS dataset.
Heat Wave Days:
Satellite Lake Water Temperature:
Climate indicators for Europe from 1940 to 2100:
We distribute our work under the MIT license. We provide the full
license terms in the LICENSE
file.