From 8f7a1b33edfcf6bfefc6cd1b25bae63b1d0f88b5 Mon Sep 17 00:00:00 2001 From: Joaquim Date: Sat, 10 Feb 2024 18:47:44 +0000 Subject: [PATCH] Extend cube tests --- test/test_cube.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_cube.jl b/test/test_cube.jl index aedce4525..9b776d2b7 100644 --- a/test/test_cube.jl +++ b/test/test_cube.jl @@ -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)