Skip to content

Commit

Permalink
Print numpy config
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinung-r committed Sep 11, 2024
1 parent 390273a commit 7e3ec60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/segyio/segy.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,9 @@ def interpret(self, ilines, xlines, offsets=None, sorting=TraceSortingFormat.INL
print("Unique xlines")
print(np.unique(xlines))

print("Numpy config")
print(np.show_config())

if np.unique(ilines).size != ilines.size:
error = "Inlines inconsistent"
solution = "expect all inlines to be unique"
Expand Down

0 comments on commit 7e3ec60

Please sign in to comment.