xrspatial.local.combine

xrspatial.local.combine(raster, data_vars=None)[source]

Combines raster dataset, a unique output value is assigned to each unique combination of raster values.

Parameters
  • raster (xarray.Dataset) – 2D or 3D labelled array.

  • data_vars (list of string) – Variable name list.

Returns

final_arr

Return type

xarray.DataArray

References