Skip to content

Commit 6c597cf

Browse files
authored
Merge branch 'main' into main
2 parents c82028d + cd70ed7 commit 6c597cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+68572
-147
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
version:
1717
- '1.9'
1818
- '1.10'
19+
- '~1.11.0-0'
1920
- 'nightly'
2021
os:
2122
- ubuntu-latest

.github/workflows/Documenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
version: '1.9'
3636
show-versioninfo: true
37-
- uses: julia-actions/cache@v1
37+
- uses: julia-actions/cache@v2
3838
- uses: julia-actions/julia-buildpkg@v1
3939
env:
4040
PYTHON: ""

.github/workflows/SpellCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- name: Checkout Actions Repository
1111
uses: actions/checkout@v4
1212
- name: Check spelling
13-
uses: crate-ci/typos@v1.18.2
13+
uses: crate-ci/typos@v1.25.0
1414
with:
1515
args: --exclude **/*.txt --exclude **/*.pvsm

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dum = "dum"
44
Shepard = "Shepard"
55
arange = "arange"
66
iy = "iy"
7+
nin = "nin"
78

89
[files]
910
extend-exclude = ["tutorials/*.pvsm"]

Project.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name = "GeophysicalModelGenerator"
22
uuid = "3700c31b-fa53-48a6-808a-ef22d5a84742"
33
authors = ["Boris Kaus", "Marcel Thielmann"]
4-
version = "0.7.2"
4+
version = "0.7.7"
55

66
[deps]
77
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
88
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
99
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
1010
FFMPEG = "c87230d0-a227-11e9-1b43-d7ebe4e7570a"
1111
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
12+
GDAL_jll = "a7073274-a066-55f0-b90d-d619367d196c"
1213
GeoParams = "e018b62d-d9de-4a26-8697-af89c310ae38"
1314
Geodesy = "0ef565a4-170c-5f04-8de2-149903a85f3d"
1415
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
@@ -19,13 +20,15 @@ JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
1920
LightXML = "9c8b4983-aa76-5018-a973-4c85ecc9e179"
2021
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
2122
MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118"
23+
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
2224
NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce"
2325
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
2426
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
2527
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2628
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2729
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2830
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
31+
WhereTheWaterFlows = "ea906314-1493-4d22-a0af-f886a20c9fba"
2932
WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"
3033

3134
[weakdeps]
@@ -43,7 +46,8 @@ Colors = "0.9 - 0.12"
4346
Downloads = "1"
4447
FFMPEG = "0.4"
4548
FileIO = "1"
46-
GLMakie = "0.8, 0.9"
49+
GDAL_jll = "300.900.0 - 301.900.0"
50+
GLMakie = "0.10"
4751
GMT = "1"
4852
GeoParams = "0.2 - 0.6"
4953
Geodesy = "1"
@@ -52,13 +56,14 @@ Glob = "1.2 - 1.3"
5256
GridapGmsh = "0.5 - 0.7"
5357
ImageIO = "0.1 - 0.6"
5458
Interpolations = "0.14, 0.15"
55-
JLD2 = "0.4"
59+
JLD2 = "0.4, 0.5"
5660
LightXML = "0.8, 0.9"
5761
MeshIO = "0.1 - 0.4"
5862
NearestNeighbors = "0.2 - 0.4"
5963
Parameters = "0.9 - 0.12"
6064
SpecialFunctions = "1.0, 2"
6165
StaticArrays = "1"
66+
WhereTheWaterFlows = "0.10"
6267
WriteVTK = "1"
6368
julia = "1.9"
6469

@@ -69,4 +74,4 @@ StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
6974
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
7075

7176
[targets]
72-
test = ["Test", "GMT", "StableRNGs","GridapGmsh"]
77+
test = ["Test", "GMT", "StableRNGs", "GridapGmsh"]

docs/make.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,15 @@ makedocs(;
105105
"19 - Jura tutorial" => "man/Tutorial_Jura.md",
106106
"20 - 2D model setups" => "man/Tutorial_NumericalModel_2D.md",
107107
"21 - 3D model setups" => "man/Tutorial_NumericalModel_3D.md",
108-
"22 - Build geometry from polygons" => "man/tutorial_Polygon_structures.md"
108+
"22 - 3D model setups" => "man/Tutorial_VolcanoModel_3D.md",
109+
"23 - Build geometry from polygons" => "man/tutorial_Polygon_structures.md"
109110
],
110111
"User Guide" => Any[
111112
"Installation" => "man/installation.md",
112113
"Data Structures" => "man/datastructures.md",
113114
"Data Import" => "man/dataimport.md",
114115
"Projection" => "man/projection.md",
116+
"ASAGI" => "man/asagi_io.md",
115117
"Paraview output" => "man/paraview_output.md",
116118
"Paraview collection" => "man/paraview_collection.md",
117119
"Surfaces" => "man/surfaces.md",
356 KB
Loading

docs/src/man/Tutorial_AlpineData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ using GeophysicalModelGenerator, GMT
2929
When loading both packages, several `GMT` routines within `GMG` will be loaded. One of these routines is the function `import_topo`, where one simply has to provide the region for which to download the topographic data and the data source.
3030

3131
```julia
32-
Topo = import_topo([4,20,37,50], file="@earth_relief_01m.grd")
32+
Topo = import_topo([4,20,37,50], file="@earth_relief_01m")
3333
```
3434

3535
The data is available in different resolutions; see [here](http://gmt.soest.hawaii.edu/doc/latest/grdimage.html) for an overview. Generally, it is advisable to not use the largest resolution if you have a large area, as the files become very large.

docs/src/man/Tutorial_Jura.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using GeophysicalModelGenerator, GMT
1818
Download the topography with:
1919

2020
```julia
21-
Topo = import_topo(lat=[45.5,47.7], lon=[5, 8.1], file="@earth_relief_03s.grd")
21+
Topo = import_topo(lat=[45.5,47.7], lon=[5, 8.1], file="@earth_relief_03s")
2222
```
2323

2424
Next, we drape the geological map on top of the geological map.

docs/src/man/Tutorial_LaPalma.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ using GeophysicalModelGenerator, GMT, DelimitedFiles
2323
We will use GMT to download the topography with:
2424

2525
```julia
26-
Topo = import_topo(lon = [-18.2, -17.5], lat=[28.4, 29.0], file="@earth_relief_15s.grd")
26+
Topo = import_topo(lon = [-18.2, -17.5], lat=[28.4, 29.0], file="@earth_relief_15s")
2727
```
2828

2929
Next, lets load the seismicity. The earthquake data is available on [https://www.ign.es/web/ign/portal/vlc-catalogo](https://www.ign.es/web/ign/portal/vlc-catalogo).
3030
We have filtered them and prepared a file with earthquake locations up to early November 2021 (from january 2021).
3131
Download that:
3232

3333
```julia
34-
#download_data("","EQ_events_all_info5_LaPalma_2021.dat")
34+
#download_data("https://zenodo.org/records/10738510/files/EQ_events_all_info5_LaPalma_2021.dat","EQ_events_all_info5_LaPalma_2021.dat")
3535
data_EQ = readdlm("EQ_events_all_info5_LaPalma_2021.dat")
3636
```
3737

@@ -155,4 +155,3 @@ The paraview statefile `/tutorials/LaPalma.pvsm` can be used to reproduce the fo
155155
---
156156

157157
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
158-

0 commit comments

Comments
 (0)