Revision mismatch during BPS computation

This commit is contained in:
VelizarVESSELINOV
2014-07-19 10:04:35 -07:00
parent 99f65c9c8e
commit cabe8d71e1
+3
View File
@@ -448,6 +448,9 @@ def read_binary_value(f, index, ctype='l', endian='>', number=1):
def getBytePerSample(SH):
revision = SH["SegyFormatRevisionNumber"]
if revision == 100:
revision = SEGY_REVISION_1
dsf = SH["DataSampleFormat"]
try: # block added by A Squelch