Guides

File formats: cu8, SigMF and friends

How the recordings are stored, how to open them, and how to check a download.

Every capture is two files that share a name:

Opening the files

inspectrum, GNU Radio, SDR++ (file source), Universal Radio Hacker and SatDump all read raw cu8. If a program asks for the format, the answers are: unsigned 8-bit, complex (interleaved I/Q), sample rate from the .sigmf-meta file.

python3 - <<'EOF'
import json, numpy as np
meta = json.load(open("rs41-ascent.sigmf-meta"))
raw = np.fromfile("rs41-ascent.sigmf-data", dtype=np.uint8).astype(np.float32)
iq = (raw[0::2] - 127.5) + 1j * (raw[1::2] - 127.5)
print(meta["global"]["core:sample_rate"], len(iq))
EOF

Checking a download

The core:sha512 field in the metadata is the SHA-512 of the data file, also printed on each capture page. sha512sum name.sigmf-data should give the same value.

Why 8 bits

8-bit samples are what most beginners' receivers produce, and they keep files small. They also show the limits of cheap hardware honestly — overload, images and the DC offset are part of what you learn to recognise.