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.18.1.tar.gz (33.6 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.18.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tensogram_zarr-0.18.1.tar.gz
  • Upload date:
  • Size: 33.6 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.18.1.tar.gz
Algorithm Hash digest
SHA256 8537d4fcddddd15c076fcd2d58034c4983b6e0f15753c9a4ce6b60d7e3930876
MD5 482dc7ce5bc5c0f376563f749bd4f0e2
BLAKE2b-256 8583a2491110f47827511be8b3a928415fe13c8746833677b1260cd93024dc69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram_zarr-0.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57cf707fe1bed00de05217bbf3bfba38e578b321e9c551421c8bb239c8f96105
MD5 3f99d63bbf44054b87c174ba542c731e
BLAKE2b-256 74c95da0a5c15f8f530fa30aae8fce7f1d49dfe51a718e2ea58c8e3d3ed2b74c

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