Skip to main content

healpix-convert

This package allows converting various datasets into the HEALPix-based DGGS format proposed by GRID4EARTH.

It takes input data stored in Zarr format (one or more EOPF-compliant Zarr datasets), then reprojects and resamples it onto a HEALPix grid, outputting a new Zarr dataset compliant with the DGGS Zarr and CF-Healpix conventions.

Note: this repository is currently under heavy development. API is not stable yet.

Documentation: https://grid4earth.eu/healpix-convert/

Supported data products

  • ERA5
  • ClimateDT
  • CAMS

Key features

  • Multiple resampling methods — nearest, bilinear, k-nearest neighbors, PSF, cell-point
  • Multi-stage workflow — first prepare the output dataset, then run data conversion in parallel jobs
  • Dask-native — parallel conversion out of the box with a distributed Dask cluster
  • Cloud-ready — read from and write to S3 object stores
  • STAC metadata — input STAC discovery attributes are propagated and merged in the output
  • Zarr conventions — Zarr conventions are used for structuring metadata in the output dataset

Installation

From PyPI

$ python -m pip install healpix-convert

The ERA5, CAMS and ClimateDT converters need extra packages to download and read their input data. Install them with the matching extra:

$ python -m pip install "healpix-convert[era5]"       # cdsapi, cfgrib
$ python -m pip install "healpix-convert[cams]"       # requests
$ python -m pip install "healpix-convert[climatedt]"  # cfgrib, polytope-client, destinelab

healpix-convert depends on PyTorch (through healpix-resample). On x86-64 Linux, pip installs the CUDA build of PyTorch: with its NVIDIA libraries, that is about 3 GB to download. For a CPU-only environment, install PyTorch from its CPU index first:

$ python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
$ python -m pip install healpix-convert

There is no conda-forge package yet.

From source (development)

First clone this repository:

$ git clone https://github.com/GRID4EARTH/healpix-convert
$ cd healpix-convert

Then install it, e.g., using pip:

$ python -m pip install .

Note: we recommend installing it in an isolated development environment.

If you have pixi installed, you can install a complete development environment by simply using the command below:

$ pixi install -e dev

Basic usage

See the quickstart in the documentation, and the examples in the notebooks folder.

Metadata

Release files for healpix-convert 2026.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for healpix-convert 2026.10.1
File Size Uploaded Provenance Actions
healpix_convert-2026.10.1.tar.gz 99.7 kB With provenance Details for healpix_convert-2026.10.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for healpix-convert 2026.10.1
File Interpreter ABI Platform Actions
healpix_convert-2026.10.1-py3-none-any.whl Python 3 none any Details for healpix_convert-2026.10.1-py3-none-any.whl

Total release size: 196.6 kB

Release files / healpix_convert-2026.10.1.tar.gz

Download URL healpix_convert-2026.10.1.tar.gz
Size 99.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b07aac9cca919a41d9214d998a8b84219c2ba6ce4d9d2c85f5e550f2ee6e6a61
BLAKE2b-256 checksum
How to use checksums
d8778afa51a8e744143cd477b962972a6a83bba20cd3d43627b4c17a5084068a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / healpix_convert-2026.10.1-py3-none-any.whl

Download URL healpix_convert-2026.10.1-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d4383e9ced0cdd063e5eb189902e8da8a7bd1ade6a9fb9312e39e53b7227423
BLAKE2b-256 checksum
How to use checksums
09fd3aa0e0ec1bbc38e6f7da7a4adc6564a905a9d58961511475c20c479b4475
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for healpix-convert 2026.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for healpix_convert-2026.10.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page