-
Notifications
You must be signed in to change notification settings - Fork 217
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
ValueError: trace too short #541
Comments
Hi From the error message I see that segyio expects each trace is 200 bytes long. I'm guessing that you are using 4 byte floats, meaning the you've set Some friendly reminders about posting issues. It's very helpful for whomever is helping you if you provide 1) a description of the problem 2) a description about what you expected to happen 3) a minimal reproducible example illustrating you problem. It's also better to post code and tracebacks as text, as we can then copy and modify your example without having to re-type everything :) |
I am trying to record data from 3 stations , each station has 4000 data on 1 channel .and I get such an error, indicating that the block should go through a cycle of length spec.samples did not help spec.sorting = 2 |
Sorry for the delayed answer. When setting a trace for you file segyio expect the data you provide to be of 16000bytes, or 4000 samples (of 32 bit floats). Which is correct ( |
The text was updated successfully, but these errors were encountered: