Basic function to create the window paramers as used by GDAL RasterIO.
rasterio0(
src_offset,
src_dim,
out_dim = src_dim,
resample = "NearestNeighbour"
)
numeric vector of values specifying offset, source dimension, output dimension
Resampling algorithm is one of 'NearestNeighbour' (default), 'Average', 'Bilinear', 'Cubic', 'CubicSpline', 'Gauss', 'Lanczos', 'Mode', but more may be available given the version of GDAL in use.