Skip to content

Commit d32fccf

Browse files
[test_drivers.test_geo_grid] new function
1 parent b3d7e3e commit d32fccf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_drivers.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,12 @@ def test_geometry(testdata, dataset):
301301
scene = pyroSAR.identify(testdata[dataset])
302302
with scene.geometry() as geom:
303303
assert isinstance(geom, Vector)
304+
305+
306+
def test_geo_grid(tmpdir, testdata):
307+
scene = pyroSAR.identify(testdata['s1'])
308+
with scene.geo_grid() as geom:
309+
assert isinstance(geom, Vector)
310+
out = tmpdir / "geogrid.gpkg"
311+
scene.geo_grid(outname=str(out))
312+
assert out.exists()

0 commit comments

Comments
 (0)