Skip to main content

geoarches logo
geoarches

Machine learning framework for geospatial data, mainly climate and weather.

Documentation

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 geoarches in 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

geoarches-0.2.0.tar.gz (11.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geoarches-0.2.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file geoarches-0.2.0.tar.gz.

File metadata

  • Download URL: geoarches-0.2.0.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geoarches-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4ab37b565a75f2760695a7318882c982165e63e596e5b02b4fdc199d67ba49af
MD5 1b635d7ff19f812dd6d706c3a5675466
BLAKE2b-256 de16884cf1f5b6566918579ad7aa4b444388fec7da3643fc85aa57f73c4db386

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoarches-0.2.0.tar.gz:

Publisher: publish-final-release.yml on INRIA/geoarches

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geoarches-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: geoarches-0.2.0-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

Hashes for geoarches-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35d43accedfbfdd2b9c38a09d6c73feb4168fba34d92013513e4642c8ffd7e78
MD5 febb5c781cb47b8a84a8e18a5c674229
BLAKE2b-256 d1a443f419d681aae1db834550ff6aad7b04cf33dab70f62fdfb07d18260a5c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoarches-0.2.0-py3-none-any.whl:

Publisher: publish-final-release.yml on INRIA/geoarches

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page