⚠️ 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.__floordiv__

geoutils.Raster.__floordiv__#

Raster.__floordiv__(other)[source]#

Floor division of two rasters, or a raster and a numpy array, or a raster and single number.

If other is a Raster, it must have the same shape, transform and crs as self. If other is a np.ndarray, it must have the same shape. Otherwise, other must be a single number.

Return type:

TypeVar(RasterType, bound= Raster)