get_raster_bands

HSTB.kluster.gdal_helpers.get_raster_bands(raster_source)

Return a list of all band names in the given GDAL supported raster file

Parameters

raster_source (str) – absolute path to the raster file

Returns

list of raster bands

Return type

list