girs.rast.raster.Raster.get_band_count

Raster.get_band_count()

Return the number of bands

Returns:number of bands
Return type:int