I basically have 2 arrays, one containing Lattitude values, one Longitude. What I want is to extract those that meet a certain requirement .
xLong = np.extract(abs(Long-requirement)<0.005,Long)
xLat = np.extract(abs(Lat-requirement)<0.005,Lat)
Lat and Long are numpy arrays.
However, I only want to get those coordinates that both lat/long meet the requirement and I'm not sure how to do it .
If it's possible, I need to use numpy functions since I'm looking for optimization as well. I know that I can iterate through all using a for and just add to different array but that would take a lot of time