⚠️ Our 0.1 release refactored several early-development functions for long-term stability, to update your code see here. ⚠️
Future changes will come with deprecation warnings! 🙂

geoutils.Raster.georeferenced_grid_equal

geoutils.Raster.georeferenced_grid_equal#

Raster.georeferenced_grid_equal(raster)[source]#

Check that raster shape, geotransform and CRS are equal.

Parameters:

raster (TypeVar(RasterType, bound= Raster)) – Another raster.

Return type:

bool

Returns:

Whether the two objects have the same georeferenced grid.