Skip to content

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