CLIMADA-compatible module for generating and analyzing seasonal forecast hazards from Copernicus data
Project description
Copernicus Seasonal Forecast Module
This repository hosts the copernicus_climada_seasonal_forecast package, a Python module developed as part of the U-CLIMADAPT project.
The module connects seasonal forecast data from the Copernicus Climate Data Store (CDS) with flexible data processing and climate impact modeling tools. It includes robust functionality to download hourly seasonal forecast data and automatically convert it to daily resolution, enabling a wide range of climate analyses beyond just heat-related indices.
Users can leverage the package to:
- Convert raw Copernicus seasonal forecasts into usable daily datasets.
- Compute custom or predefined climate indices (e.g., Heatwaves, Tropical Nights).
- Generate CLIMADA-compatible hazard objects from processed data to support impact-based forecasting and risk assessment workflows.
While the package is not part of the core CLIMADA platform, it is designed for tight integration with it, supporting end-to-end workflows from raw data acquisition to risk estimation and adaptation planning.
Documentation
Installation
You can install copernicus-seasonal-forecast-tools in three ways:
1. Install via pip (recommended for most users)
pip install copernicus-seasonal-forecast-tools
2. Install via conda or mamba
conda install -c conda-forge copernicus-seasonal-forecast-tools
3. Install directly from GitHub
git clone https://github.com/your-username/copernicus-seasonal-forecast-tools.git
cd climada_copernicus_seasonal_forecast
pip install .
CLIMADA Installation
If you want to create a hazard object, you need to install CLIMADA as a dependency.
Follow the steps below:
# 1. Clone the CLIMADA repository
git clone https://github.com/CLIMADA-project/climada_python.git
# 2. Install CLIMADA in development mode
cd climada_python
pip install -e .
cd ..
# 3. Update your environment with the rest of the dependencies if needed
pip install -e .
# 4. Verify the installation
python -c "from climada.hazard import Hazard; print('Hazard module successfully imported!')"
Example of use
This repository provides Jupyter Notebooks to work with CLIMADA and the Copernicus seasonal forecast module.
There are two notebooks available:
Modul_climada_copernicus_seasonal_forecast_workshop.ipynb: This is the first notebook to run. It demonstrates how to install and use thecopernicus_interfacemodule to download, process, and convert seasonal forecast data into a CLIMADA hazard object.DEMO_Modul_climada_copernicus_seasonal_forecast_workshop.ipynb: This is the second notebook. It provides a full example application of the seasonal forecast hazard data in an end-to-end climate impact assessment pipeline.
Notebooks
| Notebook | Open in Colab | GitHub Link |
|---|---|---|
Modul_climada_copernicus_seasonal_forecast_workshop.ipynb |
View on GitHub | |
DEMO_Modul_climada_copernicus_seasonal_forecast_workshop.ipynb |
View on GitHub |
Run in Colab
- Click on Open in Colab for the notebook of interest.
- Make sure you follow all the setup cells in the notebook to install CLIMADA and its dependencies.
Run Locally
If you plan to run this notebook locally, you must first install CLIMADA and all required dependencies on your system.
👉 For detailed instructions, follow the official CLIMADA installation guide:
CLIMADA Installation Guide
After installing CLIMADA, you should also install the seasonal forecast module by following the instructions in the document below:
👉 Copernicus Forecast Module Installation Instructions (PDF)
Alternatively, you can install the module manually by cloning the repository:
git clone https://github.com/DahyannAraya/climada_copernicus_seasonal_forecast_workshop.git
cd climada_copernicus_seasonal_forecast_workshop
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file copernicus_seasonal_forecast_tools-0.1.0.tar.gz.
File metadata
- Download URL: copernicus_seasonal_forecast_tools-0.1.0.tar.gz
- Upload date:
- Size: 50.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7e3a263751305afbe2fa5d0a934f629aff3d85c0ee298851fa5c10d782d466
|
|
| MD5 |
cb68abb0734f614ae950d80a6a48f671
|
|
| BLAKE2b-256 |
94f16ae25163f0b54e17487cd42267ef4de3ca2c33f08c2ef8b0bb8d7c4e6230
|
File details
Details for the file copernicus_seasonal_forecast_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: copernicus_seasonal_forecast_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 49.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596f70d49a86b432a9ef8538c207d8b2f8f8c2158441208b7d6637c667df4166
|
|
| MD5 |
815df97e417e80e478809a4bd13bedfb
|
|
| BLAKE2b-256 |
25d93ccd4e09c83a87ea562b42334474795388a2e58d1b5b928b8a5d7ed64961
|