natural-neighbor-interpolation icon indicating copy to clipboard operation
natural-neighbor-interpolation copied to clipboard

switching off extrapolation

Open anorak94 opened this issue 4 years ago • 1 comments

hey is there a way to switch off extrapolation

anorak94 avatar May 31 '20 22:05 anorak94

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.

johndgiese avatar May 31 '20 22:05 johndgiese