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 83194d7 commit 73b81f9Copy full SHA for 73b81f9
openeo/metadata.py
@@ -439,7 +439,7 @@ def resample_spatial(
439
# Find and replace spatial dimensions
440
spatial_indices = [i for i, d in enumerate(dimensions) if isinstance(d, SpatialDimension)]
441
if len(spatial_indices) != 2:
442
- raise MetadataException(f"Expected two spatial resolutions but found {spatial_indices=}")
+ raise MetadataException(f"Expected two spatial dimensions but found {spatial_indices=}")
443
assert len(resolution) == 2
444
for i, r in zip(spatial_indices, resolution):
445
dim: SpatialDimension = dimensions[i]
0 commit comments