Access pixel of raster data in Python using GDAL
from osgeo import gdal
rds = gdal.Open("/gdata/geotiff_file.tif")
band = rds.GetRasterBand(1)
band.DataTyp
from osgeo import gdal
data = gdal.Open(path)
band = data.GetRasterBand(1)
band.GetMetadata('IMAGE_STRUCTURE')