Skip to main content

xdggs-dggal

An xdggs plugin that registers the DGGAL discrete global grid systems as Xarray indexes.

The following DGGAL grids are registered by this plugin and can be used as the grid_name attribute on an xdggs-indexed cell-id coordinate:

  • ivea7h.dggal — IVEA7H
  • isea7hz7.dggal — ISEA7H (Z7 ordering)
  • rhealpix.dggal — rHEALPix
  • healpix.dggal — HEALPix

Install

pip install xdggs-dggal

Platform support

The underlying dggal wheel from ecere currently only works reliably on Linux. On macOS (arm64 and x86_64) the published wheel fails to load due to a flat-namespace linker issue in its _pyecrt extension. Track the upstream pydggal project for a fix.

Usage

See example_notebook/demo_xdggs-dggal.ipynb for a walkthrough covering grid registration, cell boundaries, and regridding gridded rasters onto DGGAL cells via the nearestcentroid method.

Minimal sketch:

import xarray as xr
import xdggs_dggal  # noqa: F401 — registers the DGGAL grids with xdggs

ds = xr.Dataset(...)  # with a cell_id coordinate whose attrs include
                      # grid_name="ivea7h.dggal" and level=N
ds = ds.dggs.decode()

The nearestcentroid regridder additionally requires pys2index, which you may need to install separately (it has no macOS arm64 wheel today).

Development

This project uses pixi for environment management:

pixi install
pixi run --environment dev test

Roadmap

Once mature and well-tested, the plan is to propose inclusion natively into the main xdggs repository.

License

MIT — see LICENSE.

Metadata

Release files for xdggs-dggal 0.1.2

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

Source distribution (sdist)

Source distribution for xdggs-dggal 0.1.2
File Size Uploaded Provenance Actions
xdggs_dggal-0.1.2.tar.gz 81.2 kB With provenance Details for xdggs_dggal-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xdggs-dggal 0.1.2
File Interpreter ABI Platform Actions
xdggs_dggal-0.1.2-py3-none-any.whl Python 3 none any Details for xdggs_dggal-0.1.2-py3-none-any.whl

Total release size: 89.9 kB

Release files / xdggs_dggal-0.1.2.tar.gz

Download URL xdggs_dggal-0.1.2.tar.gz
Size 81.2 kB
Tags Source
SHA-256 checksum
How to use checksums
795bc6f7bca78809ee51a411dfa371a7acde8a567a37005bac79e2a5d773c490
BLAKE2b-256 checksum
How to use checksums
f9243436000f730ed996813e4bc4a406705df01fe57b8e08fe7121d730d63134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 22, 2026.

Transparency log

Release files / xdggs_dggal-0.1.2-py3-none-any.whl

Download URL xdggs_dggal-0.1.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9319465827ca9bf843b308078d1348b1a7284fc509bbf2e1ef89ae8696364cd
BLAKE2b-256 checksum
How to use checksums
9e6be3ca7a8c8ba5344e5e605f4e2b93ed71c2951736551fbad5970c1b7af364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 22, 2026.

Transparency log

Security for xdggs-dggal 0.1.2

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 xdggs_dggal-0.1.2.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 Apr 22, 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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

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