Comments (1)
Hi,
this seems to be a little hidden in gempy and as far as I know this is not an implemented function. But you can access the vertices of the topogrpahy grid using geo_model.grid.topography.values
. This should allow you to mask the solution from raw_arrays quickly to get the clipped result.
Even more straightforward: geo_model.grid.topography.topography_mask
returns the mask that can directly be applied to the block solution (e.g. the solution in shape of your resolution).
Let me know if this is what you were looking for or if I got something wrong.
Cheers
Jan
Small edit: I will convert this issue to a discussion for now as it does not strike me as an issue or bug.
from gempy.
Related Issues (20)
- Error with geo_model.add_surface_values HOT 1
- Installation on windows HOT 3
- Not able to import gempy HOT 4
- Update plotting API to plot 2-D sections by position, not cell id
- installing pytosch HOT 1
- coding error HOT 1
- AttributeError Traceback (most recent call last) Cell In[2], line 1 ----> 1 geo_model = gp.create_model('Model1') 2 geo_model = gp.init_data(geo_model, extent=[0, 791, 0, 200, -582, 0], resolution=[100, 10, 100]) AttributeError: module 'gempy' has no attribute 'create_model'......... HOT 1
- facing error HOT 2
- Can't get a model result like Geomodeller does. HOT 1
- AttributeError: module 'gempy' has no attribute 'create_model' HOT 2
- Gempy model export to numpy HOT 2
- Legacy vs current GEMPY version HOT 2
- After the model is exported to pyvista, the coordinates are incorrect HOT 3
- `pip install gempy[base]` → ModuleNotFoundError: No module named `torch` HOT 4
- 3D visualizations make Google Colab kernel crash HOT 2
- [ENH] Improve Error Handling when formation names are not identical HOT 1
- Model Save HOT 8
- Coordinates missing HOT 7
- Lith blocks rotated in comparison to meshes? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gempy.