Skip to content

tet ingest / publish / compact / pack ​

Local concurrent ingest into a .tet.d package (writer protocol v2).

Flow ​

bash
tet ingest a.tet b.tet --out climate.tet.d --jobs 2
tet publish climate.tet.d
tet query '{"dataset":"temp","mean":[]}' -t climate.tet.d -x -q
tet pack climate.tet.d -o climate.tet
tet verify climate.tet.d

tet info / tet query -t accept a .tet.d path and pin the generation named by CURRENT.

tet ingest ​

Stage one or more sealed .tet files as package parts under staging/.

bash
tet ingest [OPTIONS] <INPUT.tet>... --out <PKG.tet.d>
Flag / argEffect
<INPUT.tet>…Each file becomes one sealed staging part
--out, -oPackage directory (created if missing)
--jobs NParallel workers (0 = host parallelism, capped at 64)
--createExplicit create (default already creates when absent)
-qQuiet

Does not flip CURRENT. Overlapping dataset claims are rejected at publish time.

tet publish ​

Freeze sealed staging parts → merge into generations/<G>/packed.tet → set CURRENT.

bash
tet publish [OPTIONS] <PKG.tet.d>
FlagEffect
--generation GGeneration id (default: CURRENT+1, or 1)
--parts ID,…Explicit part-id list (default: all sealed staging parts)
-qQuiet

tet compact ​

Alias for tet publish. Compact/merge of parts happens during publish (not a separate visibility step).

bash
tet compact climate.tet.d

tet pack ​

Copy a sealed generation’s packed.tet to a standalone .tet (does not change CURRENT).

bash
tet pack [OPTIONS] <PKG.tet.d> -o <OUT.tet>
FlagEffect
-o, --outDestination .tet path
--generation GGeneration to pack (default: CURRENT)
-qQuiet

Library ​

ingest_tet_file, publish_parts, TetPackage::pack_generation. Spec: writer protocol v2.