Skip to main content

SEG-Y Format

Stream SEG-Y seismic volumes as one trace per record.

Overview

PropertyValue
Format idsegy
ClassSEGYIterable
Extensions.segy, .sgy
ReadYes
WriteNo
Extrageophysical (segyio)
Maturityexperimental

Record shape

{
"trace_index": 0,
"samples": [...],
"inline": 100,
"crossline": 200,
}

inline / crossline may be absent depending on geometry headers.

Parameters

ParameterDefaultDescription
ignore_geometryTruePassed to segyio.open()

Requires a filename. Streaming one trace at a time.

Usage

from iterable import open_iterable

with open_iterable("volume.segy", format="segy") as source:
for trace in source:
print(trace["trace_index"], len(trace["samples"]))

Install with pip install iterabledata[geophysical].

See also