girs.rast.raster.Raster.get_nodata

Raster.get_nodata(band_number=1)

Return nodata or list of nodata

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

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