Skip to content

Commit 73b81f9

Browse files
committed
fixup! Issue #690/#712 fix band order bug
1 parent 83194d7 commit 73b81f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def resample_spatial(
439439
# Find and replace spatial dimensions
440440
spatial_indices = [i for i, d in enumerate(dimensions) if isinstance(d, SpatialDimension)]
441441
if len(spatial_indices) != 2:
442-
raise MetadataException(f"Expected two spatial resolutions but found {spatial_indices=}")
442+
raise MetadataException(f"Expected two spatial dimensions but found {spatial_indices=}")
443443
assert len(resolution) == 2
444444
for i, r in zip(spatial_indices, resolution):
445445
dim: SpatialDimension = dimensions[i]

0 commit comments

Comments
 (0)