Note
Go to the end to download the full example code.
01. Reading pre-stack data
This tutorial explains how to read a SEGY file with unstructured data.
import matplotlib.pyplot as plt
import segyio
Let’s first define the file name and open it with segyio
segyfile = 'viking_small.segy'
f = segyio.open(segyfile, ignore_geometry=True)
Set up a figure and plot a few shot gathers

Close the file
f.close()
Total running time of the script: (0 minutes 0.750 seconds)