from osgeo import gdal


def read_raster():
    raster = gdal.Open("sample_data\SatImage\SatImage.tif")
    number_band = raster.RasterCount
    xsize = raster.RasterXSize
    ysize = raster.RasterYSize

    print(number_band, xsize, ysize)


if __name__ == "__main__":
    read_raster()

44b1010fb4544b0c07b6fc9d24ed3c2799075756
<mask token>

<mask token>


def read_raster():
    raster = gdal.Open('sample_data\\SatImage\\SatImage.tif')
    number_band = raster.RasterCount
    xsize = raster.RasterXSize
    ysize = raster.RasterYSize
    print(number_band, xsize, ysize)


<mask token>

<mask token>


def read_raster():
    raster = gdal.Open('sample_data\\SatImage\\SatImage.tif')
    number_band = raster.RasterCount
    xsize = raster.RasterXSize
    ysize = raster.RasterYSize
    print(number_band, xsize, ysize)


if __name__ == '__main__':
    read_raster()

from osgeo import gdal


def read_raster():
    raster = gdal.Open('sample_data\\SatImage\\SatImage.tif')
    number_band = raster.RasterCount
    xsize = raster.RasterXSize
    ysize = raster.RasterYSize
    print(number_band, xsize, ysize)


if __name__ == '__main__':
    read_raster()

from osgeo import gdal


def read_raster():
    raster = gdal.Open("sample_data\SatImage\SatImage.tif")
    number_band = raster.RasterCount
    xsize = raster.RasterXSize
    ysize = raster.RasterYSize

    print(number_band, xsize, ysize)


if __name__ == "__main__":
    read_raster()
