Comments (4)
Yes, good idea! I'll add this as a development note. Just as an information: we are also working on more notebooks for Google Colab with additional examples and use cases. Hope this helps you and your colleagues in getting forward with GemPy!
from gempy.
I can obtain "surface1"
and "surface2"
, I guess because they're in a <class 'gempy.core.data.structural_group.StructuralGroup'
?
However, I do find it somewhat confusing that "basement"
is listed when I do print(geo_model.structural_frame.elements_names)
, but then cannot obtain it.
from gempy.
Happy to see that you are giving the online GemPy version a try!
The reason that you can not get more information about the basement is that it is - by default- the base of the stratigraphic pile - i.e.: everything below the first structural element that you define ("surface1", in this case). As such, it does not have any data associated with it (no interface points, orientations, etc.).
Can you explain a bit more what exactly you try to achieve and what you need it for? Maybe we can solve the issue from there?
from gempy.
Hi Florian,
Great to hear from you!
I'm a big fan of open-source software and have always been looking for ways to use GemPy in my work in geotechnical engineering, so I was very happy to see it'll now become easier to get my colleagues introduced to GemPy with the Google Colab :)
I was not really trying to achieve anything specific. I was just exploring GemPy in that Colab and then stumbled upon the error mentioned above.
Rather than returning a ValueError when trying to retrieve the "basement", it might make more sense to return a message similar to what you just explained above?
from gempy.
Related Issues (20)
- Modeling sedimentary stratas or alluvial aquifer HOT 5
- I want to know how to export the model generated by gempy to a vtk file HOT 12
- How to get vertices and faces of a geo_model in gempy (version '2023.2.0b1')? HOT 3
- Equivalent to geo_model.surfaces.df in gempy v3
- About issues encountered when using pyinstaller to package Windows programs HOT 5
- AttributeError: 'Solutions' object has no attribute '_ordered_elements' HOT 1
- Error on changing fault color HOT 1
- Installation Bug HOT 1
- 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
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.