xoa.core.geo.GeoSelector.nearest#
- GeoSelector.nearest(lon, lat, max_dist=None, workers=1)[source]#
Find the indices of the points that are the closest to target points
- Parameters:
- Returns:
tuple – Arrays of indices along each axis, with a size equal to the number of targets, and -1 for targets without neighbor
array_like – Great circle distances, inf for targets without neighbor