Skip to content
forked from mllam/neural-lam

About

Research Software for Neural Weather Prediction for Limited Area Modeling

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

slack Linting CPU+GPU testing

Neural-LAM is a repository of graph-based neural weather prediction models designed for high-resolution Limited Area Modeling (LAM). The codebase is built on PyTorch and PyTorch Lightning, utilizing PyG for graph neural network implementations. It provides a modular framework for training and evaluating state-of-the-art autoregressive regional weather forecasts.

Quick Install

python -m pip install neural_lam

For advanced installation options, including uv, developer tools, and exact PyTorch CUDA variants, see the full Installation Guide.

Documentation

Section Description
Getting Started Overview and installation
Datastores Working with data
Graph Generation Creating graph structures
Training Training models
Evaluation Evaluating models
Contributing How to contribute and architecture details

Development and Contributing

See the Contributing Guide for information on how to set up a development environment, run tests, and open pull requests.

Publications

For a more in-depth scientific introduction to machine learning for LAM weather forecasting see the publications listed here. As the code in the repository is continuously evolving, the latest version might feature some small differences to what was used for these publications. We retain some paper-specific branches for reproducibility purposes.

If you use Neural-LAM in your work, please cite the relevant paper(s).

@inproceedings{oskarsson2023graphbased,
    title={Graph-based Neural Weather Prediction for Limited Area Modeling},
    author={Oskarsson, Joel and Landelius, Tomas and Lindsten, Fredrik},
    booktitle={NeurIPS 2023 Workshop on Tackling Climate Change with Machine Learning},
    year={2023}
}

See the branch ccai_paper_2023 for a revision of the code that reproduces this workshop paper.

@inproceedings{oskarsson2024probabilistic,
  title = {Probabilistic Weather Forecasting with Hierarchical Graph Neural Networks},
  author = {Oskarsson, Joel and Landelius, Tomas and Deisenroth, Marc Peter and Lindsten, Fredrik},
  booktitle = {Advances in Neural Information Processing Systems},
  volume = {37},
  year = {2024},
}

See the branches prob_model_lam and prob_model_global for revisions of the code that reproduces this paper. The global and probabilistic models from this paper are not yet fully merged with main (see issues 62 and 63).

Contact

If you are interested in machine learning models for LAM, have questions about the implementation or ideas for extending it, feel free to get in touch. There is an open mllam slack channel that anyone can join (after following the link you have to request to join, this is to avoid spam bots). You can also open a github issue on this page.

About

Research Software for Neural Weather Prediction for Limited Area Modeling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages