Skip to content

Commit aff0823

Browse files
committed
adapted test of import_topo to region with more stable topography (Mainz)
1 parent 41c8e38 commit aff0823

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_GMT.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using Test
22
using GeophysicalModelGenerator, GMT
33

4-
Topo = import_topo(lat = [30, 31], lon = [50, 51])
5-
@test sum(Topo.depth.val) 2777.5705
4+
Topo = import_topo(lon = [8, 9], lat = [50, 51])
5+
@test sum(Topo.depth.val) 1076.7045 rtol = 1e-1
66

7-
Topo = import_topo([50, 51, 30, 31]);
8-
@test sum(Topo.depth.val) 2777.5705
7+
Topo = import_topo([8, 9, 50, 51]);
8+
@test sum(Topo.depth.val) 1076.7045 rtol = 1e-1
99

1010
test_fwd = import_GeoTIFF("test_files/length_fwd.tif", fieldname = :forward)
1111
@test maximum(test_fwd.fields.forward) 33.17775km

0 commit comments

Comments
 (0)