hydromt.gis_utils.affine_to_coords#
- hydromt.gis_utils.affine_to_coords(transform, shape)[source]#
Returs a raster axis with pixel center coordinates based on the transform.
- Parameters:
transform (affine transform) – Two dimensional affine transform for 2D linear mapping
shape (tuple of int) – The height, width of the raster.
- Returns:
x, y coordinate arrays
- Return type:
tuple of ndarray of float