tensogram
The primary Tensogram library for fast binary N-tensor message format.
This crate provides encode, decode, file I/O, and streaming capabilities for scientific data. It supports self-describing messages with CBOR metadata, multiple tensors per message, partial decode, and remote access to cloud storage.
Usage
use ;
let message = encode?;
let = decode?;
// File API with partial decode
use ;
let file = open?;
let slice = decode_range?;
Installation
[]
= { = "0.14", = ["mmap", "async", "remote"] }
Documentation
- Full documentation: https://sites.ecmwf.int/docs/tensogram/main/
- Repository: https://github.com/ecmwf/tensogram
License
Copyright 2026- European Centre for Medium-Range Weather Forecasts (ECMWF).
Licensed under the Apache License, Version 2.0. See LICENSE for details.