gemgis.visualization.seismic_to_mesh#

gemgis.visualization.seismic_to_mesh(seismic_data, cdp_start: Optional[int] = None, cdp_end: Optional[int] = None, max_depth: Union[int, float] = None, sampling_rate: Optional[int] = None, shift: Union[int, float] = 0, source_crs: Union[str, pyproj.crs.crs.CRS] = None, target_crs: Union[str, pyproj.crs.crs.CRS] = None, cdp_coords=None) pyvista.core.pointset.StructuredGrid#

Converting seismic data loaded with segysak to a PyVista Mesh

Parameters
  • seismic_data (xarray.core.dataset.Dataset) – seismic data loaded with the segysak package

  • cdp_start (Union[int, type(None)]) – Value for the start CDP number, e.g. cdp_start=100, default is None

  • cdp_end (Union[int, type(None)]) – Value for the end CDP number, e.g. cdp_start=200, default is None

  • max_depth (Union[int, float, type(None)]) – Maximum depth of the seismic, e.g. max_depth=200, default is None

  • sampling_rate (Union[int, type(None)]) – Sampling rate of the seismic, e.g. sampling_rate=2, default is None

  • shift (Union[int, float]) – Shift of the seismic, e.g. shift=100, default is 0

  • source_crs (Union[str, pyproj.crs.crs.CRS]) – Source CRS of the seismic, e.g. source_crs='EPSG:25832', default is None

  • target_crs (Union[str, pyproj.crs.crs.CRS]) – Target CRS of the seismic, e.g. target_crs='EPSG:3034', default is None

  • cdp_coords (Union[int, float, type(None)]) – CDP coordinates of the seismic if no CDP columns are present in the segysak object, default is None

Returns

grid – PyVista Structured grid containing the seismic data

Return type

pv.core.pointset.StructuredGrid

New in version 1.0.x.