Skip to main content

Zarr v3 store backend for tensogram .tgm files

Project description

Tensogram Zarr v3 Store Backend

Zarr v3 store backend for Tensogram .tgm files — read and write Tensogram as if it were a Zarr v3 hierarchy. Works with zarr, xarray, and any consumer that speaks the Zarr v3 store protocol.

Installation

pip install tensogram-zarr

The tensogram native package and zarr>=3.0 are pulled in automatically.

Usage

import zarr
from tensogram_zarr import TensogramStore

store = TensogramStore("forecast.tgm")
root  = zarr.open(store, mode="r")
arr   = root["temperature"]
print(arr.shape, arr.dtype)
print(arr[0, :10, :10])      # Zarr-style chunk-aware access

TensogramStore is a standard zarr.abc.store.Store, so the full Zarr surface (groups, arrays, async reads, region I/O) applies.

Documentation

License

Copyright 2026- ECMWF. Licensed under Apache-2.0.

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

tensogram_zarr-0.17.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

tensogram_zarr-0.17.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file tensogram_zarr-0.17.0.tar.gz.

File metadata

  • Download URL: tensogram_zarr-0.17.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tensogram_zarr-0.17.0.tar.gz
Algorithm Hash digest
SHA256 99cd5316c9b421eb0caa87aba58480b6a8c4e3fd868155cb3c05e59faed8d5b0
MD5 340f4090ace65069877bf2ba9ff12b90
BLAKE2b-256 d213e33d2c0ecb79113efc5406444d2011d1e0c346cb1b7dd719df57456dedb5

See more details on using hashes here.

File details

Details for the file tensogram_zarr-0.17.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tensogram_zarr-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03791ee3358ca9419f8c7d00aaa15a11b71bba62c5f43b6f6beea69b4bd34a91
MD5 961aa76e888218b20716fed668b8fc02
BLAKE2b-256 45e01b370bc73abf5ddbc859070ce881032b64814d85bdea5b3e23289dad6b43

See more details on using hashes here.

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