Skip to content

Fix SAFE/S2GM band selection picking up auxiliary rasters (AOT/WVP/TCI). - #7

Merged
simon-donike merged 5 commits into
ESAOpenSR:devfrom
thhomas:fix/safe-spectral-band-selection
Oct 22, 2026
Merged

simon-donike merged 5 commits into
ESAOpenSR:devfrom
thhomas:fix/safe-spectral-band-selection

Conversation

@thhomas

@thhomas thhomas commented Sep 30, 2026

Copy link
Copy Markdown

SAFE/S2GM band discovery was treating auxiliary rasters like AOT, WVP, and TCI as if they were spectral bands, inflating the band count and corrupting lr_file_dict. The fix filters *.jp2 files to only names starting with B followed by alphanumerics (e.g. B02, B8A).

@simon-donike
simon-donike changed the base branch from master to dev October 22, 2026 12:17
@simon-donike
simon-donike merged commit 60cf0db into ESAOpenSR:dev Oct 22, 2026
@simon-donike

Copy link
Copy Markdown
Member

Thanks @thhomas - this will be included in the next release.

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