equinor / segyio

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

Reading from byte #549

Closed muhdamir closed 1 year ago

muhdamir commented 1 year ago

Is it possible to read not from a file, but from a byte, because I happen to receive segy file in byte.

ErlendHaa commented 1 year ago

Hi! Unfortually no. The current design of segyio heavily assumes an underlying file handle. This is something that we would like to fix in a segyio 2.0, but that is not on the table at the moment.