-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
This is mentioned in the README, but I thought I'd open an issue that I can link to.
Currently, multi-band cogs are not supported by stackstac
.
>>> import pystac
>>> import stackstac
>>> item = pystac.read_file(
... "https://planetarycomputer.microsoft.com/api/stac/v1/collections/naip/items/fl_m_2608004_nw_17_060_20191215_20200113"
... )
>>> ds = stackstac.stack([item.to_dict()])
>>> ds.shape
(1, 1, 12240, 11040)
That COG has 4 bands, so the shape should be (1, 4, 12240, 11040)
.
I started a branch, but haven't had a chance to finish it off. I'll post here if / when I pick it up again.
kylebarron, geospatial-jeff, mukhery, gjoseph92, ste-goldstein and 3 more
Metadata
Metadata
Assignees
Labels
No labels