Skip to content

seisio.to_segy assertion error #131

Discussion options

You must be logged in to vote

Two things.

Wrapping the function in a try-except block like this will hide the stack trace which is why the assertion error is not helpful. However, I will look to add more meaningful messages to the asset statements in the code.

Secondly, it looks like you are trying to write CDP coordinates, but have not loaded any into your dataset. My guess is that the assertion error is because the variables cdp_x and cdp_y don't exist in your dataset.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lukelawrence123
Comment options

Answer selected by trhallam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants