https://github.com/aladinor/virtualizarr
Create virtual Zarr stores from archival data files using xarray syntax
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: ieee.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Create virtual Zarr stores from archival data files using xarray syntax
Basic Info
- Host: GitHub
- Owner: aladinor
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://virtualizarr.readthedocs.io/en/latest/
- Size: 631 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of zarr-developers/VirtualiZarr
Created almost 2 years ago
· Last pushed about 1 year ago
https://github.com/aladinor/VirtualiZarr/blob/main/
# VirtualiZarr [](https://github.com/zarr-developers/VirtualiZarr/actions?query=workflow%3ACI) [](https://codecov.io/gh/zarr-developers/VirtualiZarr) [](https://virtualizarr.readthedocs.io/en/latest/) [](https://github.com/astral-sh/ruff) [](http://mypy-lang.org/) [](https://pre-commit.com/) [](https://www.apache.org/licenses/LICENSE-2.0) [](https://docs.python.org) [](https://earthmover-community.slack.com/archives/C08EXCE8ZQX) [](https://github.com/zarr-developers/VirtualiZarr/releases) [](https://pypistats.org/packages/virtualizarr) [](https://anaconda.org/conda-forge/virtualizarr) ## 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](https://guide.cloudnativegeo.org/) [^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](https://zarr.dev/), _without duplicating any data_.** Please see the [documentation](https://virtualizarr.readthedocs.io/en/stable/index.html). ### Features * Create virtual references pointing to bytes inside an archival file with [`open_virtual_dataset`](https://virtualizarr.readthedocs.io/en/latest/usage.html#opening-files-as-virtual-datasets). * Supports a [range of archival file formats](https://virtualizarr.readthedocs.io/en/latest/faq.html#how-do-virtualizarr-and-kerchunk-compare), including netCDF4 and HDF5, and has a pluggable system for supporting new formats. * [Combine data from multiple files](https://virtualizarr.readthedocs.io/en/latest/usage.html#combining-virtual-datasets) into one larger datacube using [xarray's combining functions](https://docs.xarray.dev/en/stable/user-guide/combining.html), such as [`xarray.concat`](https://docs.xarray.dev/en/stable/generated/xarray.concat.html). * Commit the virtual references to storage either using the [Kerchunk references](https://fsspec.github.io/kerchunk/spec.html) specification or the [Icechunk](https://icechunk.io/) transactional storage engine. * Users access the virtual datacube simply as a single zarr-compatible store using [`xarray.open_zarr`](https://docs.xarray.dev/en/stable/generated/xarray.open_zarr.html). ### Inspired by Kerchunk VirtualiZarr grew out of [discussions](https://github.com/fsspec/kerchunk/issues/377) on the [Kerchunk repository](https://github.com/fsspec/kerchunk), 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](https://virtualizarr.readthedocs.io/en/latest/faq.html#how-do-virtualizarr-and-kerchunk-compare) as Kerchunk. ### Development Status and Roadmap VirtualiZarr version 1 (mostly) achieves [feature parity](https://virtualizarr.readthedocs.io/en/latest/faq.html#how-do-virtualizarr-and-kerchunk-compare) with kerchunk's logic for combining datasets, providing an easier way to manipulate kerchunk references in memory and generate kerchunk reference files on disk. 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: - [Zarr v3 support](https://github.com/zarr-developers/VirtualiZarr/issues/17) - [Zarr-native on-disk chunk manifest format](https://github.com/zarr-developers/zarr-specs/issues/287) - ["Virtual concatenation"](https://github.com/zarr-developers/zarr-specs/issues/288) of separate Zarr arrays - ManifestArrays as an [intermediate layer in-memory](https://github.com/zarr-developers/VirtualiZarr/issues/71) in Zarr-Python - [Separating CF-related Codecs from xarray](https://github.com/zarr-developers/VirtualiZarr/issues/68#issuecomment-2197682388) - [Generating references without kerchunk](https://github.com/zarr-developers/VirtualiZarr/issues/78) If you see other opportunities then we would love to hear your ideas! ### Talks and Presentations - 2024/11/21 - MET Office Architecture Guild - Tom Nicholas - [Slides](https://speakerdeck.com/tomnicholas/virtualizarr-talk-at-met-office) - 2024/11/13 - Cloud-Native Geospatial conference - Raphael Hagen - [Slides](https://decks.carbonplan.org/cloud-native-geo/11-13-24) - 2024/07/24 - ESIP Meeting - Sean Harkins - [Event](https://2024julyesipmeeting.sched.com/event/1eVP6) / [Recording](https://youtu.be/T6QAwJIwI3Q?t=3689) - 2024/05/15 - Pangeo showcase - Tom Nicholas - [Event](https://discourse.pangeo.io/t/pangeo-showcase-virtualizarr-create-virtual-zarr-stores-using-xarray-syntax/4127/2) / [Recording](https://youtu.be/ioxgzhDaYiE) / [Slides](https://speakerdeck.com/tomnicholas/virtualizarr-create-virtual-zarr-stores-using-xarray-syntax) ### Credits This package was originally developed by [Tom Nicholas](https://github.com/TomNicholas) whilst working at [[C]Worthy](cworthy.org), 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_.](https://ieeexplore.ieee.org/abstract/document/9354557) [^2]: (Pronounced "Virtual-Eye-Zarr" - like "virtualizer" but more piratey )
Owner
- Name: Alfonso Ladino
- Login: aladinor
- Kind: user
- Location: Urbana, IL.
- Company: UIUC
- Repositories: 2
- Profile: https://github.com/aladinor
Graduate Research Assistant in the Department of Atmospheric Sciences at UIUC
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1