![](https://secure.gravatar.com/avatar/79468257fa4d20f718452d2db0a96d91.jpg?s=120&d=mm&r=g)
This is clearly a duplicate of your previous post (How can I search the mailing list?). I think this is a basic task for many geoscientists. I did not make the effort to understand Simon Clift smarter approach. But I already implemented a quick solution using a switch for the two use cases. May I submit a pull request? On Wed, Sep 18, 2019 at 12:47 PM Dieter Werthmüller <Dieter@werthmuller.org> wrote:
Edouard,
I think this thread touched on that a bit: https://mail.python.org/pipermail/scipy-dev/2019-May/023540.html
So Simon Clift might have already some functional code for that which could serve as a starting point.
I personally would be certainly interested in the functionality.
Dieter
On 18/09/2019 11:50, Edouard Goudenhoofdt wrote:
Dear scipy developers,
One could use /scipy.interpolate.RegularGridInterpolator/ at different times with different values but the same source grid and target points. Currently this would recompute the indices each time the function is called. I would like to add the possibility to provide the target points at initialisation and the values when calling the object.
Best regards,
Edouard Goudenhoofdt //
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@python.org https://mail.python.org/mailman/listinfo/scipy-dev
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@python.org https://mail.python.org/mailman/listinfo/scipy-dev