Skip to content

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

Open
thhomas wants to merge 1 commit into
ESAOpenSR:masterfrom
thhomas:fix/safe-spectral-band-selection
Open

thhomas wants to merge 1 commit into
ESAOpenSR:masterfrom
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).

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.

1 participant