File tree Expand file tree Collapse file tree 4 files changed +96
-96
lines changed Expand file tree Collapse file tree 4 files changed +96
-96
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies = [
2626 " psutil>=7.0.0" ,
2727 " pydantic>=2.11.9" ,
2828 " rich>=14.1.0" ,
29- " segy>=0.5.1 " ,
29+ " segy>=0.5.2 " ,
3030 " tqdm>=4.67.1" ,
3131 " universal-pathlib>=0.2.6" ,
3232 " xarray>=2025.9.1" ,
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
@@ -488,7 +488,7 @@ def segy_to_mdio( # noqa PLR0913
488488 err = f"Output location '{ output_path .as_posix ()} ' exists. Set `overwrite=True` if intended."
489489 raise FileExistsError (err )
490490
491- segy_settings = SegySettings (storage_options = input_path .storage_options )
491+ segy_settings = SegyFileSettings (storage_options = input_path .storage_options )
492492 segy_file = SegyFile (url = input_path .as_posix (), spec = segy_spec , settings = segy_settings )
493493 segy_info : SegyFileHeaderDump = _get_segy_file_header_dump (segy_file )
494494
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