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

Fix an issue with non-integer GDAL sources. #565

Merged
merged 1 commit into from
Mar 11, 2021
Merged

Conversation

manthey
Copy link
Member

@manthey manthey commented Mar 11, 2021

If a GDAL source had non-integer data, the band maxim/min calculation would fail. Specifically, we were adding the maximum range of the integer type as a value at the end of the list of data for that frame's bands. If the dtype is not an integer type, this fails.

If a GDAL source had non-integer data, the band maxim/min calculation
would fail.  Specifically, we were adding the maximum range of the
integer type as a value at the end of the list of data for that frame's
bands.  If the dtype is not an integer type, this fails.
@manthey manthey merged commit 5ceb84d into master Mar 11, 2021
@manthey manthey deleted the fix-noninteger-bands branch March 11, 2021 20:02
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.

1 participant