Dear all,
when trying to run the DC/IP module on any data, including the examplary FlinFlon_dcip, the procedure crashes reporting an error when calculating the mesh:
quote
Setting the mesh extent
C:\Users\gl\anaconda3\envs\geoapps\lib\site-packages\discretize\utils\mesh_utils.py:459: RuntimeWarning: divide by zero encountered in double_scalars
nC += [int((max_min[0] - max_min[1]) / h[dim])]
Traceback (most recent call last):
File “C:\Users\gl\anaconda3\envs\geoapps\lib\runpy.py”, line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Users\gl\anaconda3\envs\geoapps\lib\runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “c:\gm3\geoapps\inversion\driver.py”, line 419, in
start_inversion(filepath)
File “c:\gm3\geoapps\inversion\driver.py”, line 412, in start_inversion
driver = InversionDriver(params)
File “c:\gm3\geoapps\inversion\driver.py”, line 54, in init
self.initialize()
File “c:\gm3\geoapps\inversion\driver.py”, line 106, in initialize
self.inversion_mesh = InversionMesh(
File “c:\gm3\geoapps\inversion\components\meshes.py”, line 66, in init
self._initialize()
File “c:\gm3\geoapps\inversion\components\meshes.py”, line 82, in _initialize
self.build_from_params()
File “c:\gm3\geoapps\inversion\components\meshes.py”, line 147, in build_from_params
self.entity = OctreeMesh.run(octree_params)
File “c:\gm3\geoapps\octree_creation\application.py”, line 254, in run
octree = driver.run()
File “c:\gm3\geoapps\octree_creation\driver.py”, line 53, in run
treemesh = mesh_builder_xyz(
File “C:\Users\gl\anaconda3\envs\geoapps\lib\site-packages\discretize\utils\mesh_utils.py”, line 459, in mesh_builder_xyz
nC += [int((max_min[0] - max_min[1]) / h[dim])]
OverflowError: cannot convert float infinity to integer
unqote
What am I doing wrong?
thanks
George