Skip to content

Commit 01a2875

Browse files
committed
update various tutorials
1 parent a9c0f48 commit 01a2875

File tree

7 files changed

+10707
-10695
lines changed

7 files changed

+10707
-10695
lines changed
182 KB
Loading

docs/src/man/Tutorial_MohoTopo_Spada.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,7 @@ The result is shown here, where the previous points are colored white and are a
130130
![DataPoints_Moho_surface](../assets/img/Tutorial_MohoSpada_Surface_Paraview.png)
131131

132132
## 5. Julia script
133-
The full julia script that does it all is given [here](https://github.com/JuliaGeodynamics/GeophysicalModelGenerator.jl/tree/main/tutorials/Tutorial_MohoTopo_Spada.jl). You need to be in the same directory as in the data file, after which you can run it in julia with
134-
135-
```julia
136-
#include("Tutorial_MohoTopo_Spada.jl")
137-
```
133+
The full julia script that does it all is given [here](https://github.com/JuliaGeodynamics/GeophysicalModelGenerator.jl/tree/main/tutorials/Tutorial_MohoTopo_Spada.jl).
138134

139135
---
140136

docs/src/man/datastructures.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
The main data structure used in GeophysicalModelGenerator.jl is `GeoData`, which contains info about the `longitude`,`latitude`, and `depth` of a data set, as well as several data sets itself.
44
We also provide a `UTMData`, which is essentially the same but with UTM coordinates, and a `CartData` structure, which has Cartesian coordinates in kilometers (as used in many geodynamic codes). If one wishes to transfer `GeoData` to `CartData`, one needs to provide a `ProjectionPoint`.
5-
For plotting, we transfer this into the `ParaviewData` structure, which has cartesian coordinates around the center of the Earth. We employ the `wgs84` reference ellipsoid as provided by the [Geodesy.jl](https://github.com/JuliaGeo/Geodesy.jl) package to perform this transformation.
5+
For plotting, we transfer this into the `ParaviewData` structure, which has cartesian coordinates centered around the center of the Earth. We employ the `wgs84` reference ellipsoid as provided by the [Geodesy.jl](https://github.com/JuliaGeo/Geodesy.jl) package to perform this transformation.
66

77
```@docs
8+
GeoData
9+
CartData
810
UTMData
911
ParaviewData
10-
CartData
1112
LonLatDepthGrid
1213
XYZGrid
1314
ProjectionPoint
14-
```
15-
16-
17-
GeoData
15+
```

docs/src/man/tutorial_GMT_Topography.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,26 @@ GeoData
2323
depth ϵ [ -3.8725 km : 4.2495 km]
2424
fields: (:Topography,)
2525
```
26-
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.
26+
The data is available in different resolutions:
27+
| Dataset | Resolution | Description |
28+
|:---------------- | ------------ | ----------------------------------------------------------- |
29+
| "@earth\_relief\_01s" | 1 arc sec | SRTM tiles (14297 tiles, land only, 60S-60N) [NASA/USGS] |
30+
| "@earth\_relief\_03s" | 3 arc sec | SRTM tiles (14297 tiles, land only, 60S-60N) [NASA/USGS] |
31+
| "@earth\_relief\_15s" | 15 arc sec | SRTM15+ [David Sandwell, SIO/UCSD] |
32+
| "@earth\_relief\_30s" | 30 arc sec | SRTM30+ [Becker et al., 2009, SIO/UCSD] |
33+
| "@earth\_relief\_01m" | 1 arc min | ETOPO1 Ice surface [NEIC/NOAA] |
34+
| "@earth\_relief\_02m" | 2 arc min | ETOPO2v2 Ice surface [NEIC/NOAA] |
35+
| "@earth\_relief\_03m" | 3 arc min | ETOPO1 after Gaussian spherical filtering (5.6 km fullwidth)|
36+
| "@earth\_relief\_04m" | 4 arc min | ETOPO1 after Gaussian spherical filtering (7.5 km fullwidth)|
37+
| "@earth\_relief\_05m" | 5 arc min | ETOPO1 after Gaussian spherical filtering (9 km fullwidth) |
38+
| "@earth\_relief\_06m" | 6 arc min | ETOPO1 after Gaussia30n spherical filtering (10 km fullwidth) |
39+
| "@earth\_relief\_10m" | 10 arc min | ETOPO1 after Gaussian spherical filtering (18 km fullwidth) |
40+
| "@earth\_relief\_15m" | 20 arc min | ETOPO1 after Gaussian spherical filtering (28 km fullwidth) |
41+
| "@earth\_relief\_20m" | 20 arc min | ETOPO1 after Gaussian spherical filtering (37 km fullwidth) |
42+
| "@earth\_relief\_30m" | 30 arc min | ETOPO1 after Gaussian spherical filtering (55 km fullwidth) |
43+
| "@earth\_relief\_60m" | 60 arc min | ETOPO1 after Gaussian spherical filtering (111 km fullwidth)|
44+
45+
Generally, it is advisable to not use the largest resolution if you have a large area.
2746

2847
#### 2. Save
2948
Transforming this to Paraview is a piece of cake:

0 commit comments

Comments
 (0)