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

hard-coded dimension name in ImageCollectionClient.band() #26

Closed
lforesta opened this issue Oct 24, 2019 · 1 comment
Closed

hard-coded dimension name in ImageCollectionClient.band() #26

lforesta opened this issue Oct 24, 2019 · 1 comment

Comments

@lforesta
Copy link

The band() method (which is a reduce over the spectral dimension) hard-codes "spectral_bands" as the dimension name for the spectral dimension of a collection. However, this info should be read from the collection metadata of the backend, since it may vary.
An option would be to send a request to /collections/collection_name when the load_collection() method is used in the client and store the collection metadata locally (temporarily, just for the current session).

Related to #25

@lforesta
Copy link
Author

This issue is for the client, not the driver, sorry for the confusion. New issue here: Open-EO/openeo-python-client#93

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

1 participant