You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is no automatic check if endianess.
The package always supposes that endian is big.
This makes impossible to read/scan little endian segy.
The text was updated successfully, but these errors were encountered:
If so then I propose to add function: getSEGYEndian(file) that checks dataFormatCode then switches bytes and becomes dataFormatCodeSE and then we can check either dataFormatCode should be in range [1,8] or dataFormatCodeSE in the same range (these are exclusive: only one of those variable can be in range [1,8] at the same time).
Then check native machine endian using Julia API (there must be something) and make a decision wich endian has the SEGY. And use this endian when reading/scanning SEGY.
Hi,
It seems there is no automatic check if endianess.
The package always supposes that endian is
big
.This makes impossible to read/scan
little
endian segy.The text was updated successfully, but these errors were encountered: