Skip to content

Commit 3bb48e7

Browse files
committed
Merge branch 'main' into bk-joss-paper
2 parents 1bd4ada + 6b6d07d commit 3bb48e7

File tree

89 files changed

+71846
-709
lines changed

Some content is hidden

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

89 files changed

+71846
-709
lines changed

.github/workflows/CI.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
branches:
77
- main
88
tags: '*'
9+
10+
# Cancel redundant CI tests automatically
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
915
jobs:
1016
run_tests:
1117
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -16,16 +22,30 @@ jobs:
1622
version:
1723
- '1.9'
1824
- '1.10'
25+
- '1.11'
1926
- 'nightly'
2027
os:
2128
- ubuntu-latest
22-
- macOS-latest
29+
- macos-13
2330
- windows-latest
2431
arch:
2532
- x64
33+
include:
34+
- os: macOS-latest
35+
arch: aarch64
36+
version: '1.9'
37+
- os: macOS-latest
38+
arch: aarch64
39+
version: '1.10'
40+
- os: macOS-latest
41+
arch: aarch64
42+
version: '1.11'
43+
- os: macOS-latest
44+
arch: aarch64
45+
version: 'nightly'
2646
steps:
2747
- uses: actions/checkout@v4
28-
- uses: julia-actions/setup-julia@v1
48+
- uses: julia-actions/setup-julia@v2
2949
with:
3050
version: ${{ matrix.version }}
3151
arch: ${{ matrix.arch }}

.github/workflows/Documenter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33-
- uses: julia-actions/setup-julia@v1
33+
- uses: julia-actions/setup-julia@v2
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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ tutorial/test.tiff
2222
*.jld2
2323
*.tiff
2424
*.nc
25+
!/test/test_files/ISCTest.xml

.typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
MOR = "MOR"
33
dum = "dum"
44
Shepard = "Shepard"
5+
arange = "arange"
6+
iy = "iy"
7+
nin = "nin"
58

69
[files]
710
extend-exclude = ["tutorials/*.pvsm"]

Project.toml

Lines changed: 20 additions & 6 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.0"
4+
version = "0.7.10"
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,51 +20,64 @@ 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]
35+
Chmy = "33a72cf0-4690-46d7-b987-06506c2248b9"
3236
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
3337
GMT = "5752ebe1-31b9-557e-87aa-f909b540aa54"
38+
GridapGmsh = "3025c34a-b394-11e9-2a55-3fee550c04c8"
3439

3540
[extensions]
41+
Chmy_utils = "Chmy"
3642
GLMakie_Visualisation = "GLMakie"
3743
GMT_utils = "GMT"
44+
Gmsh_utils = "GridapGmsh"
3845

3946
[compat]
47+
Chmy = "0.1.20"
4048
Colors = "0.9 - 0.12"
4149
Downloads = "1"
4250
FFMPEG = "0.4"
4351
FileIO = "1"
44-
GLMakie = "0.8, 0.9"
45-
GMT = "1"
46-
GeoParams = "0.2 - 0.5"
52+
GDAL_jll = "300.900.0 - 301.901.0"
53+
GLMakie = "0.8, 0.9, 0.10"
54+
GMT = "1.0 - 1.14"
55+
GeoParams = "0.2 - 0.6"
4756
Geodesy = "1"
4857
GeometryBasics = "0.1 - 0.4"
4958
Glob = "1.2 - 1.3"
59+
GridapGmsh = "0.5 - 0.7"
5060
ImageIO = "0.1 - 0.6"
5161
Interpolations = "0.14, 0.15"
62+
JLD2 = "0.4, 0.5"
5263
LightXML = "0.8, 0.9"
53-
JLD2 = "0.4"
5464
MeshIO = "0.1 - 0.4"
5565
NearestNeighbors = "0.2 - 0.4"
66+
NCDatasets = "0.14"
5667
Parameters = "0.9 - 0.12"
5768
SpecialFunctions = "1.0, 2"
5869
StaticArrays = "1"
70+
WhereTheWaterFlows = "0.10, 0.11"
5971
WriteVTK = "1"
6072
julia = "1.9"
6173

6274
[extras]
75+
Chmy = "33a72cf0-4690-46d7-b987-06506c2248b9"
6376
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
6477
GMT = "5752ebe1-31b9-557e-87aa-f909b540aa54"
78+
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
6579
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
6680
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6781

6882
[targets]
69-
test = ["Test", "GMT", "StableRNGs"]
83+
test = ["Test", "GMT", "StableRNGs", "GridapGmsh", "Chmy","KernelAbstractions"]

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
Creating consistent 3D images of geophysical and geological datasets and turning that into an input model for geodynamic simulations is often challenging. The aim of this package is to help with this, by providing a number of routines to easily import data and create a consistent 3D visualisation from it in the VTK-toolkit format, which can for example be viewed with [Paraview](https://www.paraview.org). In addition, we provide a range of tools that helps to generate input models to perform geodynamic simulations and import the results of such simulations back into julia.
1212

13+
A short summary of the package and its features are given below. For a detailed description of the package and to learn how to use it, have a look at the [documentation](https://juliageodynamics.github.io/GeophysicalModelGenerator.jl/dev/).
14+
1315
![README_img](./docs/src/assets/img/Readme_pic.png)
1416
### Contents
1517
- [Geophysical Model Generator](#geophysical-model-generator)
@@ -41,17 +43,17 @@ The best way to learn how to use this is to install the package (see below) and
4143
## Installation
4244
First, you need to install julia on your machine. We recommend to use the binaries from [https://julialang.org](https://julialang.org).
4345
Next, start julia and switch to the julia package manager using `]`, after which you can add the package.
44-
```julia
46+
```julia-repl
4547
julia> ]
46-
(@v1.10) pkg> add GeophysicalModelGenerator
48+
(@1.6) pkg> add GeophysicalModelGenerator
4749
```
4850
You can test whether it works on your system with
49-
```julia
51+
```julia-repl
5052
julia> ]
51-
(@v1.10) pkg> test GeophysicalModelGenerator
53+
(@1.6) pkg> test GeophysicalModelGenerator
5254
```
5355
and use it with
54-
```julia
56+
```julia-repl
5557
julia> using GeophysicalModelGenerator
5658
```
5759

SECURITY.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Security Policy
2+
3+
We take security issues seriously. We appreciate all efforts
4+
to responsibly disclose any security issues and will make every
5+
effort to acknowledge contributions.
6+
7+
8+
## Supported Versions
9+
10+
The current stable release following the interpretation of
11+
[semantic versioning (SemVer)](https://julialang.github.io/Pkg.jl/dev/compatibility/#Version-specifier-format-1)
12+
used in the Julia ecosystem is supported with security updates.
13+
14+
15+
## Reporting a Vulnerability
16+
17+
To report a security issue, please use the GitHub Security Advisory
18+
["Report a Vulnerability"](https://github.com/JuliaGeodynamics/GeophysicalModelGenerator.jl/security/advisories/new)
19+
tab.
20+
21+
We will send a response indicating the next steps in handling your report.
22+
After the initial reply to your report, we will keep you informed of the
23+
progress towards a fix and full announcement, and may ask for additional
24+
information or guidance.
25+
26+
Please report security bugs in third-party modules directly to the person
27+
or team maintaining the module.
28+
29+
Public notifications of vulnerabilities will be shared in community channels
30+
such as Slack.

docs/make.jl

Lines changed: 6 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",
@@ -120,7 +122,10 @@ makedocs(;
120122
"Gravity code" => "man/gravity_code.md",
121123
"Numerical model setups" => "man/geodynamic_setups.md",
122124
"LaMEM" => "man/lamem.md",
125+
"pTatin" => "man/ptatin.md",
126+
"Chmy" => "man/Tutorial_Chmy_MPI.md",
123127
"Profile Processing" => "man/profile_processing.md",
128+
"Gmsh" => "man/gmsh.md",
124129
"Movies" => "man/movies.md"
125130
],
126131
"List of functions" => "man/listfunctions.md",
454 KB
Loading

0 commit comments

Comments
 (0)