pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
466 stars 168 forks source link

Switch to scipy's RBF method #209

Closed dnerini closed 3 years ago

dnerini commented 3 years ago

The rbfinterp2d method in utils.interpolate is, despite its name, a simple inverse distance weighting. To bring back some clarity, we should use scipy's Rbf method instead, while renaming the current method to something more appropriate.

To avoid changing the behavior of the LK optical flow, I also suggest that the default interpolation scheme should remain the same as it is now (just with a different name). This is especially important if scipy's implementation turns out to be significantly more computationally demanding.