diff --git a/python/segyio/segy.py b/python/segyio/segy.py index e8d09858..5a31d283 100644 --- a/python/segyio/segy.py +++ b/python/segyio/segy.py @@ -920,6 +920,15 @@ def interpret(self, ilines, xlines, offsets=None, sorting=TraceSortingFormat.INL xlines = np.copy(np.asarray(xlines, dtype=np.intc)) offsets = np.copy(np.asarray(offsets, dtype=np.intc)) + print("Ilines") + print(ilines) + print("Unique ilines") + print(np.unique(ilines)) + print("Xlines") + print(xlines) + print("Unique xlines") + print(np.unique(xlines)) + if np.unique(ilines).size != ilines.size: error = "Inlines inconsistent" solution = "expect all inlines to be unique"