[Folds modelisation problem] - Bomal-sur-Ourthe (Belgium)#1072
-
Hello, I am in an internship and I need to create a geological model of the Bomal-sur-Ourthe area (EPSG:3812: xmin = 731000, xmax: 733150, ymin = 617600, ymax = 619500). The area to be modeled is quite complex (a succession of synclines and anticlines with faults). I used QGIS to overlay the geological map layers on the digital terrain model (DTM, see files). I then sampled the point layers and gave them coordinates (x, y, z), an orientation, a dip, a polarity, and an order of formation. I then exported this into two CSV files, which you will find below. When I implement them in the Gempy Python script, the folds in the subsurface are not connected to the layers that outcrop at the surface, and the folds are poorly modeled (I get strange shapes). However, I modeled fold hinges and cuts between the hinges to force Gempy to create a folded relief. According to the geological map, I should normally obtain, on a NW-SE section, the right edge of a syncline, followed by an anticline and ending with the left edge of an anticline. I don't know what else to try to fix the problem. What do you think the problem is? Thank you in advance for your time. Here are the files: Projet_modèle_géol.ipynb |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 4 comments 9 replies
-
Hi@SneakerShot, quite often, when the modelled geometry is too complex, you are lacking information in the depth and where you have the most complexity. I will have a look at it in the next days (I have not opened your script yet). If you have cross sections based on the map (the Walloon geological survey commonly has those), those would be a great aid. If you have cross sections at hand, check outGemGIS. The Gempy specific functions there might be outdated, but the data extraction from GIS software for input for Gempy should still be up to date! :) Kind regards |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, Thank you for your very quick reply. If I understand you correctly, I need to create more cross-sections (parallel to the axis of my folds) to force GemPy to model my folds correctly. Unfortunately, no geological cross-section covers my area of interest. I can only provide you with cross-sections from two geological maps adjacent to mine :
These cross-sections represent the folded relief, which should be very similar to what I have in my area of interest, as they represent the continuation of the folds at Bomal or the same fold zone with the same fold axis. If I don't have access to a true cross-section of my area of interest, is it still worthwhile to use GemGIS ? Kind regards |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@SneakerShot, the advice I gave you was quite general. I built a model North-East of yours and had that issue there (that's why I was familiar with the Walloon geological survey). Looking at your data, there is a more urgent fix required: It seems as if you picked points along the exterior of the polygons of your map. I hope this helps |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, what software or Python script do you use to visualize points in 3 dimensions? Is it GemGIS? I sampled my surface layers on my digital terrain model and then created underground points based on the elevations of the digital terrain model. I don't understand how I could have created points outside my DEM because I only sampled on it. |
BetaWas this translation helpful?Give feedback.
All reactions
-
This is the default pyvista plotter (after installing gempy-viewer, run Please ignore my initial tip. Please focus on the time regarding the sampling from the map. Gempy tries to connect surface points of the same surface. If you have the outline of a geological unit in your input data, Gempy will still follow what it was supposed to do and draw mostly horizontal layers or some very weird stuff. |
BetaWas this translation helpful?Give feedback.
All reactions
-
GemGIS was meant as an interface between GIS software and Gempy; reading shapefiles and so on turning them into tables of the required input shape... But it also includes functions to sample from DEMs :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you for your advices, i will try it today ! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Enjoy! Feel free to share the result, if you want some feedback :) When selecting surface points, it helps to ask yourself, if the selected points represent the true bottom contact of the geological body you are modeling. If not, is it a fault or an unconformity? Faults would be their own structural element. |
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@SneakerShot, The rasterio code could look something like That code was created with Chat GPT, but at first glance looks correct. Just have to stack them in to a single array, set the topography as in the tutorial and compute :) (edit: I asked if you are familiar with the format, because you could achieve a similar solution, going through the bounds and getting the resolution, but I want to encourage you to verify the result of either approach by using a scatter plot with the generated coordinates first.) |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Aaaah! I found the issue: your raster has 4 bands and I believe none of them has the actual elevation data stored! Please revise how you got your DTM. The values range only between 0 and 255 because they correspond with RGB values and values 1-3 are the same -> grayscale. (edit: tbh, your DTM looks like the hillshade, so definitely check your GIS) |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, thank you for your fast and clear answer. I resolved the issue ! Now, I'll start to discover how to use FloPy :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
You are very welcome :) Feel free to come back if you need more help, like extracting output from GemPy |
BetaWas this translation helpful?Give feedback.


