Open alex-s-gardner opened 5 months ago
What behavior would you expect if there are NaN
values?
I would expect something similar to the behavior of when using Linear()... , if any point included within the footprint of the interpolation kernel (5x5 for Cubic) is a NaN then I would expect interpolations to return a NaN. I did not expect the existence of a single NaN in a 100x100 matrix to create NaNs everywhere
I'm seeing issues when using Cubic interpoaltion of data that contains NaN values. Here's what I see:
itp has no NaN values
add a NaN value
now all itp values are NaNs
change interp to Linear
now itp contains only a single NaN