natural-neighbor-interpolation
natural-neighbor-interpolation copied to clipboard
switching off extrapolation
hey is there a way to switch off extrapolation
There is not currently a graceful way to do this. In our demo we manually do this by setting values that are nan
in the linear interpolation to nan
:
https://github.com/innolitics/natural-neighbor-interpolation/blob/master/demo/demo.py#L45
Of course, this is a poor solution in general.