Icíar Lloréns Jover, Michaël Defferrard, Gionata Ghiggi
The code in this repository provides a framework for a deep learning medium range weather prediction method based on graph spherical convolutions. The results obtained with this code are detailed in the Masters thesis report and slides.
Ressources:
- Report and slides: Geometric deep learning for medium-range weather prediction
For a local installation, follow the below instructions.
-
Clone this repository.
git clone https://github.com/illorens/weather_prediction.git cd weather_prediction
-
Install the dependencies.
conda env create -f environment.yml
-
Create the data folders
mkdir data/equiangular/5.625deg/ data/healpix/5.625deg/
-
Download the WeatherBench data on the
data/equiangular/5.625deg/
folder by following instructions on the WeatherBench repository. -
Interpolate the WeatherBench data onto the HEALPix grid. Modify the paremeters in
scripts/config_data_interpolation.yml
as desired.python -m scripts.data_iterpolation -c scripts/config_data_interpolation.yml
The below notebooks contain all experiments used to create our obtained results.
- Effect of static features on predictability. Shows the effect of the removal of all static features from the model training. The notebook shows the training, results and comparison of the models.
- Effect of dynamic features on predictability Shows the effect of the addition of one dynamic feature to the model. The notebook shows the training, results and comparison of the models.
- Effect of temporal sequence length and temporal discretization on predictability We cross-test the effect of different sequence lengths with the effect of different temporal discretizations. The notebook shows the training, results and comparison of the models.
The below notebooks show how to evaluate the performance of our models.
- Model evaluation Allows to evaluate with multiple metrics the performance of a model with respect to true data.
- Error video Produces a video of the error between predictions and true data.
The content of this repository is released under the terms of the MIT license.