geoarches
Machine learning framework for geospatial data, mainly climate and weather.
What is geoarches?
geoarches is a machine learning library for training, running and evaluating models on weather and climate data, developed by Guillaume Couairon and Renu Singh in the ARCHES team at INRIA (Paris, France).
geoarches's building blocks can easily be integrated into any research ML pipelines. It can also be used to run the ArchesWeather and ArchesWeatherGen weather models.
geoarches builds on PyTorch, PyTorch Lightning and Hydra. Once installed, you can use its modules inside your own project, or use the main training and evaluating workflows. To develop your own models or modify existing ones, the intended usage is to work in your own working directory and create your own configurations files and Lightning modules. See the User Guide for the full details.
Code Overview
geoarches is meant to jumpstart your ML pipeline with building blocks for data handling, model training, and evaluation. This is an effort to share engineering tools and research knowledge across projects.
Data
download/: Parallelized dataset download scripts with support for chunking to speed up read access.dataloaders/: PyTorch datasets for loading and preprocessing NetCDF files into ML-ready tensors.
Model training
backbones/: Network architectures that plug into Lightning modules.lightning_modules/: Training and inference wrappers that are agnostic to the backbone but specific to the ML task — handle losses, optimizers, and metrics.
Evaluation
metrics/: Tested suite of efficient, memory-friendly metrics.evaluation/: End-to-end scripts to benchmark model predictions and generate plots.
Pipeline
main_hydra.py: Entry point for training or inference using Hydra configurations.docs/archesweather/: Quickstart code for training and inference.
Installation
Install the latest release from PyPI:
pip install geoarches
To contribute or work from the latest source, clone the repository and install the package with either Poetry (>=2.2) or uv:
git clone git@github.com:INRIA/geoarches.git
cd geoarches
# With Poetry
poetry install
# Or with uv
uv sync
[!NOTE] Both tools install
geoarchesin editable mode. This allows you to make changes to the package locally, meaning any local changes will automatically be reflected to the code in your environment.
For full installation instructions, see the documentation.
Contributing
The project welcomes contributions and suggestions. If you want to contribute, please read the Contributing Guide.
External Resources
Many thanks to the authors of WeatherLearn for adapting the Pangu-Weather pseudocode to PyTorch. The code for our model is mostly based on their codebase.
License
geoarches is available under the BSD 3-Clause License.
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 geoarches-0.2.1.tar.gz.
File metadata
- Download URL: geoarches-0.2.1.tar.gz
- Upload date:
- Size: 20.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f6b3aa7ed3f1a5e1128dc89d2b0398af9e00ca5d36684c8a701a5f829bff26f
|
|
| MD5 |
b1b1628f61a8ea050d1b69992ba0b510
|
|
| BLAKE2b-256 |
b2c9737e15321c53c44ac8d613342600c68652de01693e3296337519aeae4072
|
Provenance
The following attestation bundles were made for geoarches-0.2.1.tar.gz:
Publisher:
publish-final-release.yml on INRIA/geoarches
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geoarches-0.2.1.tar.gz -
Subject digest:
2f6b3aa7ed3f1a5e1128dc89d2b0398af9e00ca5d36684c8a701a5f829bff26f - Sigstore transparency entry: 2473627315
- Sigstore integration time:
-
Permalink:
INRIA/geoarches@df803fb53e999acf4287b96da34ff699ad7965fd -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/INRIA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-final-release.yml@df803fb53e999acf4287b96da34ff699ad7965fd -
Trigger Event:
push
-
Statement type:
File details
Details for the file geoarches-0.2.1-py3-none-any.whl.
File metadata
- Download URL: geoarches-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a852af83cc7258369382b61c9063d5194f9c73bdd6033e2e270b8c485facd16
|
|
| MD5 |
e5f8f1eaa95beadc941205a1edd69648
|
|
| BLAKE2b-256 |
bef82c0b3551b72f14c3c248047e122c1a90d558b9bd835aeb4ecace0a6d94d5
|
Provenance
The following attestation bundles were made for geoarches-0.2.1-py3-none-any.whl:
Publisher:
publish-final-release.yml on INRIA/geoarches
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geoarches-0.2.1-py3-none-any.whl -
Subject digest:
2a852af83cc7258369382b61c9063d5194f9c73bdd6033e2e270b8c485facd16 - Sigstore transparency entry: 2473627351
- Sigstore integration time:
-
Permalink:
INRIA/geoarches@df803fb53e999acf4287b96da34ff699ad7965fd -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/INRIA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-final-release.yml@df803fb53e999acf4287b96da34ff699ad7965fd -
Trigger Event:
push
-
Statement type: