read_in_segy¶
-
subsurface.geological_formats.segy_reader.
read_in_segy
(filepath: str, coords=None) → subsurface.structs.base_structures.structured_data.StructuredData[source]¶ Reader for seismic data stored in sgy/segy files
- Parameters
filepath (str) – the path of the sgy/segy file
coords (dict) – If data is a numpy array coords provides the values for the xarray dimension. These dimensions are ‘x’, ‘y’ and ‘z’
- Returns: a StructuredData object with data, the traces with samples written into an xr.Dataset, optionally with
labels defined by coords