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
- Full guide: https://sites.ecmwf.int/docs/tensogram/main/guide/xarray-integration.html
- Repository: https://github.com/ecmwf/tensogram
License
Copyright 2026- ECMWF. Licensed under Apache-2.0.
Project details
Release history Release notifications | RSS feed
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 tensogram_xarray-0.20.0.tar.gz.
File metadata
- Download URL: tensogram_xarray-0.20.0.tar.gz
- Upload date:
- Size: 52.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b515c10201e1557fd977f248e0e9aaae3f269eefa42f64c266880e68957c59
|
|
| MD5 |
6747855edacfd8f707d00c2afae699b7
|
|
| BLAKE2b-256 |
b7161b3340f850b3949308e16f728c69b3adecc521180ffa1171d7144d31d566
|
File details
Details for the file tensogram_xarray-0.20.0-py3-none-any.whl.
File metadata
- Download URL: tensogram_xarray-0.20.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98be1906c61728c7e15765a1cf0eb3061ca5f91d14bbd288a8d1970b073e2559
|
|
| MD5 |
c8b570c9211f6f3e8c42b4519c25b38f
|
|
| BLAKE2b-256 |
7fea20da73e88ed4d8eebfdfb7104a8696e7b049f556ccbc978cfe31d2064536
|