RasterBand
RasterBand.transform
The dataset’s georeferencing transformation matrix.
This transform maps pixel row/column coordinates to coordinates in the dataset’s coordinate reference system.
rasterio.transform.Affine