Invalid band name/index 'VV'


Why does the SENTINEL1_GRD collection provide an error regarding bands when “” is applied?

connection = openeo.connect("").authenticate_oidc()

datacube = connection.load_collection(
  spatial_extent={"west": 16.06, "south": 48.06, "east": 16.65, "north": 48.35},
  temporal_extent=["2017-03-01", "2017-04-01"],
  bands=["VV", "VH"]

ValueError : Invalid band name/index ‘VV’. Valid names: []

Thanks for reporting

apparently this is because of an inconsistency in band order across backends:

the aggregator ( tries to merge this part of the metadata by picking the common prefix of both lists, which is empty in this case

I’ll try to come up with a quick fix

1 Like

fix is in production:
aggregator should now advertise bands VV VH HV HH for SENTINEL1_GRD

I am trying to test this but I am getting this error (tried to run it multiple times)

ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

on what statement does that fail? on openeo.connect("") or .authenticate_oidc() or something else?