|
3 | 3 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
4 | 4 |
|
5 | 5 | This tutorial demonstrates step-by-step geological modeling using the `gempy` and `gempy_viewer` libraries.
|
6 |
| -It follows the Video tutorial series available on the `gempy` YouTube channel (https://www.youtube.com/@GemPy3D). |
| 6 | +It follows the Video tutorial series available on the [`gempy` YouTube channel](https://www.youtube.com/@GemPy3D). |
7 | 7 | """
|
8 | 8 |
|
9 | 9 |
|
|
12 | 12 | # """"""""""""""""""""""""""""""
|
13 | 13 | #
|
14 | 14 | # The first video is an introduction to GemPy - please view online before starting the tutorial.
|
15 |
| -# |
16 |
| -# https://youtu.be/3elCCHhARsU |
17 | 15 | #
|
18 | 16 | #
|
19 | 17 |
|
|
127 | 125 | # Video tutorial 4: Computation and results
|
128 | 126 | # """""""""""""""""""""""""""""""""""""""""
|
129 | 127 |
|
| 128 | +# %% |
| 129 | +#.. raw:: html |
| 130 | +# |
| 131 | +# <iframe width="560" height="315" |
| 132 | +# src="https://youtu.be/lrz1DeHrrBk" |
| 133 | +# title="GemPy Tutorial Video 4" |
| 134 | +# frameborder="0" |
| 135 | +# allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
| 136 | +# allowfullscreen> |
| 137 | +# </iframe> |
| 138 | + |
| 139 | + |
130 | 140 | # View interpolation options
|
131 | 141 | geo_model.interpolation_options
|
132 | 142 |
|
|
150 | 160 | # Video tutorial 5: 2D visualization
|
151 | 161 | # """"""""""""""""""""""""""""""""""
|
152 | 162 |
|
| 163 | +# %% |
| 164 | +#.. raw:: html |
| 165 | +# |
| 166 | +# <iframe width="560" height="315" |
| 167 | +# src="https://youtu.be/nMms0JYn98o" |
| 168 | +# title="GemPy tutorial video 5" |
| 169 | +# frameborder="0" |
| 170 | +# allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
| 171 | +# allowfullscreen> |
| 172 | +# </iframe> |
| 173 | + |
| 174 | + |
153 | 175 | # 2d plotting options
|
154 | 176 | gpv.plot_2d(geo_model, show_value=True, show_lith=False, show_scalar=True, series_n=1, cell_number=25)
|
155 | 177 |
|
|
191 | 213 | # How to access DC meshes
|
192 | 214 | geo_model.solutions.dc_meshes[0].dc_data
|
193 | 215 |
|
| 216 | +# transform mesh vertices to original coordinate system |
| 217 | + |
| 218 | +back_transformed_vertices = geo_model.input_transform.apply_inverse(geo_model.solutions.dc_meshes[0].vertices) |
| 219 | + |
194 | 220 | # %%
|
195 | 221 | # Video tutorial 7: Topography
|
196 | 222 | # """""""""""""""""""""""""""""""
|
|
0 commit comments