tensogram-szip
Pure-Rust implementation of the CCSDS 121.0-B-3 Adaptive Entropy Coding (AEC / SZIP) codec.
This crate provides aec_compress, aec_decompress, and
aec_decompress_range functions with the same AecParams interface
as the C libaec library. It is useful as a drop-in replacement for
libaec-sys in environments where C FFI is unavailable — notably
WebAssembly.
Usage
use ;
let data: = .map.collect;
let params = AecParams ;
let = aec_compress?;
let decompressed = aec_decompress?;
assert_eq!;
# Ok::
rsi_block_offsets enables aec_decompress_range — partial decode
without decompressing the full stream.
Installation
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.