ds.rst.shape or Raster.shape# abstract property RasterBase.shape: tuple[int, int]# Shape (i.e., height, width) of the raster in pixels.