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.
Metadata
Release files for tensogram-xarray 0.24.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tensogram_xarray-0.24.0.tar.gz | 56.6 kB | Without provenance | Details for tensogram_xarray-0.24.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tensogram_xarray-0.24.0-py3-none-any.whl | Python 3 | none | any | Details for tensogram_xarray-0.24.0-py3-none-any.whl |
Total release size: 87.1 kB
Release files / tensogram_xarray-0.24.0.tar.gz
| Download URL | tensogram_xarray-0.24.0.tar.gz |
|---|---|
| Size | 56.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1ac2765fd5843cacfe4f89ec5b6d0246b19edb7e4a669270fa0a01d8778e35b
|
|
BLAKE2b-256 checksum How to use checksums |
a8f45ef8ed89e5279d117b56e5eafab09dba6cb9a5fec8775b77da51b2c3b28b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Release files / tensogram_xarray-0.24.0-py3-none-any.whl
| Download URL | tensogram_xarray-0.24.0-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c391a4041ffa1538d2f653e57b7e28237c34bfb99a9ed9e9efabc54103358c0b
|
|
BLAKE2b-256 checksum How to use checksums |
a56c8f4f5d181b1fb3d346a81bb567d388db10714cf08359210475f9f60c8a5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Security for tensogram-xarray 0.24.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.