gemgis
gemgis copied to clipboard
[BUG] "create_depth_map_from_gempy" creates seemingly correct but very very small surfaces (wrong scale)
Describe the bug Visualization tool outputs wrong depth for: "create_depth_maps_from_gempy()"
The following line of code I believe is to blame:
1690: # Append depth to PolyData 1691: surf['Depth [m]'] = geo_model.solutions.raw_arrays.vertices[index][:, 2]\
The surfaces appear to still be correct but they occur in the wrong scale (much, much smaller)
To Reproduce Steps to reproduce the behavior:
- make: gempy model , geo_model
- define: surface_list [surface1, surface2, ...]
- create depth map with: "gg.visualization.create_depth_maps_from_gempy(geo_model, surfaces=surface_list)
- Display poly data surfaces:
- See that surfaces are very very small ( <<1 meter )
Expected behavior Surfaces should be scaled to the dimensional units used in the model extents
Desktop (please complete the following information):
- OS: [macOS]
- VScode
- Version: 1.91.0