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 7062ba1 commit c4f2d6cCopy full SHA for c4f2d6c
openeo/metadata.py
@@ -567,11 +567,7 @@ def is_band_asset(asset: pystac.Asset) -> bool:
567
568
# Summaries is not a required field in a STAC collection, so also check the assets
569
for itm in collection.get_items():
570
- band_assets = {
571
- asset_id: asset
572
- for asset_id, asset in dict(sorted(itm.get_assets().items())).items()
573
- if is_band_asset(asset)
574
- }
+ band_assets = {asset_id: asset for asset_id, asset in itm.get_assets().items() if is_band_asset(asset)}
575
576
for asset in band_assets.values():
577
asset_bands = get_band_metadata(asset.extra_fields)
0 commit comments