Skip to content
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

add missing 0 in band name when needed #25

Closed
vincentsarago opened this issue Oct 2, 2020 · 0 comments · Fixed by #26
Closed

add missing 0 in band name when needed #25

vincentsarago opened this issue Oct 2, 2020 · 0 comments · Fixed by #26

Comments

@vincentsarago
Copy link
Member

band definition between satellite is different. For Landsat it can be B1 while for Sentinel2 it should be B01. I think we can ease the task for the user and accept apply some magic within the _get_band_url method

def _get_band_url(self, band: str) -> str:
"""Validate band name and return band's url."""
if band not in self.bands:

cc @kylebarron

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 a pull request may close this issue.

1 participant