I have 2 numpy arrays, array_1
containing the source xy information and array_2
containing a long list of xy coordinates from a grid. My task is to add the nearest xy pair of array_2
to array_1
.
After matching I am then going to take all points within a radius of the closest point and alter the grid value. (i.e. grid value = 1, if within radius grid value = 2)
I am a beginner in python and a first time poster. Thank you for any assistance