Catalog PyPI
PACKAGE EXPLORERView in registry

aimip-intake-icechunk

PyPI

Classic-Intake driver for icechunk virtual stores; AIMIP-friendly defaults but reusable.

aimipcmip6icechunkintakevirtualizarrxarrayzarr
Versions collected1
Direct dependencies5From release 0.1.0
Last observed21 Oct, 11:19 UTC

README

Version 0.1.0 documentation

aimip-intake-icechunk

A small classic-Intake driver that opens icechunk repositories as xarray.Datasets. Defaults are tuned for the AIMIP catalog on DKRZ S3, but the driver is general — point it at any icechunk repo (local path, file:// URL, or s3://...).

import intake

# YAML catalog references it as
#   driver: aimip_intake_icechunk.IcechunkSource
#   args:
#     urlpath: s3://your-bucket/path/to/icechunk-repo
cat = intake.open_catalog("path/to/catalog.yaml")
ds = cat['my_store'].to_dask()

Or directly in Python:

from aimip_intake_icechunk import IcechunkSource

src = IcechunkSource(urlpath="s3://ai-mip/catalog/CMIP6/AIMIP/NVIDIA/cBottle-1-3/aimip/r1i1p4f1/Amon/gn")
ds = src.to_dask()

Why a separate package

Consumers of the aimip-data catalog who only need read access shouldn't have to install the build-time machinery (VirtualiZarr, icechunk's writers, the facet parser, the scanner, the YAML emitter, etc.). This driver is ~150 lines and depends only on icechunk, intake, xarray, zarr.

Install

pip install aimip-intake-icechunk

Or from a checkout of the aimip-data repo:

pip install -e packages/aimip-intake-icechunk

Defaults

For convenience, the driver defaults to the AIMIP layout:

DefaultValue
s3_options.endpoint_urlhttps://s3.eu-dkrz-1.dkrz.cloud
s3_options.anonymousTrue
s3_options.force_path_styleTrue
virtual_chunk_auth{"s3://ai-mip/": None} (anonymous)

Override at construction time for other deployments:

IcechunkSource(
    urlpath="s3://my-bucket/repo",
    s3_options={"endpoint_url": "https://s3.amazonaws.com", "anonymous": False},
    virtual_chunk_auth={"s3://my-bucket/": my_credentials},
)

License

MIT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.028 Apr 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
koldunovn/aimip-intake-icechunk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:19 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ca9b13e5bc82ff829a336b7114094f1ef75e9323bd4422020f221c6b4ede7c54