We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52bd26 commit 69bce92Copy full SHA for 69bce92
openeo_driver/datacube.py
@@ -652,6 +652,13 @@ def get_cube(self) -> Optional[xarray.DataArray]:
652
def get_ids(self) -> Optional[Sequence]:
653
return self._geometries.get("id")
654
655
+ def get_band_values(self,key) -> Optional[Sequence]:
656
+ """
657
+ TODO: is this now the DIM_PROPERTIES or DIM_BANDS?
658
+ Returns values for a specific band, other dimensions (e.g. time, geometry) are flattened.
659
660
+ return self._geometries.get(key)
661
+
662
def get_xarray_cube_basics(self) -> Tuple[tuple, dict]:
663
"""Get initial dims/coords for xarray DataArray construction"""
664
dims = (self.DIM_GEOMETRY,)
0 commit comments