diff --git a/src/async_geotiff/_array.py b/src/async_geotiff/_array.py index 4324d61..907fa8f 100644 --- a/src/async_geotiff/_array.py +++ b/src/async_geotiff/_array.py @@ -149,3 +149,8 @@ def crs(self) -> CRS: def nodata(self) -> float | None: """The nodata value for the array, if any.""" return self._geotiff.nodata + + @property + def shape(self) -> tuple[int, int, int]: + """The shape of the data array as (bands, height, width).""" + return self.data.shape