Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconcistency in shapes (2D seismic) causes error when calling segy_loader #123

Closed
MadsLorentzen opened this issue Mar 12, 2024 · 2 comments

Comments

@MadsLorentzen
Copy link

I am trying to load in a 2D seismic section. According to the header information (TRACE_SAMPLE_COUNT), the data holds 5359 samples.
image

However, when attempting to load it in segysak, I get the following error

image

@trhallam
Copy link
Owner

Likely this means there are some issues with your headers. Probably one CDP is duplicated in this case would be my guess. Have look at the headers to ensure each CDP number is unique.

@trhallam
Copy link
Owner

Please try the new open_dataset Xarray backend in v0.5. This removed the percentiles function which is no longer required due to lazy loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants