semantique.processor.arrays.Array.stack_spatial_dims

semantique.processor.arrays.Array.stack_spatial_dims#

Array.stack_spatial_dims()[source]#

Stack spatial X and Y dimensions into a single spatial dimension.

Returns:

xarray.DataArray – The input array with a multi-index spatial dimension.