Skip to content

Commit

Permalink
add segy settings to grid reader
Browse files Browse the repository at this point in the history
  • Loading branch information
tasansal committed Dec 13, 2024
1 parent 501b391 commit d2a55c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdio/converters/segy.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def segy_to_mdio( # noqa: C901
for name, byte, format_ in zip(index_names, index_bytes, index_types): # noqa: B905
index_fields.append(HeaderField(name=name, byte=byte, format=format_))
mdio_spec_grid = mdio_spec.customize(trace_header_fields=index_fields)
segy_grid = SegyFile(url=segy_path, spec=mdio_spec_grid)
segy_grid = SegyFile(url=segy_path, spec=mdio_spec_grid, settings=segy_settings)

dimensions, chunksize, index_headers = get_grid_plan(
segy_file=segy_grid,
Expand Down

0 comments on commit d2a55c3

Please sign in to comment.