<div dir="ltr"><div>This is clearly a duplicate of your previous post (How can I search the mailing list?).</div><div>I think this is a basic task for many geoscientists.<br></div><div></div><div>I did not make the effort to understand Simon Clift smarter approach.</div><div>But I already implemented a quick solution using a switch for the two use cases.</div><div>May I submit a pull request?<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 18, 2019 at 12:47 PM Dieter Werthmüller <<a href="mailto:Dieter@werthmuller.org">Dieter@werthmuller.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Edouard,<br>
<br>
I think this thread touched on that a bit:<br>
<a href="https://mail.python.org/pipermail/scipy-dev/2019-May/023540.html" rel="noreferrer" target="_blank">https://mail.python.org/pipermail/scipy-dev/2019-May/023540.html</a><br>
<br>
So Simon Clift might have already some functional code for that which<br>
could serve as a starting point.<br>
<br>
I personally would be certainly interested in the functionality.<br>
<br>
Dieter<br>
<br>
<br>
On 18/09/2019 11:50, Edouard Goudenhoofdt wrote:<br>
> Dear scipy developers,<br>
> <br>
> One could use /scipy.interpolate.RegularGridInterpolator/ at different<br>
> times with different values but the same source grid and target points.<br>
> Currently this would recompute the indices each time the function is called.<br>
> I would like to add the possibility to provide the target points at<br>
> initialisation and the values when calling the object.<br>
> <br>
> Best regards,<br>
> <br>
> Edouard Goudenhoofdt<br>
> //<br>
> <br>
> _______________________________________________<br>
> SciPy-Dev mailing list<br>
> <a href="mailto:SciPy-Dev@python.org" target="_blank">SciPy-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-dev</a><br>
> <br>
_______________________________________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@python.org" target="_blank">SciPy-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-dev</a><br>
</blockquote></div>