Merge cubes from different collections

Hello I would like to know if there is any way to merge two datacubes from different collections. I am trying to merge two datacubes with the same spatial and temporal extent but I get this error “OpenEO batch job failed: KeyError(‘geometries’)”.

I am trying to merge the Sentinel2_L1C and the Landsat8-9_L1.

The end goal is to get a datacube that contains Sentinel 2 and Landsat 8 acquisitions
Is it possible ?

Job ID : vito-j-e20b687e48d0489c85a442e5d1135e96

Thanks for answering !

BEHLOUL Selim

Hi Selim,
yes it is possible, but you get an error because you set:
“sample_by_feature”: true
without specifying geometries. I would just remove that option.

You may also want to ensure that band names in collections do not overlap, but in your example this is not the case.

best regards,
Jeroen

1 Like