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