Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Mar 28, 2024
2 parents 4772e51 + cd296ce commit f6ad30a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/juliasetup_LaPalma.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ adding Plots.jl plotting extensions for LaMEM

Load the topography, choose a projection point & project the topography to cartesian coordinates:
```julia
julia> Topo = ImportTopo(lon = [-18.7, -17.1], lat=[28.0, 29.2], file="@earth_relief_03s.grd");
julia> Topo = import_topo(lon = [-18.7, -17.1], lat=[28.0, 29.2], file="@earth_relief_03s.grd");
julia> proj = ProjectionPoint(Lon=-17.84, Lat=28.56);
julia> Topo_cart = Convert2CartData(Topo, proj)
julia> Topo_cart = convert2CartData(Topo, proj)
CartData
size : (1921, 1441, 1)
x ϵ [ -86.09445705828863 : 73.67229892155609]
Expand All @@ -27,7 +27,7 @@ This shows the dimensions of our domain in kilometers. The issue is that this pr

```julia
julia> Topo_LaMEM = CartData(xyz_grid(-70:.2:70,-60:.2:70,0));
julia> Topo_LaMEM = ProjectCartData(Topo_LaMEM, Topo, proj)
julia> Topo_LaMEM = project_CartData(Topo_LaMEM, Topo, proj)
```

We can plot it with:
Expand Down

0 comments on commit f6ad30a

Please sign in to comment.