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 error when no items overlap with given bounds #188

Merged
merged 2 commits into from
Nov 11, 2022
Merged

Conversation

gjoseph92
Copy link
Owner

If you specify bounds=, and a STAC item doesn't overlap with those bounds, we don't bother processing it. However, no items overlap and we skip all of them, we weren't figuring out other spatial parameters like resolution. This led to a TypeError at the end.

Closes #187

This way we still get the spatial parameters even if we skip all items
This will make it slightly clearer where things go wrong
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.

TypeError: cannot unpack non-iterable NoneType object on seemingly valid stac item list
1 participant