No transformation is visible after using SetGeoTransform
to the dataset opened from a *.tiff file:
ds = gdal.Open(filename, GA_ReadOnly) # open the raster data set
geo_transform = (0.3,10,30,-10,80,-1) # complete random/arbitrary numbers
ds.SetGeoTransform(geo_transform)
cols = ds.RasterXSize
rows = ds.RasterYSize
band = ds.GetRasterBand(1)
data = band.ReadAsArray(0,0,cols, rows)
With plotting, I get the same results as plotting without the transformation:
plt.imshow ( data, interpolation='nearest', vmin=0, cmap=plt.cm.gist_earth)
plt.savefig('question.png',dpi=75)
GDAL version 1.11.3