As part of #18, we need to pad the input array. #23 added the basic infrastructure and the constant mode.
Planned modes:
The remaining cells all need a way to find the nearest neighbour from the list of computed neighbours. In addition to that, linear_ramp needs the distance in rings, and symmetric needs to work with vector geometry to find the right cells.
As part of #18, we need to pad the input array. #23 added the basic infrastructure and the
constantmode.Planned modes:
constant: fill padded cells with a constant valueedge: fill padded cells with the closest edge cell ("nearest neighbour interpolation")linear_ramp: linear interpolation from the closest edge cell to a constant valuesymmetric: reflect the values along the edge of the domainmean,mode,max,minmean,mode,max,min(this refers to the second mode from padding #25 (comment), I just can't find a better name for this)The remaining cells all need a way to find the nearest neighbour from the list of computed neighbours. In addition to that,
linear_rampneeds the distance in rings, andsymmetricneeds to work with vector geometry to find the right cells.