Skip to content

padding #25

@keewis

Description

@keewis

As part of #18, we need to pad the input array. #23 added the basic infrastructure and the constant mode.

Planned modes:

  • constant: fill padded cells with a constant value
  • edge: fill padded cells with the closest edge cell ("nearest neighbour interpolation")
  • linear_ramp: linear interpolation from the closest edge cell to a constant value
  • symmetric: reflect the values along the edge of the domain
  • local aggregation of the neighbourhood: mean, mode, max, min
  • scale aggregation: mean, 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_ramp needs the distance in rings, and symmetric needs to work with vector geometry to find the right cells.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions