smart_data_hub.generate_geomodel
Functions
|
Create a GemPy 3D structural model. |
|
Export each fromation surface as a VTK file. |
|
Export the regular grid of the model as a VTK file. |
|
Create a GemPy 3D structural model for a specific site. |
Module Contents
- smart_data_hub.generate_geomodel.generate_geomodel(site_orientation_path, site_points_path, extent_geometry, refinement, resolution, structural_group, stack_relation)[source]
Create a GemPy 3D structural model.
- Parameters:
site_orientation_path (str) – Path to CSV file that stores orientation data for each surface.
site_points_path (str) – Path to CSV file that stores point data for each surface.
extent_geometry (list) – model extend in a list [x_min, x_max, y_min, y_max, z_min, z_max].
refinement (int) – Model resolution of the regular grids.
resolution (list) – Model resolution in a list [x, y, z].
structural_group (dict) – GemPy series or stacks in the model.
stack_relation (GemPy StackRelationType) – GemPy StackRelationType.
- Returns:
The computed GemPy 3D structural model.
- Return type:
gempy.core.data.geo_model.GeoModel
- smart_data_hub.generate_geomodel.export_gempy2vtk(geo_model, save_output_folder_path)[source]
Export each fromation surface as a VTK file.
- Parameters:
geo_model (gempy.core.data.geo_model.GeoModel) – A GemPy 3D structural model.
save_output_folder_path (str) – Path to the output folder.
- smart_data_hub.generate_geomodel.export_gempy2grid(geo_model, save_output_folder_path, output_filename='3D_model.vtk')[source]
Export the regular grid of the model as a VTK file. :param geo_model: A GemPy 3D structural model. :type geo_model: gempy.core.data.geo_model.GeoModel :param save_output_folder_path: Path to the output folder. :type save_output_folder_path: str :param output_filename: Name of the output VTK file. :type output_filename: str