Skip to main content

xarray backend engine for tensogram .tgm files

Project description

Tensogram xarray Backend

xarray backend engine for Tensogram .tgm files — open a Tensogram message or file as an xarray.Dataset with the native engine="tensogram" hook, including Dask-backed lazy loading.

Installation

pip install tensogram-xarray
# or, with Dask-backed lazy reads
pip install "tensogram-xarray[dask]"

The tensogram native package is pulled in automatically.

Usage

import xarray as xr

ds = xr.open_dataset("forecast.tgm", engine="tensogram")
print(ds)                    # coordinates, variables, CF attributes
print(ds["temperature"])     # standard xarray DataArray

With Dask for out-of-core reads:

ds = xr.open_dataset("forecast.tgm", engine="tensogram", chunks="auto")

Multi-message files open as a single merged Dataset; coordinates and dimensions are inferred from CF-style metadata when present.

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_xarray-0.18.0.tar.gz (52.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_xarray-0.18.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file tensogram_xarray-0.18.0.tar.gz.

File metadata

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

File hashes

Hashes for tensogram_xarray-0.18.0.tar.gz
Algorithm Hash digest
SHA256 5f339af2f930b95c91532723b07233b79954803f0c160b1ce69c341d40f96389
MD5 ae0b22d3c364e5ed501095c1df1a5a1c
BLAKE2b-256 6ca9e09ef304758e5ad17b2a8b3e9fccaf302cb2034598baa768322c327a648d

See more details on using hashes here.

File details

Details for the file tensogram_xarray-0.18.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tensogram_xarray-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc587d56c65882e29d1d157809a2fe98cfc6e1dbfc9a7617920a3d6f9d9d6d72
MD5 c2aaf5e1077bc55f7298001d178da6b6
BLAKE2b-256 51a3b87d7df8229b517a16570286e92996a5867927d4d14ff638e7bf4437de53

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