equinor / segyio

Fast Python library for SEGY files.
Other
469 stars 213 forks source link

Apply DelayScalar to get correct samples offset #548

Closed da-wad closed 1 year ago

da-wad commented 1 year ago

SEG-Y rev.1 gives the following info on trace header bytes 215-216:

Scalar to be applied to times specified in Trace Header bytes 95-114 to give the true time value in milliseconds. Scalar = 1, +10, +100, +1000, or +10,000. If positive, scalar is used as a multiplier; if negative, scalar is used as divisor. A value of zero is assumed to be a scalar value of 1.

This scalar appeared not to be applied by segyio, making PR which should fix that.

dmlbarker commented 1 year ago

I can confirm that this fixes segyio for a previously wrongly interpreted segy