sixty-north / segpy

A Python package for reading and writing SEG Y files.
Other
99 stars 54 forks source link

TraceHeaderRev0 is not compatible with CatalogSubFormat #98

Open myak555 opened 9 months ago

myak555 commented 9 months ago

TraceHeaderRev0 does not include inline and crossline coordinates. Thus, while attempting to read a valid SEG-Y revision 0, by code

from segpy.reader import create_reader from segpy.trace_header import TraceHeaderRev0 segy_reader = create_reader(in_file, trace_header_format=TraceHeaderRev0)

barfs with an error:

type object 'TraceHeaderRev0' has no attribute 'inline_number'