https://docs.scipy.org/doc/scipy/tutorial/interpolate/interp_transition_guide.html details how to replicate interp2d, in both scattered and grid modes