Skip to content

Fix STAC band parsing for cube dimensions - #103

Merged
emmanuelmathot merged 1 commit into
mainfrom
fix/stac-band-parser-cube-dimensions
Sep 4, 2026
Merged

Fix STAC band parsing for cube dimensions#103
emmanuelmathot merged 1 commit into
mainfrom
fix/stac-band-parser-cube-dimensions

Conversation

@emmanuelmathot

Copy link
Copy Markdown
Contributor

Backends publish band info in different STAC shapes. The EOPF explorer backend uses summaries.bands (rich per-band objects), but other openEO backends (e.g. openeo.ds.io) only expose bands via the datacube extension's cube:dimensions - a "bands"-type dimension with a bare list of band-name strings (e.g. "B04_20m"). extractBandsFromStac only checked summaries.bands, so the configuration tab showed "The parser could not find suitable bands" for any collection using the latter shape, even though the data was there.

Confirmed against the live collection at https://openeo.ds.io/collections/sentinel-2-l2a, which has no summaries.bands but does have a bands-type cube:dimensions entry.

Backends publish band info in different STAC shapes. The EOPF explorer
backend uses summaries.bands (rich per-band objects), but other openEO
backends (e.g. openeo.ds.io) only expose bands via the datacube
extension's cube:dimensions - a "bands"-type dimension with a bare list
of band-name strings (e.g. "B04_20m"). extractBandsFromStac only
checked summaries.bands, so the configuration tab showed "The parser
could not find suitable bands" for any collection using the latter
shape, even though the data was there.

Confirmed against the live collection at
https://openeo.ds.io/collections/sentinel-2-l2a, which has no
summaries.bands but does have a bands-type cube:dimensions entry.
@emmanuelmathot

Copy link
Copy Markdown
Contributor Author

@danielfdsilva this is important to have this fix for the V1

@danielfdsilva
danielfdsilva changed the base branch from main to v1 August 18, 2026 13:56
@danielfdsilva
danielfdsilva changed the base branch from v1 to main August 18, 2026 13:56
@emmanuelmathot
emmanuelmathot merged commit 8ef23d2 into main Sep 4, 2026
3 checks passed
@emmanuelmathot
emmanuelmathot deleted the fix/stac-band-parser-cube-dimensions branch September 4, 2026 10:03
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.

2 participants