intake / intake-stac

Intake interface to STAC data catalogs
https://intake-stac.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
108 stars 25 forks source link

Implement the to_dask() function #142

Open edwardchalstrey1 opened 2 years ago

edwardchalstrey1 commented 2 years ago

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 commented 2 years ago

@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 https://github.com/intake/intake-stac/pull/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 commented 2 years ago

Great, thanks @scottyhq :)