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: README.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
@@ -33,7 +33,7 @@ Some of the key features are:
33
33
- Create initial model setups for the 3D geodynamic code [LaMEM](https://github.com/UniMainzGeo/LaMEM).
34
34
- Import LaMEM timesteps.
35
35
36
-
All data is transformed into either a `GeoData` or a `UTMData` structure which contains info about `longitude/latitude/depth`, `ew/ns/depth` coordinates along with an arbitrary number of scalar/vector datasets, respectively. All data can be exported to Paraview with the `Write_Paraview` routine, which transfers the data to a `ParaviewData` structure (that contains Cartesian Earth-Centered-Earth-Fixed (ECEF) `x/y/z` coordinates, used for plotting)
36
+
All data is transformed into either a `GeoData` or a `UTMData` structure which contains info about `longitude/latitude/depth`, `ew/ns/depth` coordinates along with an arbitrary number of scalar/vector datasets, respectively. All data can be exported to Paraview with the `write_Paraview` routine, which transfers the data to a `ParaviewData` structure (that contains Cartesian Earth-Centered-Earth-Fixed (ECEF) `x/y/z` coordinates, used for plotting)
37
37
38
38
## Usage
39
39
The best way to learn how to use this is to install the package (see below) and look at the tutorials in the [manual](https://juliageodynamics.github.io/GeophysicalModelGenerator.jl/dev/).
Copy file name to clipboardExpand all lines: docs/src/man/Tutorial_AlpineData.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,10 @@ The data is available in different resolutions; see [here](http://gmt.soest.hawa
36
36
37
37
If you have issues with loading the topography with `GMT`, there is also the alternative to download the data yourself and import it using `Rasters.jl`.
38
38
39
-
We can now export this data to a `VTK` format so that we can visualize it with `Paraview`. To do so, `GMG` provides the function `Write_Paraview`:
39
+
We can now export this data to a `VTK` format so that we can visualize it with `Paraview`. To do so, `GMG` provides the function `write_Paraview`:
40
40
41
41
```julia
42
-
Write_Paraview(Topo, "Topography_Alps")
42
+
write_Paraview(Topo, "Topography_Alps")
43
43
```
44
44
45
45
Also, if you want to save this data for later use in julia, you can save it as `*.jld2` file using the function `save_GMG`:
@@ -156,7 +156,7 @@ for iunit = 1:length(units)
156
156
#for later checking, we can now save the original point data as a VTK file:
#Now we create a KDTree for an effective nearest neighbor determination;
162
162
kdtree =KDTree([lon_tmp';lat_tmp']; leafsize =10)
@@ -187,7 +187,7 @@ for iunit = 1:length(units)
187
187
#Finally, we can now export that data to VTK and save a `jld2` file using the `save_GMG` routine
188
188
Data_Moho = GeophysicalModelGenerator.GeoData(Lon, Lat, Depth, (MohoDepth=Depth,PointDist=Dist),Data_attribs)
189
189
filename ="Mrozek_Moho_Grid_"* units[iunit]
190
-
Write_Paraview(Data_Moho, filename)
190
+
write_Paraview(Data_Moho, filename)
191
191
save_GMG(filename,Topo)
192
192
193
193
end
@@ -218,7 +218,7 @@ nothing #hide
218
218
As before, we can export this dataset to `VTK` and also save it as a `jld2` file (as we are now exporting point data, we have to use the option `PointsData=true`):
Copy file name to clipboardExpand all lines: docs/src/man/Tutorial_Basic.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This is a so-called `GeoData` object, which is a 3D grid of seismic velocities a
34
34
We can save this in `VTK` format, which is a widely used format that can for exampke be read by the 3D open-source visualization tool [Paraview](https://www.paraview.org/):
35
35
36
36
```julia
37
-
Write_Paraview(Tomo_Alps_full,"Tomo_Alps_full")
37
+
write_Paraview(Tomo_Alps_full,"Tomo_Alps_full")
38
38
```
39
39
40
40
````
@@ -62,7 +62,7 @@ Different than the 3D tomographic model, the topography has size 1 for the last
62
62
We can write this to disk as well
63
63
64
64
```julia
65
-
Write_Paraview(Topo_Alps,"Topo_Alps")
65
+
write_Paraview(Topo_Alps,"Topo_Alps")
66
66
```
67
67
68
68
````
@@ -81,7 +81,7 @@ It is thus advantageous to cut out a piece of the dataset that we are interested
Copy file name to clipboardExpand all lines: docs/src/man/movies.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
@@ -6,7 +6,7 @@ The first one takes `*.png` images generated with the `Save Animation` option in
6
6
movie_from_images
7
7
```
8
8
9
-
The other one creates `*.pvd` files that can be saved with the `pvd=...` optional option in `Write_Paraview`, such that you can animate temporal data in paraview (yif you're happy you can save the result as images and use `movies_from_pics`). See the corresponding tutorial on how to generate `*.pvd` files.
9
+
The other one creates `*.pvd` files that can be saved with the `pvd=...` optional option in `write_Paraview`, such that you can animate temporal data in paraview (yif you're happy you can save the result as images and use `movies_from_pics`). See the corresponding tutorial on how to generate `*.pvd` files.
0 commit comments