Skip to content

Index bands by common_name when available? #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gjoseph92 opened this issue Mar 13, 2021 · 1 comment
Open

Index bands by common_name when available? #3

gjoseph92 opened this issue Mar 13, 2021 · 1 comment

Comments

@gjoseph92
Copy link
Owner

If the common_name coordinate exists, it might be nice to have the xarray's band dimension indexed by that by default (so you can do sel(band="red"). Or, it might be annoying to have the inconsistency?

@RichardScottOZ
Copy link
Contributor

Possibly annoying, yes - you could have it be a yes/no option perhaps?

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

No branches or pull requests

2 participants