Open muhdamir opened 1 year ago
The issue seems to be related to handling enums, such as "Trace use". The standard has two valid values 1 (production) and 2 (test). The other similar enum fields are related to vibroseis: correlation, sweep switches, etc.
The unofficial use of 0 (unknown) for enums is common, but somehow is not supported by segpy any longer. Strangely enough, the Enum* classes all have UNKNOWN.
Windows, Python 3.10.
Im having this issue where I couldnt get the trace header
EOFError: Trace header truncated when reading from position 3600 with packer BijectiveHeaderPacker(TraceHeaderRev1)