Closed blaylockbk closed 2 months ago
Latest timing for the two methods
Note: This is assummeing the BallTree object is cached.
This PR is nearly ready for the real world. I can't wait to share it with everyone and let them try this new feature, which I think will be really helpful for many people.
I updated the, now deprecated, nearest_points
accessor (using cartopy transform and metpy method) to take advantage of the advanced xarray selection. It's performance greatly improved, but is still not as effective as the BallTree algorithm.
Implement the BallTree algorithm for nearest neighbor searches to extract data from specific locations.
herbie.nearest_points_legacy
for now.BallTree nearest neighbor lookup is much faster than what I had cooked up before...