Skip to content

Archive Operations

Use archive operations to turn a finished Zarr product into a portable Tensogram .tgm file, inspect it, validate it, and restore it back to Zarr.

Archive operations are separate from normal product ingestion. A .tgm archive is a portable artifact; the restored Zarr product gets its own ChunkManager state.

Prerequisites

Install Firecube with the tensogram extra:

uv pip install 'firecube[tensogram]'

Use the storage flags required by the archive command:

--storage-type local
--storage-driver fsspec

For S3-backed products, use --storage-type s3 and configure credentials as described in Configuration Reference.

Command Groups

Command Use it for
firecube archive create Convert Zarr to a .tgm file.
firecube archive info Show archive metadata.
firecube archive list List archived groups and variables.
firecube archive validate Check archive integrity.
firecube archive restore Restore .tgm back to Zarr.

Next Steps