segy_scan

segy_scan(
    path,
    file_key=None,
    keys=None,
    chunk=1024,
    depth_key='SourceDepth',
    rec_depth_key='GroupWaterDepth',
    threads=None,
    fs=None,
)

Scan one or more SEGY files and merge the results.

Parameters

Name Type Description Default
path str Directory containing SEGY files or a single file path. required
file_key str Glob pattern selecting files within path. When omitted and path points to a file, only that file is scanned. None
keys Iterable[str] Additional header fields to summarise while scanning. None
chunk int Number of traces to read per block. 1024
depth_key str Header name containing the source depth. 'SourceDepth'
rec_depth_key str Header field containing the receiver depth. 'GroupWaterDepth'
fs filesystem-like object Filesystem providing open and glob if scanning non-local paths. None

Returns

Name Type Description
SegyScan Combined scan object describing all detected shots.
Back to top