equinor / segyio

Fast Python library for SEGY files.
Other
476 stars 214 forks source link

Sample count limitation with tools.from_array2D() #461

Closed valentinmetraux closed 4 years ago

valentinmetraux commented 4 years ago

Impossible to create segy with more than uint16 samples/traces from segyio.tools.from_array2D.

Works fine on short traces but got the following error message with longer ones: image

jokva commented 4 years ago

This is slightly more involved than I first pictured, since >64k samples means using a completely new header word, which segyio is unaware of. The fix should be fairly quick still, but requires more testing.

https://seg.org/Portals/0/SEG/News%20and%20Resources/Technical%20Standards/seg_y_rev2_0-mar2017.pdf

jokva commented 4 years ago

Fixed in https://github.com/equinor/segyio/pull/463