Skip to main content

Create virtual Zarr stores from archival data using xarray API

Project description

VirtualiZarr

CI Code coverage Docs Linted and Formatted with Ruff Checked with mypy pre-commit Enabled Apache 2.0 License Python Versions slack Latest Release PyPI - Downloads Conda - Downloads

Cloud-Optimize your Scientific Data as a Virtual Zarr Datacube, using Xarray syntax.

The best way to distribute large scientific datasets is via the Cloud, in Cloud-Optimized formats [^1]. But often this data is stuck in archival pre-Cloud file formats such as netCDF.

VirtualiZarr[^2] makes it easy to create "Virtual" Zarr datacubes, allowing performant access to archival data as if it were in the Cloud-Optimized Zarr format, without duplicating any data.

Please see the documentation.

Features

Inspired by Kerchunk

VirtualiZarr grew out of discussions on the Kerchunk repository, and is an attempt to provide the game-changing power of kerchunk but in a zarr-native way, and with a familiar array-like API.

You now have a choice between using VirtualiZarr and Kerchunk: VirtualiZarr provides almost all the same features as Kerchunk.

Development Status and Roadmap

VirtualiZarr version 1 (mostly) achieved feature parity with kerchunk's logic for combining datasets, providing an easier way to manipulate kerchunk references in memory and generate kerchunk reference files on disk.

VirtualiZarr version 2 brings:

  • Zarr v3 support
  • A pluggable system of "parsers" for virtualizing custom file formats
  • The ManifestStore abstraction, which allows for loading data without serializing to Kerchunk/Icechunk first
  • Integration with obstore
  • Reference parsing that doesn't rely on kerchunk under the hood
  • The ability to use "parsers" to load data directly from archival file formats into Zarr and/or Xarray

Future VirtualiZarr development will focus on generalizing and upstreaming useful concepts into the Zarr specification, the Zarr-Python library, Xarray, and possibly some new packages.

We have a lot of ideas, including:

If you see other opportunities then we would love to hear your ideas!

Talks and Presentations

  • 2025/04/30 - Cloud-Native Geospatial Forum - Tom Nicholas - Slides / Recording
  • 2024/11/21 - MET Office Architecture Guild - Tom Nicholas - Slides
  • 2024/11/13 - Cloud-Native Geospatial conference - Raphael Hagen - Slides
  • 2024/07/24 - ESIP Meeting - Sean Harkins - Event / Recording
  • 2024/05/15 - Pangeo showcase - Tom Nicholas - Event / Recording / Slides
  • 2025/07/22 - ESIP Meeting - Max Jones - Event / Recording / Slides

Credits

This package was originally developed by Tom Nicholas whilst working at [C]Worthy, who deserve credit for allowing him to prioritise a generalizable open-source solution to the dataset virtualization problem. VirtualiZarr is now a community-owned multi-stakeholder project.

Licence

Apache 2.0

References

[^1]: Cloud-Native Repositories for Big Scientific Data, Abernathey et. al., Computing in Science & Engineering.

[^2]: (Pronounced "Virtual-Eye-Zarr" - like "virtualizer" but more piratey 🦜)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtualizarr-2.2.1.tar.gz (227.4 kB view details)

Uploaded Source

Built Distribution

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

virtualizarr-2.2.1-py3-none-any.whl (199.8 kB view details)

Uploaded Python 3

File details

Details for the file virtualizarr-2.2.1.tar.gz.

File metadata

  • Download URL: virtualizarr-2.2.1.tar.gz
  • Upload date:
  • Size: 227.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for virtualizarr-2.2.1.tar.gz
Algorithm Hash digest
SHA256 f8d837027e80576a8f4240bed3d4d714522f3e0a8bce6ec3d61fa2098d93c3da
MD5 b1c4cddeee01250ab2ce8ebe4eed8c58
BLAKE2b-256 6cdce595e489335bc0634e26f61daf551f46465db8d1e3e69301a0d1b9ec8a63

See more details on using hashes here.

Provenance

The following attestation bundles were made for virtualizarr-2.2.1.tar.gz:

Publisher: release.yml on zarr-developers/VirtualiZarr

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

File details

Details for the file virtualizarr-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: virtualizarr-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 199.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for virtualizarr-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d5f0f7259f22e6bc88e4a0fbb517bc6aac9a10d0799899ff2b1a570fd848f6
MD5 c24add5e3820b2b2d016f37fad03d7fb
BLAKE2b-256 86698ff1cbb8dd7c8774aea22189b0c8537882c1fa7935c77b720cde57ca5e48

See more details on using hashes here.

Provenance

The following attestation bundles were made for virtualizarr-2.2.1-py3-none-any.whl:

Publisher: release.yml on zarr-developers/VirtualiZarr

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

Supported by

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