gempy-project / gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
https://gempy.org
European Union Public License 1.2
965 stars 232 forks source link

coding error #884

Closed Varun019140 closed 5 months ago

Varun019140 commented 5 months ago

geo_model: gp.data.GeoModel = gp.create_geomodel( project_name='Model1', extent=[0, 791, -200, 200, -582, 0], resolution=None, refinement=4, # We will use octrees structural_frame=gp.data.StructuralFrame.initialize_default_structure() ) geo_model

i tried this code in the jupyter notebook but i am facing

this error

{'_interpolation_options': InterpolationOptions(kernel_options={'range': 5, 'c_o': 10, 'uni_degree': 1, 'i_res': 4, 'gi_res': 2, 'number_dimensions': 3, 'kernel_function': <AvailableKernelFunctions.cubic: KernelFunction(base_function=<function cubic_function at 0x0000019A7FB7B640>, derivative_div_r=<function cubic_function_p_div_r at 0x0000019A7FB7B6D0>, second_derivative=<function cubic_function_a at 0x0000019A7FB7B760>, consume_sq_distance=False)>, 'kernel_solver': <Solvers.DEFAULT: 1>, 'compute_condition_number': False, 'optimizing_condition_number': False, 'condition_number': None}, _number_octree_levels=4, current_octree_level=0, block_solutions_type=BlockSolutionType.OCTREE, compute_scalar_gradient=False, mesh_extraction=True, mesh_extraction_masking_options=MeshExtractionMaskingOptions.INTERSECT, mesh_extraction_fancy=True, debug=True, debug_water_tight=False, sigmoid_slope=50000, evaluation_chunk_size=50000, _number_octree_levels_surface=4, _model_name=None), 'grid': <gempy.core.data.grid.Grid object at 0x0000019A05ECB0D0>, 'meta': GeoModelMeta(name='Model1', creation_date=None, last_modification_date=None, owner=None), 'structural_frame': StructuralFrame( structural_groups=[ StructuralGroup( name=default_formations, structural_relation=StackRelationType.ERODE, elements=[ Element( name=surface1, color=#015482, is_active=True ) ] ) ], fault_relations= [[False]], , 'transform': {'_is_default_transform': True, 'position': array([0., 0., 0.]), 'rotation': array([0., 0., 0.]), 'scale': array([1., 1., 1.])}}

javoha commented 5 months ago

See #881