Skip to content

remove ssim and update antimeridian test tif - #37

Merged
abradley60 merged 2 commits into
mainfrom
remove_ssim
Sep 2, 2026
Merged

abradley60 merged 2 commits into
mainfrom
remove_ssim

Conversation

@abradley60

Copy link
Copy Markdown
Collaborator

Updated the tif crossing the antimeridian. The new changes have introduced an extra pixel on the right side, geolocation of pixels is still consistent. Removed the SSIM test which could un-intentionally pass dems that aren't consistent.

updated file - https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/persistent/repositories/dem-handler/test-data/cop_glo30/data/Copernicus_DSM_COG_10_antimeridian.tif

import pytest
import rasterio
from numpy.testing import assert_allclose
from skimage.metrics import structural_similarity as ssim

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use skimage anywhere else in the codebase, or can it be removed from pyproject.toml and the conda env?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good eye. I have removed as that was the only reference.

@caitlinadams caitlinadams left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you!

@abradley60
abradley60 merged commit f961111 into main Sep 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants