We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cdc61 commit 367ecf8Copy full SHA for 367ecf8
openeo/metadata.py
@@ -894,7 +894,7 @@ def bands_from_stac_item(
894
elif "bands" in item.properties:
895
return _BandList(self._band_from_common_bands_metadata(b) for b in item.properties["bands"])
896
elif consult_collection and (parent_collection := item.get_collection()) is not None:
897
- return self.bands_from_stac_collection(collection=parent_collection)
+ return self.bands_from_stac_collection(collection=parent_collection, consult_items=False)
898
elif consult_assets:
899
# TODO: filter on asset roles?
900
bands = _BandList.merge(
0 commit comments