You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/man/Tutorial_AlpineData.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,10 +126,10 @@ units = unique(tag) #get different units
126
126
We will use these units later to save the Moho data separately for each tectonic unit.
127
127
128
128
### 2.2 Converting the data to a `GMG` dataset
129
-
To convert this data to a `GMG` dataset, we now have to interpolate it to a regular grid. You can generate the respective grid with the `GMG` function `LonLatDepthGrid`
129
+
To convert this data to a `GMG` dataset, we now have to interpolate it to a regular grid. You can generate the respective grid with the `GMG` function `lonlatdepthGrid`
@@ -209,7 +209,7 @@ First we need do define a `ProjectionPoint` around which we project the data
209
209
```julia
210
210
proj =ProjectionPoint(Lon=12.0,Lat =43)
211
211
212
-
Topo_cart =Convert2CartData(Topo_Alps, proj)
212
+
Topo_cart =convert2CartData(Topo_Alps, proj)
213
213
```
214
214
215
215
````
@@ -225,7 +225,7 @@ CartData
225
225
And do the same with the tomography:
226
226
227
227
```julia
228
-
Tomo_cart =Convert2CartData(Tomo_Alps, proj)
228
+
Tomo_cart =convert2CartData(Tomo_Alps, proj)
229
229
```
230
230
231
231
````
@@ -259,7 +259,7 @@ Yet, because of the curvature of the Earth, the resulting 3D model is not strict
259
259
This can be achieved in a relatively straightforward manner, by creating a new 3D dataset that is slightly within the curved boundaries of the projected data set:
Once this is done you can convert the topographic data to the cartesian reference frame
72
72
73
73
```julia
74
-
EQ_cart =Convert2CartData(data_all_EQ, proj);
75
-
Topo_cart =Convert2CartData(Topo, proj)
74
+
EQ_cart =convert2CartData(data_all_EQ, proj);
75
+
Topo_cart =convert2CartData(Topo, proj)
76
76
```
77
77
78
78
It is important to realize that the cartesian coordinates of the topographic grid is no longer strictly orthogonal after this conversion. You don't notice that in the current example, as the model domain is rather small.
79
79
In other cases, however, this is quite substantial (e.g., India-Asia collision zone).
80
80
LaMEM needs an orthogonal grid of topography, which we can create with:
Copy file name to clipboardExpand all lines: docs/src/man/Tutorial_MohoTopo_Spada.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ data_Moho_combined = GeoData(lon, lat, depth, (MohoDepth=depth*km,))
108
108
Next, we define a regular lon/lat grid
109
109
110
110
```julia
111
-
Lon, Lat, Depth =LonLatDepthGrid(4.1:0.1:11.9,42.5:.1:49,-30km)
111
+
Lon, Lat, Depth =lonlatdepthGrid(4.1:0.1:11.9,42.5:.1:49,-30km)
112
112
```
113
113
114
114
We will use a nearest neighbor interpolation method to fit a surface through the data, which has the advantage that it will take the discontinuities into account.
0 commit comments