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

Handle empty input better #248

Open
gjoseph92 opened this issue Jun 6, 2024 · 0 comments
Open

Handle empty input better #248

gjoseph92 opened this issue Jun 6, 2024 · 0 comments

Comments

@gjoseph92
Copy link
Owner

When passing an empty list of items, things can fail in various ways. Making this work correctly can be handy if you're looping over a bunch of AOIs; sometimes, there might be no data there, but it would be nice to not have to add conditionals to handle this.

The trickiest part will be when bands aren't passed explicitly (almost always). We probably have to error in that case. Even if item_assets were defined, we'd still not have access to the parent Collection object without fetching it (which we are loathe to do; no network reqs should happen during stacking, though maybe that rule is worth giving up for this?).

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

No branches or pull requests

1 participant