Skip to content

Commit

Permalink
allow for different bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Oct 6, 2023
1 parent c69bff6 commit c448f00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
)
# TODO: the EPSG:<horiz>+<vert> format is not supported in rio 1.3.3, gdal 3.5.3, proj 9.1.0, but is supported
# in rio 1.3.6, gdal 3.6.2, proj 9.1.1. The exact version where support begins (proj=9.1.1?) should be set in
# setup.py
# setup.py. Then the multithreaded overview building bug should be fixed in gdal 3.8.
Binary file modified tests/data/odm/odm_dem/dsm.tif
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_ortho_dem_interp(legacy_ngi_ortho_cli_str: str, tmp_path: Path, runner:
with rio.open(ref_ortho_files[0], 'r') as ref_im, rio.open(test_ortho_files[0], 'r') as test_im:
ref_array = ref_im.read(masked=True)
test_array = test_im.read(masked=True)
assert np.any(test_array.mask != ref_array.mask)
assert test_im.bounds == pytest.approx(ref_im.bounds, abs=ref_im.res[0])
assert test_array.std() != ref_array.std()


Expand Down

0 comments on commit c448f00

Please sign in to comment.