Your GPU is waiting on a tape format.

SDIP converts SEG-Y seismic data to chunked MDIO / Zarr v3, and issues a certificate proving the conversion changed nothing.

Watch it catch a flipped bit GitHub
  1. A survey drawn as a ribbon of traces wound on a tape reel, the first traces unspooling.

    Tape SEG-Y was written for magnetic tape.

  2. The ribbon passes a read head one trace at a time while eight reader slots stand empty.

    Starve It reads in order. Training waits.

  3. A close view of the ribbon: one sample has flipped and stands out from its neighbours.

    Break Converting it is where data quietly breaks.

  4. The ribbon has become a volume split into eight chunks, each chunk filling one reader slot.

    Chunk SDIP rewrites it as chunked Zarr arrays.

  5. The reassembled volume, tinted in the proof colour after five planes have swept through it.

    Prove Five planes compared. Not one bit moved.

Check a certificate yourself.

A certificate is a JSON document, and its schema is published. Drop one here and it is validated in your browser. The file is never uploaded, and the check keeps working offline once this page has loaded.

This validates the document against sdip-certificate-v0. The schema itself rejects a certificate that claims EQUIVALENT while a plane failed, the working tree was dirty or a lossy codec was present. It does not re-run the comparison: that needs the source, the store and SDIP.

The conversion is where data quietly breaks.

Every SEG-Y conversion is a chance to lose something quietly. The conversion succeeds, the store opens, the volume looks right, and a model cannot tell the difference.

What the conversion did What the model sees
Dropped a trace header field A missing feature. It trains without it, and nobody knows what was lost.
Altered a sample through a non-invertible decode Signal. It learns it.
Regularised the grid Geometry. Every prediction inherits it.
Mislabelled or reordered traces A wrong label, propagated through every epoch.

Corrupted input does not announce itself in a loss curve. It surfaces as a model that scores well in validation and fails on real data.

One command. One certificate.

sdip certify ingests the SEG-Y, checks five planes of equivalence, exports back to SEG-Y, compares the whole file by SHA-256 and writes the certificate.

reference-poststack3d.sgy 3,200 B text header 400 B binary header 240 B header and samples, per trace live mask

sdip certify reference-poststack3d.sgy reference.mdio --rss-ceiling-gib 8.0 --wall-ceiling-s 1500

[BOUND] declaration revision 1, template PostStack3DTime, no override (sha256 5bc11b36f001), matches the store

[PASS] Plane 1 (G2a) Textual header preserved verbatim

[PASS] Plane 2 (G2b) Binary header preserved; raw bytes authoritative

[PASS] Plane 3 (G2c) All 240 trace-header bytes recoverable, bit-exact

[PASS] Plane 4 (G2d) Live samples bit-exact after the declared decode

[PASS] Plane 5 (G2e) Cardinality, ordering, live mask, duplicates surfaced

[PASS] G3 whole-file SHA-256

[PASS] G4 stock zarr+xarray without mdio

[PASS] G7 G7 PASS: 15 corruptions, each failing exactly the gates it must and no others; 1 not applicable to this store (fabricated_value_in_padding)

[PASS] G5 G5 PASS: 168 traces, peak RSS 0.24 GiB of 8.0 GiB declared, 28s of 1500s

[PASS] G6 G6 PASS: 2 independent ingests, 11 arrays, chunk bytes and values identical across every run pair

verdict: EQUIVALENT

release: READY

reason: All five planes PASS and G7 PASS.

certificate: certificates/465297171ccb-20260917T010711+0000.json

Equivalence Certificate

schema v0, validated without SDIP

Source
86,928 bytes, 168 traces, 12 × 14 × 64, SEG-Y rev 1
SHA-256
465297171ccbf63f1f7f71ef0ccdec9f9a72dccc254673b7250706a624086b85
1 Textual header PASS
2 Binary header PASS
3 Trace headers PASS
4 Samples PASS
5 Cardinality PASS
G1G2G3G4G5G6G7

Issued 2026-09-17 by sdip 1.2.0, clean working tree

EQUIVALENT

Scripted replay, nothing runs in your browser. Output format from sdip 1.7.0; values from the reference certificate in the repository.

Convert, verify and certify
uv run sdip certify survey.sgy survey.mdio \
    --rss-ceiling-gib 8.0 \
    --wall-ceiling-s 1500
Install from the tagged release
pip install git+https://github.com/zahidaramai/sdip@v1.7.0

Python 3.12 to 3.13. A container image and a from-source route are in the guide.

Open it with what you already use.

The output is plain Zarr v3. Neither SDIP nor MDIO is needed to read it, and that is a gate the engine enforces on every certified run.

Arrays in a store written by sdip ingest, layout 1.7.0
ArrayTypeMeaning
amplitude float32 Trace samples, decoded from the source format
headers struct 97 named trace-header fields
headers_raw_uint8 uint8 Every header byte exactly as in the source
trace_mask int8 1 is a live trace, 0 is grid padding
source_trace_ordinal int64 Where each trace sat in the SEG-Y file
inline, crossline, time int32 Index coordinates and the sample axis
cdp_x, cdp_y float64 CDP coordinates
import xarray as xr

ds = xr.open_zarr("survey.mdio", consolidated=False)
print(ds)
# data vars:   amplitude, headers, headers_raw_uint8, trace_mask, ...
# coords:      inline, crossline, time, cdp_x, cdp_y

volume = ds["amplitude"]  # dims ('inline', 'crossline', 'time'), lazy + dask-backed
inline_42 = volume.sel(inline=42).values  # label-based, straight to NumPy

What it refuses.

SDIP is deliberately narrow. A tool that half-works on data it does not understand produces exactly the artifact this project exists to prevent.

  • To touch your values

    No filtering, scaling, resampling, regridding, muting, interpolation or denoising. It is an identity map with a receipt.

  • A tolerance

    Comparisons are byte equality or array_equal. A tolerance is how a lossy path gets a passing grade.

  • Partial credit

    A store that satisfies four planes out of five is NON-EQUIVALENT, and the certificate says which plane failed and where.

  • Lossy codecs

    Compression uses lossless codecs only. MDIO’s lossy extra is barred outright.

  • An unsound environment

    sdip doctor runs first. If it fails, nothing else runs.

  • A dirty working tree

    sdip certify will not issue a certificate from a tree that is dirty or absent, and there is no flag to make it.

  • A verdict without a round trip

    Six sample formats, ibm32 among them, can alter a value on decode. For those, EQUIVALENT requires a byte-identical whole-file round trip.

  • Data it has not measured

    Where a format, geometry or backend has not been measured, it refuses with a named reason. Sources above 40.1 GiB are refused by default.

For data libraries.

Formats age, and the migration you run today is the one someone audits in twenty years. SDIP writes down what it did, in a form that outlives the person who ran it.

Planning to certify an archive migration? Talk to the maintainer, Zahid Aramai, on LinkedIn, or open an issue.