An intake plugin for building and reading Icechunk stores via VirtualiZarr and intake-esm
Project description
intake-virtual-icechunk
[!WARNING] This package has been scaffolded by Claude but none of the implementation is complete yet. APIs, class names, and behaviour are all subject to change.
An intake plugin for building and reading Icechunk stores via VirtualiZarr and intake-esm.
Concept
The goal is a pipeline that takes a pre-built intake-esm datastore and produces a single virtual Icechunk store that mirrors its structure:
- Open a pre-built intake-esm datastore with intake-esm.
- For each dataset in the catalog, open the constituent files with VirtualiZarr to create virtual references — no data is copied.
- Write each dataset as a named Zarr group inside one Icechunk store, using the
catalog's
groupby_attrsto derive the group name. - Expose the result through an intake driver (
virtual_icechunk) that hides all Icechunk-specific complexity (sessions, stores, branches) behind an interface that feels like a hybrid of an esm-datastore and anxarray.Dataset— defaulting to Xarray semantics wherever possible, and falling back to esm-datastore conventions only where necessary (e.g. catalog search and group selection).
The end result is one Icechunk store, one group per dataset, fully virtual (no data
duplication), and accessible via intake.open_virtual_icechunk().
This package provides two things
- Building (
IcechunkStoreBuilder) — given a pre-built intake-esm catalog, creates virtual references with VirtualiZarr and writes each dataset as a named Zarr group inside a single Icechunk store. - Reading (
IcechunkSource) — an intake driver for opening a group from an Icechunk store as anxarray.Datasetviaintake.open_virtual_icechunk().
Installation
pip install intake-virtual-icechunk
License
Apache-2.0. See LICENSE for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intake_virtual_icechunk-0.0.2.tar.gz.
File metadata
- Download URL: intake_virtual_icechunk-0.0.2.tar.gz
- Upload date:
- Size: 146.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a69fdb2b332e282c97eebdb0cc88e8fd2ef038c2fa6a04240ba353cb578696cf
|
|
| MD5 |
7fd80ede35539d259700511c9efc822e
|
|
| BLAKE2b-256 |
2e774edeb4423b1488b38db18feab373dcab580085bf165b4f463d441d231226
|
Provenance
The following attestation bundles were made for intake_virtual_icechunk-0.0.2.tar.gz:
Publisher:
cd.yml on charles-turner-1/intake-virtual-icechunk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intake_virtual_icechunk-0.0.2.tar.gz -
Subject digest:
a69fdb2b332e282c97eebdb0cc88e8fd2ef038c2fa6a04240ba353cb578696cf - Sigstore transparency entry: 1254749540
- Sigstore integration time:
-
Permalink:
charles-turner-1/intake-virtual-icechunk@99f1635fdc2205af19a5801e99a10b92b53fd74a -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/charles-turner-1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@99f1635fdc2205af19a5801e99a10b92b53fd74a -
Trigger Event:
push
-
Statement type:
File details
Details for the file intake_virtual_icechunk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: intake_virtual_icechunk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf025df72871ebd308341b550bca4086806485bb25fdc49c5bd76f3c33faa2f
|
|
| MD5 |
cc794d6f2a6166c5eaff1a9c8f57a21d
|
|
| BLAKE2b-256 |
c43092aebfaeb0bbb8a2ed9ece931af836cf5159ffa8a65b477a29bca1ddf54a
|
Provenance
The following attestation bundles were made for intake_virtual_icechunk-0.0.2-py3-none-any.whl:
Publisher:
cd.yml on charles-turner-1/intake-virtual-icechunk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intake_virtual_icechunk-0.0.2-py3-none-any.whl -
Subject digest:
4bf025df72871ebd308341b550bca4086806485bb25fdc49c5bd76f3c33faa2f - Sigstore transparency entry: 1254749611
- Sigstore integration time:
-
Permalink:
charles-turner-1/intake-virtual-icechunk@99f1635fdc2205af19a5801e99a10b92b53fd74a -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/charles-turner-1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@99f1635fdc2205af19a5801e99a10b92b53fd74a -
Trigger Event:
push
-
Statement type: