Skip to content

Commit

Permalink
Extend cube tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joa-quim committed Feb 10, 2024
1 parent f932755 commit 8f7a1b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_cube.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ xyzw2cube("test_cube_ascii_colmaj.dat")[:,:,1] == [10.0 10.0 10.0; 10.0 10.0
xyzw2cube("test_cube_ascii_rowlevmaj.dat")[:,:,2] == [20.0 20.0 20.0; 20.0 20.0 20.0]
xyzw2cube("test_cube_ascii_collevmaj.dat")[:,:,2] == [20.0 20.0 20.0; 20.0 20.0 20.0]
xyzw2cube(gmtread("test_cube_ascii_rowmaj.dat"))[:,:,1] == [10.0 10.0 10.0; 10.0 10.0 10.0]

cubeplot(cube, title="T annual", colorbar=("xlabel=bbb","ylabel=yy"))
cubeplot(cube, inset=(3,3))
cubeplot(cube, top="@earth_relief_05m", inset=(3,3))
cubeplot(cube, top="@earth_relief_05m", topshade=true)

0 comments on commit 8f7a1b3

Please sign in to comment.