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
  • HEALPix pyramids — generate coarser refinement levels in a converted dataset, for viewers that pick the level from the zoom
  • 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.11.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.11.1
File Size Uploaded Provenance Actions
healpix_convert-2026.11.1.tar.gz 428.5 kB With provenance Details for healpix_convert-2026.11.1.tar.gz

Built distribution (wheel)

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

Total release size: 640.6 kB

Release files / healpix_convert-2026.11.1.tar.gz

Download URL healpix_convert-2026.11.1.tar.gz
Size 428.5 kB
Tags Source
SHA-256 checksum
How to use checksums
984ceaeeacb923687b50a7eec80bfc99d989b39e41dc53e29ab5b2c309063ba0
BLAKE2b-256 checksum
How to use checksums
e6ee8cab2526e35111bccf4ce11e41e1b016d96ffb2f9b0587acdf6fece8ff72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

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

Download URL healpix_convert-2026.11.1-py3-none-any.whl
Size 212.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebd4e617538bdbac168b4737f0e95e1d0f9b0f21d1d86c0dac2809d64310d308
BLAKE2b-256 checksum
How to use checksums
bdf17f1a1801057dab3d7fba77fc34b32e10e0beaa928216cd836054110c6627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

Security for healpix-convert 2026.11.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for healpix_convert-2026.11.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 Nov 9, 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