Skip to content

Commit 2cc4daf

Browse files
committed
Updated geomodel examples for documentation
1 parent b33a23d commit 2cc4daf

File tree

15 files changed

+58
-33
lines changed

15 files changed

+58
-33
lines changed

examples/examples/geometries/a01_horizontal_stratigraphic.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
"""
2-
Model 1 - Horizontal stratigraphic
2+
Model 1 - Horizontal stratigraphy
33
==================================
44
5-
This script demonstrates how to create a basic model of horizontally stacked layers using GemPy,
5+
A simple example with horizontal layers
6+
7+
This script demonstrates how to create a basic model with horizontally stacked layers using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""
810

11+
12+
# %%
913
# Import necessary libraries
1014
import gempy as gp
1115
import gempy_viewer as gpv

examples/examples/geometries/b02_fold.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 2 - Anticline
33
===================
44
5+
Simple model of an anticline
6+
57
This script demonstrates how to create a geological model of an anticline structure using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/c03_recumbent_fold.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 3 - Recumbent Fold
33
========================
44
5+
Modeling a recumbent fold
6+
57
This script demonstrates how to create a geological model of a recumbent fold using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/d04_pinchout.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 4 - Pinchout
33
==================
44
5+
Modeling of a pinchout: combining scalar fields
6+
57
This script demonstrates how to create a geological model with a layer of varying thickness (pinchout) using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/e05_fault.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 5 - Fault
33
===============
44
5+
Modeling a fault
6+
57
This script demonstrates how to create a simple fault model with constant offset using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/f06_unconformity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 6 - Unconformity
33
======================
44
5+
Modeling unconformities through the combination of scalar fields
6+
57
This script creates an unconformity cutting an anticline structure using GemPy,
68
an open-source, Python-based library for building implicit geological models.
79
"""

examples/examples/geometries/g07_combination.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 7 - Combination
33
======================
44
5+
Combining faults and unconformities
6+
57
This script creates a folded domain featuring an unconformity and a fault using GemPy,
68
an open-source, Python-based library for building implicit geological models.
79
"""

examples/examples/geometries/h08_more_examples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
GemPy Models - Some More Complex Examples
33
-----------------------------------------
44
5+
A set of more complex examples
6+
57
"""
68

79
# %%

examples/examples/real/Alesmodel.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
21
"""
3-
Alesmodel: Plotting Sections and Maps
2+
Model of Ales, France: Plotting Sections and Maps
43
======================================
4+
"""
55

66
# %%
77
# .. admonition:: Explanation
88
#
9-
# This model is generally quite unstable and requires float64 precision to find a solution.
9+
# This model is generally quite unstable and requires float64 precision to determine a solution.
1010
# The lack of data in one corner for the TRIAS and LIAS series causes the model to bend unrealistically,
11-
# eroding the CARBO layer, which disappears in that section. The simple way to solve this is by adding more data in that area.
12-
# However, I left it as is because I did not construct the model.
11+
# eroding the CARBO layer, which disappears in that section.
1312
#
1413

15-
"""
16-
1714
import gempy as gp
1815
import gempy_viewer as gpv
1916
import os

examples/examples/real/Claudius.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
"""
2-
Claudius
2+
Geomodeling benchmark: the "Claudius"-Model
33
========
44
5+
This model is part of a geomodeling benchmaring effort. More information (and, hopefully, publication) coming.
56
"""
67

78
# %%

0 commit comments

Comments
 (0)