Closed
Description
In segyio, the buf
is ALWAYS big endian regardless of the segy bytorder. Thus, def header_scan_worker()
will result in incorrect header values for the snippet below from src/mdio/segy/_workers.py
:
formats = [type_.numpy_dtype.newbyteorder(endian) for type_ in byte_types]
An issue was raised with segyio issues #559. Confirmed in discussion on Slack.
Example of behavior can be found at anthonytorlucci/segyio_header_buf.