Reader

subsurface.reader.readers_data Module

Classes

ReaderFilesHelper(file_or_buffer, str, …)

ReaderUnstructuredHelper(reader_vertex_args, …)

ReaderWellsHelper(reader_collars_args, …)

RawDataOptions(swap_yz_cells)

RawDataUnstructured()

subsurface.reader.read_netcdf Module

Functions

read_unstruct(path[, legacy])

read_struct(path, **kwargs)

subsurface.reader.faults.faults Module

TODO: This is legacy code waiting to be updated to the new ideas

Functions

read_faultsticks_kingdom(fp[, name])

Reads in Kingdom fault stick files (kingdom) exported from Petrel (tested with Petrel 2017) and returns pandas DataFrame.

read_faultsticks_charisma(fp[, name])

Reads in charisma fault stick files exported from Petrel (tested with Petrel 2017) and returns pandas DataFrame.

subsurface.reader.mesh.surface_reader Module

Functions

read_mesh_file_to_vertex(reader_args)

read_mesh_file_to_cells(reader_args)

read_mesh_file_to_attr(reader_args)

mesh_csv_to_vertex(path_to_file[, columns_map])

mesh_csv_to_cells(path_to_file[, columns_map])

mesh_csv_to_attributes(path_to_file[, …])

get_cells_from_df(data)

cells_from_delaunay(vertex)

get_vertices_from_df(data)

map_columns_names(columns_map, data)

dxf_to_vertex_edges(file_or_buffer)

dxf_to_vertex(file_or_buffer)

subsurface.reader.mesh.surfaces_api Module

Functions

read_2d_mesh_to_unstruct(reader_args[, …])

Reads in csv files with n table columns and returns UnstructuredData object.

subsurface.reader.profiles.profiles_core Module

Functions

create_mesh_from_trace(linestring, zmax, zmin)

param linestring

create_tri_surf_from_traces_texture(…[, …])

base_structs_to_tri_surf(args_list)

traces_texture_to_sub_structs(path_to_trace, …)

lineset_from_trace(path_to_trace[, idx])

subsurface.reader.topography.topo_core Module

subsurface.reader.volume.read_volume Module

subsurface.reader.volume.volume_utils Module

subsurface.reader.wells.pandas_to_welly Module

Classes

WellyToSubsurfaceHelper(collar_df, …)

subsurface.reader.wells.well_files_reader Module

Functions

read_borehole_files(reader_wells_helper)

read_collar(reader_helper)

read_survey(reader_helper)

read_lith(reader_helper)

Columns MUST contain: - top - base - component lith

read_attributes(reader_helper)

check_format_and_read_to_df(reader_helper)

map_rows_and_cols_inplace(d, reader_helper)

subsurface.reader.wells.wells_api Module

Functions

read_wells_to_unstruct(reader_wells_helper)

Read from csv files (or excel) to subsurface.Unstructured object.

borehole_location_to_unstruct(reader_helper)

subsurface.reader.wells.wells_utils Module

subsurface.reader.wells.welly_reader Module

Functions

welly_to_subsurface(wts[, elev, …])

Method to convert well data to subsurface.UnstructuredData

striplog_to_curve_log(n_vertex_per_well, …)

change_curve_basis_to_n_vertex_per_well_inplace(…)

vertex_and_cells_from_welly_trajectory(…)

well_without_valid_survey(w, missed_wells)