Open-EO / openeo-aggregator

openEO driver that combines multiple other drivers
https://open-eo.github.io/openeo-aggregator/
Apache License 2.0
1 stars 1 forks source link

unclear error "Collections across multiple backends" #153

Closed soxofaan closed 2 months ago

soxofaan commented 2 months ago

https://github.com/Open-EO/openeo-aggregator/blob/4e5e79ffd648c27bf76a628fdd41e12777d316f5/src/openeo_aggregator/backend.py#L326

This error is unclear to user, e.g.

Collections across multiple backends ({'cdse', 'terrascope'}): {'SENTINEL1_GRD', 'ESA_WORLDCEREAL_TEMPORARYCROPS', 'SENTINEL2_L2A', 'COPERNICUS_30', 'ESA_WORLDCEREAL_WINTERCEREALS', 'ESA_WORLDCEREAL_MAIZE'}

suggests that all these collections are available on both cdse and terrascope

while it's actually the other way around: there is not a single backend that provides each of the collections, which does not allow naive (single backend) dispatching