Welcome. In this repository you will find a group of geologic maps that we have converted into 3D geological models using the geo-modelling tool GemPy (https://www.gempy.org).
NOTE: Please update to the latest version. On August 15/2025, I updated the code to work with GemPy 3 and simplified it a lot.
The best way to work with the resource is to clone this repository. This saves all material to your local machine. It behaves almost like a copy.
- Open a terminal.
- Navigate to the folder where you would like to store the local copy of the repository. (
cd <foldername>) - Press the green button 'Code' on the right hand side and copy the path in the Clone section.
- Execute the terminal command
git clone <fill in path here>. - Now you can start working with the resource files. They are saved in the folder you chose in step 2.
In order to create the models from the geological maps, you will need to install the following libraries/programs in a new anaconda environment. This can be done in a terminal following the steps below. Please follow the suggested order since that guarantees compatibility between the libraries:
conda create -n geomaps python">=3.10"
conda activate geomaps
conda install -c conda-forge jupyter
conda install -c conda-forge geopandas">=0.13.2" rasterio">=1.3.8"
conda install -c conda-forge pyvista">=0.42.1"
conda install -c conda-forge gemgis
pip install "gempy[opt]"
pip install fiona
pip install subsurface
jupyter lab
import rasterio
import geopandas as gpd
import gempy as gp
import gempy_viewer as gpv
import gemgis as gg
There shouldn't be any errors.
If any questions, please contact me at [email protected]