@@ -23,7 +23,7 @@ def test_xyz2grd_input_file():
23
23
"""
24
24
Run xyz2grd by passing in a filename.
25
25
"""
26
- output = xyz2grd (table = "@tut_ship.xyz" , spacing = 5 , region = [245 , 255 , 20 , 30 ])
26
+ output = xyz2grd (data = "@tut_ship.xyz" , spacing = 5 , region = [245 , 255 , 20 , 30 ])
27
27
assert isinstance (output , xr .DataArray )
28
28
assert output .gmt .registration == 0 # Gridline registration
29
29
assert output .gmt .gtype == 0 # Cartesian type
@@ -34,7 +34,7 @@ def test_xyz2grd_input_array(ship_data):
34
34
"""
35
35
Run xyz2grd by passing in a numpy array.
36
36
"""
37
- output = xyz2grd (table = np .array (ship_data ), spacing = 5 , region = [245 , 255 , 20 , 30 ])
37
+ output = xyz2grd (data = np .array (ship_data ), spacing = 5 , region = [245 , 255 , 20 , 30 ])
38
38
assert isinstance (output , xr .DataArray )
39
39
assert output .gmt .registration == 0 # Gridline registration
40
40
assert output .gmt .gtype == 0 # Cartesian type
@@ -45,7 +45,7 @@ def test_xyz2grd_input_df(ship_data):
45
45
"""
46
46
Run xyz2grd by passing in a data frame.
47
47
"""
48
- output = xyz2grd (table = ship_data , spacing = 5 , region = [245 , 255 , 20 , 30 ])
48
+ output = xyz2grd (data = ship_data , spacing = 5 , region = [245 , 255 , 20 , 30 ])
49
49
assert isinstance (output , xr .DataArray )
50
50
assert output .gmt .registration == 0 # Gridline registration
51
51
assert output .gmt .gtype == 0 # Cartesian type
@@ -58,7 +58,7 @@ def test_xyz2grd_input_array_file_out(ship_data):
58
58
"""
59
59
with GMTTempFile (suffix = ".nc" ) as tmpfile :
60
60
result = xyz2grd (
61
- table = np .array (ship_data ),
61
+ data = np .array (ship_data ),
62
62
spacing = 5 ,
63
63
region = [245 , 255 , 20 , 30 ],
64
64
outgrid = tmpfile .name ,
0 commit comments