Skip to content

Commit 832ebab

Browse files
committed
Re-remove ChannelWrap added back by merge resolutions
1 parent e9fdee7 commit 832ebab

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/mdio/commands/segy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ def segy_import( # noqa: PLR0913
257257
--header-names shot,cable,chan
258258
--header-types int32,None,int32
259259
--chunk-size 8,2,256,512
260-
--grid-overrides '{"ChannelWrap": True, "ChannelsPerCable": 800}'
261260
262261
\b
263262
No grid overrides are necessary for shot gathers with channel numbers and wrapped channels.

tests/unit/test_segy_grid_overrides.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,6 @@ def test_non_binned(self, mock_streamer_headers: dict[str, npt.NDArray]) -> None
131131
class TestStreamerGridOverrides:
132132
"""Check grid overrides for shot data with streamer acquisition."""
133133

134-
def test_channel_wrap(self, mock_streamer_headers: dict[str, npt.NDArray]) -> None:
135-
"""Test the ChannelWrap command."""
136-
index_names = ("shot_point", "cable", "channel")
137-
grid_overrides = {"ChannelWrap": True, "ChannelsPerCable": len(RECEIVERS)}
138-
139-
new_headers, new_names, new_chunks = run_override(grid_overrides, index_names, mock_streamer_headers)
140-
141-
assert new_names == index_names
142-
assert new_chunks is None
143-
144-
dims = get_dims(new_headers)
145-
146-
assert_array_equal(dims[0].coords, SHOTS)
147-
assert_array_equal(dims[1].coords, CABLES)
148-
assert_array_equal(dims[2].coords, RECEIVERS)
149-
150134
def test_missing_param(self, mock_streamer_headers: dict[str, npt.NDArray]) -> None:
151135
"""Test missing parameters for the commands."""
152136
index_names = ("shot_point", "cable", "channel")

0 commit comments

Comments
 (0)