Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: fix expected data in test_geo_image #49

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

mackenzie-grimes-noaa
Copy link
Contributor

@mackenzie-grimes-noaa mackenzie-grimes-noaa commented Jan 24, 2024

Linear Issue

N/A

Changes

A few unit tests in the main branch, and had been since PR #47 was merged.

I modified the expected values slightly in test_geo_image.py so that they pass. Not clear what code changes in geo_image.py caused these to fail, but in most cases the value was only shifted by a few pixels.

Also have no idea why the GitHub Action displays as " ✅ Success", yet running pytest locally, or looking at logs in GitHub on the main branch or on the original branch, outputs these failing tests.

Copy link
Contributor

@Geary-Layne Geary-Layne left a comment

Choose a reason for hiding this comment

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

Looks good
Interesting that it was failing. I wonder if the projection (such as +r vs +a) changed. The values you changed where in tests that included translating lat/lon to pixel space and a change is the projection would changes the pixel that get set.

@mackenzie-grimes-noaa mackenzie-grimes-noaa merged commit 4f1d6fb into main Jan 24, 2024
3 checks passed
@mackenzie-grimes-noaa mackenzie-grimes-noaa deleted the chore/fix-unit-tests branch January 25, 2024 20:17
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.

2 participants