1
1
"""
2
- Modeling step by step
3
- ^^^^^^^^^^^^^^^^^^^^^
2
+ Video Tutorial "code-along": Modeling step by step
3
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4
4
5
5
This tutorial demonstrates step-by-step geological modeling using the `gempy` and `gempy_viewer` libraries.
6
6
It follows the Video tutorial series available on the `gempy` YouTube channel (https://www.youtube.com/@GemPy3D).
7
7
"""
8
8
9
+
10
+ # %%
11
+ # Video tutorial 1: Introduction
12
+ # """"""""""""""""""""""""""""""
13
+ #
14
+ # The first video is an introduction to GemPy - please view online before starting the tutorial.
15
+ #
16
+ # https://youtu.be/3elCCHhARsU
17
+ #
18
+ #
19
+
20
+ # %%
21
+ #.. raw:: html
22
+ #
23
+ # <iframe width="560" height="315"
24
+ # src="https://www.youtube.com/embed/3elCCHhARsU"
25
+ # title="YouTube video player"
26
+ # frameborder="0"
27
+ # allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
28
+ # allowfullscreen>
29
+ # </iframe>
30
+
31
+
9
32
# %%
10
33
# Video tutorial 2: Input data
11
34
# """"""""""""""""""""""""""""
12
35
36
+ # %%
37
+ #.. raw:: html
38
+ #
39
+ # <iframe width="560" height="315"
40
+ # src="https://www.youtube.com/embed/yYwJVYy8ilw"
41
+ # title="YouTube video player"
42
+ # frameborder="0"
43
+ # allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
44
+ # allowfullscreen>
45
+ # </iframe>
46
+
47
+
48
+
13
49
# Required imports
14
50
import gempy as gp
15
51
import gempy_viewer as gpv
57
93
# Video tutorial 3: Structural frame
58
94
# """"""""""""""""""""""""""""""""""
59
95
96
+ # %%
97
+ #.. raw:: html
98
+ #
99
+ # <iframe width="560" height="315"
100
+ # src="https://www.youtube.com/embed/4rav3lb2AR8"
101
+ # title="YouTube video player"
102
+ # frameborder="0"
103
+ # allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
104
+ # allowfullscreen>
105
+ # </iframe>
106
+
60
107
# View structural frame
61
108
geo_model .structural_frame
62
109
176
223
# %%
177
224
178
225
# Display the 3d model with topography
179
- gpv .plot_3d (geo_model , show_lith = True , show_topography = True )
226
+ gpv .plot_3d (geo_model , show_lith = True , show_topography = True )
227
+
228
+ # sphinx_gallery_thumbnail_number = -1
0 commit comments