1D scipy.interpolate.griddata using method=nearest produces nans outside boundaries #4233
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.interpolate
Milestone
When the coordinates are 1D the nearest method produces nans instead of the closest values when outside boundaries. An example:
The last value printed is a NaN. Note that linear/cubic modes are expected to give NaNs outside the convex hull, but this should not be the case for the 'nearest' mode.
The text was updated successfully, but these errors were encountered: