Does the library support np.array of shape (h, w, 3)?
The multiscale representation would operate on the first two dimensions, leaving the 3rd intact.
I have tried the code
from xarray_multiscale import multiscale
from xarray_multiscale.reducers import windowed_mean
p = multiscale(array=data, reduction=windowed_mean, scale_factors=(2, 2, 1))
but it returns me an object of length 1, probably because there is no downscaling operation to perform on the last dimesion.
Does the library support
np.arrayof shape(h, w, 3)?The multiscale representation would operate on the first two dimensions, leaving the 3rd intact.
I have tried the code
but it returns me an object of length 1, probably because there is no downscaling operation to perform on the last dimesion.