Raster.bands or ds.rst.bands# abstract property RasterBase.bands: tuple[int, ...]# Band indexes loaded in memory if they are, otherwise on disk.