Skip to content

Improve log message when tiled image isn't displayed #316

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

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Jul 23, 2021

Original commit message:

When the TiledGeolocatedImage is panned to leave the canvas completely a
ValueError exception is raised to notify about this and also a WARNING log
message is generated (it can be discussed, whether this case is worth a
warning, but...). This commit enhances the wording and adds the
ValueError exception message to the log message in the hope to reduce
confusion about its meaning.

This is the first commit taken directly from the EUMETSAT gitlab that was contributed by their contractors. It makes sense and is a simple fix. This is a cherry-pick so it completely breaks commit history with their version, but that's going to have to happen if we only merge specific pieces (I'd like to merge all of it).

When the TiledGeolocatedImage is panned to leave the canvas completely a
ValueError exception is raised to notify about this and also a WARNING log
message is generated (it can be discussed, whether this case is worth a
warning, but...). This commit enhances the wording and adds the
ValueError exception message to the log message in the hope to reduce
confusion about its meaning.
@djhoese djhoese added the bug Something isn't working label Jul 23, 2021
@djhoese djhoese requested a review from rayg-ssec July 23, 2021 11:47
@djhoese djhoese self-assigned this Jul 23, 2021
@djhoese
Copy link
Member Author

djhoese commented Jul 23, 2021

@djhoese djhoese merged commit 58099fa into ssec:master Jul 29, 2021
@djhoese djhoese deleted the bugfix-viewable-area-warning branch July 29, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant