resqpy.rq_import.add_surfaces
- resqpy.rq_import.add_surfaces(epc_file, crs_uuid=None, surface_file_format='zmap', rq_class='surface', surface_role='map', quad_triangles=False, surface_file_list=None, make_horizon_interpretations_and_features=True, interpretation_type='horizon', fault_is_normal=True)
Process a list of surface files, adding each surface as a new part in the resqml model.
- Parameters:
epc_file (
str) – file name and path to an existing resqml modelcrs_uuid (
uuid.UUID, defaultNone) – uuid for a coordinate reference system. Defaults to crs associated with model (usually the main grid crs)surface_file_format (
str, default'zmap') – ‘zmap’, ‘rms’, ‘roxar’ or ‘GOCAD-Tsurf’. The format of the input filerq_class (
str, default'surface') – ‘surface’ or ‘mesh’. The class of object ot besurface_role (
str, default'map') – ‘map’ or ‘pick’quad_triangles (
bool, defaultFalse) – if True, 4 triangles per quadrangle will be used for mesh formats, otherwise 2surface_file_list (
list, defaultNone) – list of full file names (paths), each holding one surfacemake_horizon_interpretations_and_features (
bool, defaultTrue) – if True, feature and interpretation objects are createdinterpretation_type (
str, default'horizon') – if ‘make_horizon_interpretations_and_features’ is True, feature and interpretation objects are added. Default is ‘horizon’, other options are ‘fault’ and ‘geobody’fault_is_normal (
bool, defaultTrue) – if ‘interpretation_type’ is ‘fault’, define if the fault is a normal fault. Default True
- Returns:
resqml model object with added surfaces