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

No fill_value=None; use fill value out-of-bounds #115

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

gjoseph92
Copy link
Owner

We were previously always returning NaN arrays for chunks that were entirely out of bounds, or had no asset. Now, we respect the user-specified fill_value and dtype. This means fill_value=None is no longer supported, which makes things more straightforward anyway.

cc @TomAugspurger
Closes #113

We were previously always returning NaN arrays for chunks that were entirely out of bounds, or had no asset. Now, we respect the user-specified `fill_value` and dtype. This means `fill_value=None` is no longer supported, which makes things more straightforward anyway.
@gjoseph92 gjoseph92 merged commit b1172de into main Dec 21, 2021
@gjoseph92 gjoseph92 deleted the out-of-bounds-fill-value branch December 21, 2021 17:45
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.

fetch_raster_window should use fill_value
2 participants