File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -167,24 +167,14 @@ def _scan_for_headers(
167167 This is an expensive operation.
168168 It scans the SEG-Y file in chunks by using ProcessPoolExecutor
169169 """
170- full_chunk_size = template .full_chunk_size
171- segy_dimensions , chunk_size , segy_headers = get_grid_plan (
170+ segy_dimensions , _ , segy_headers = get_grid_plan (
172171 segy_file = segy_file ,
173172 return_headers = True ,
174173 template = template ,
175- chunksize = full_chunk_size ,
174+ chunksize = template . full_chunk_size ,
176175 grid_overrides = grid_overrides ,
177176 )
178- if full_chunk_size != chunk_size :
179- pass
180- # TODO(Dmitriy): implement grid overrides
181- # https://github.com/TGSAI/mdio-python/issues/585
182- # The returned 'chunksize' is used only for grid_overrides. We will need to use it when full
183- # support for grid overrides is implemented
184- # err = "Support for changing full_chunk_size in grid overrides is not yet implemented"
185- # raise NotImplementedError(err)
186-
187- full_chunk_size = template .full_chunk_size
177+
188178 return segy_dimensions , segy_headers
189179
190180
You can’t perform that action at this time.
0 commit comments