The input arrays 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
Optionalmethod: string = 'nearest'The desired resampling method
The resampled rasters
Resample the input arrays using the selected resampling method.