girs.rast.raster.Raster.get_band_data_type

Raster.get_band_data_type(band_number=1)

Return data type or list of data types

If band_number is ‘all’ or a list of band numbers, return a list with one data type for each band. If band_number is a number, return the data type

Parameters:band_number (int or list of int) – ‘all’, band number or list of band numbers
Returns:data type or list of data types
Return type:int or list of int