The input array to resample
The width of the input rasters
The height of the input rasters
The desired width of the output rasters
The desired height of the output rasters
The number of samples per pixel for pixel interleaved data
Optionalmethod: string = 'nearest'The desired resampling method
The resampled rasters
Resample the pixel interleaved input array using the selected resampling method.