Skip to content

load_stac + resample_spatial incompatibility #737

Closed
@soxofaan

Description

@soxofaan

minimal reproduction example:

import openeo
connection = openeo.connect(url="openeo.dataspace.copernicus.eu")

cube = connection.load_stac("https://stac.openeo.vito.be/collections/wenr_features")
cube.resample_spatial(projection=3035, resolution=10.0)

gives

MetadataException: Expected two spatial dimensions but found spatial_indices=[]

Current load_stac implementation only detects:

>>> cube.metadata.dimension_names()
['bands', 't']

and resample_spatial expects spatial dimensions to work on

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions