File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111import numpy as np
1212import zarr
1313from segy import SegyFile
14- from segy .config import SegySettings
14+ from segy .config import SegyFileSettings
1515from segy .standards .codes import MeasurementSystem as segy_MeasurementSystem
1616from segy .standards .fields .trace import Rev0 as TraceHeaderFieldsRev0
1717
@@ -491,7 +491,7 @@ def segy_to_mdio( # noqa PLR0913
491491 err = f"Output location '{ output_path .as_posix ()} ' exists. Set `overwrite=True` if intended."
492492 raise FileExistsError (err )
493493
494- segy_settings = SegySettings (storage_options = input_path .storage_options )
494+ segy_settings = SegyFileSettings (storage_options = input_path .storage_options )
495495 segy_file = SegyFile (url = input_path .as_posix (), spec = segy_spec , settings = segy_settings )
496496 segy_info : SegyFileHeaderDump = _get_segy_file_header_dump (segy_file )
497497
Original file line number Diff line number Diff line change 1616
1717if TYPE_CHECKING :
1818 from segy .arrays import HeaderArray
19- from segy .config import SegySettings
19+ from segy .config import SegyFileSettings
2020 from segy .schema import SegySpec
2121 from upath import UPath
2222 from xarray import Dataset as xr_Dataset
@@ -36,7 +36,7 @@ class SegyFileArguments(TypedDict):
3636
3737 url : str
3838 spec : SegySpec | None
39- settings : SegySettings | None
39+ settings : SegyFileSettings | None
4040
4141
4242def header_scan_worker (
You can’t perform that action at this time.
0 commit comments