Is there a way to get the XY cordinates of a pixel based on the array index using the numpy/gdal. Basically I need to find out the centroid of a raster which is derived from an input raster by shifting the extents towards the interior...