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 219561b commit 01e06b8Copy full SHA for 01e06b8
openeo/metadata.py
@@ -283,7 +283,8 @@ def __eq__(self, o: Any) -> bool:
283
return isinstance(o, type(self)) and self._dimensions == o._dimensions
284
285
def __repr__(self) -> str:
286
- return f"{self.__class__.__name__}(dimensions={self._dimensions!r})"
+ bands = self.band_names if self.has_band_dimension() else "no bands dimension"
287
+ return f"{self.__class__.__name__}({bands} - {self.dimension_names()})"
288
289
def __str__(self) -> str:
290
bands = self.band_names if self.has_band_dimension() else "no bands dimension"
0 commit comments