Replies: 2 comments 1 reply
-
Is this fixed by your PR? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I finally created an issue based on the above observations: #7665 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following might be a bug in interpolate_na().
(If it is intended behaviour, I do not understand it).
Consider this array:
Here is the corresponding plot:![BeforeInterpolation](https://user-images.githubusercontent.com/42680748/220660424-5acece78-03ae-4395-8039-39dc172be36b.jpg)
Now, we interpolate the three rows along the "column" dimension:
The results look surprising:![AfterInterpolation](https://user-images.githubusercontent.com/42680748/220660417-229ffaed-41c5-400e-a8f6-9cf171be1a6c.jpg)
For example, compare row 2 and 0: In row 0, column 0 a value of 2 was interpolated, which is not apparent in row 2. Those two rows differ only in the value of 3 at column 6, the opposite end of the array!
For me, it almost seems like periodic boundary conditions are applied, althoug this is not mentioned anywhere.
With linear interpolation, I get a similar behaviour. For linear interpolation, it is unclear which interpolation method is chosen internally, see issue #6899 .
Can anyone explain this behaviour or should I open an Issue?
Best,
Paul
Beta Was this translation helpful? Give feedback.
All reactions