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

Implement the to_dask() function #142

Open
edwardchalstrey1 opened this issue Jul 28, 2022 · 2 comments
Open

Implement the to_dask() function #142

edwardchalstrey1 opened this issue Jul 28, 2022 · 2 comments

Comments

@edwardchalstrey1
Copy link

I'm attempting to use the intake_stac.StacCollection class in a similar way to other non-stac intake catalogs, but I noticed it doesn't yet have a to_dask() function implemented:

Screenshot 2022-07-28 at 10 17 04

@scottyhq
Copy link
Collaborator

@edwardchalstrey1 this library only implements .to_dask() for Items not Collections.

You are trying to load the entire sentinel-s2-l2a collection into a single dask-backed Xarray dataset, which would require some sophisticated alignment and possibly reprojection.

Development efforts down that road stalled in #75, but if that workflow is what you are interested in you might try https://github.com/gjoseph92/stackstac or https://github.com/opendatacube/odc-stac

@edwardchalstrey1
Copy link
Author

Great, thanks @scottyhq :)

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

2 participants