equinor / segyio

Fast Python library for SEGY files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read files with "illegal" header

GGDRriedel opened this issue · comments

I have files that contain traces that are longer than the maximum possible trace length of 2 byte long int that is supposed to be defined in the binary header.

I know the data is there, the files are huge, 12 channels of 5 minutes traces each.

However, I can't seem to find a way to read them "agnostically"

Is there a way? Ignore_geometry=True and strict=False when reading don't seem to do anything.

My only last option is probably to write some own reading routines converting directly from the binary data, however, i would like to not do that.

Any tip would be appreciated

Hi, I've encountered the same issue and resorted to parsing the binary data while ignoring the SEGY headers. It's an unfortunate last reasort, but it was the only thing I've found working.