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

Contents

geoutils.Raster.load#

Raster.load(bands=None, **kwargs)[source]#

Load the raster array from disk.

Parameters:
  • bands (int | list[int] | None) – Band(s) to load. Note that rasterio begins counting at 1, not 0.

  • kwargs (Any) – Optional keyword arguments sent to ‘_load_rio()’.

Raises:
Return type:

None