create_mesh_from_coords

subsurface.geological_formats.segy_reader.create_mesh_from_coords(coords: Union[dict, shapely.geometry.linestring.LineString], zmin: Union[float, int], zmax: Union[float, int] = 0.0)[source]

Creates a mesh for plotting StructuredData

Parameters
  • coords (Union[dict, LineString]) – the x and y, i.e. latitude and longitude, location of the traces of the seismic profile

  • zmax (float) – the maximum elevation of the seismic profile, by default 0.0

  • zmin (float) – the location in z where the lowest sample was taken

Returns: vertices and faces for creating an UnstructuredData object