Skip to content

Commit 70a489d

Browse files
angus-gCKehl
authored andcommitted
Add a method to pre-seed curvilinear indices using kdtree
This adds a dependency on the pykdtree library, which seems to be about ~10x faster than scipy's cKDTree (a drop-in replacement). The initial index search is only implemented for curvilinear grids, as the benefit may not be as pronounced vs. construction time for rectilinear grids. Closes #947.
1 parent 237d85b commit 70a489d

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

environment_py3_osx.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ dependencies:
2929
- pytest
3030
- nbval
3131
- scikit-learn
32+
- pykdtree

environment_py3_win.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ dependencies:
2626
- ipykernel<5.0
2727
- pytest
2828
- nbval
29+
- pykdtree

environment_py3p6_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ dependencies:
2929
- pytest
3030
- nbval
3131
- scikit-learn
32+
- pykdtree

0 commit comments

Comments
 (0)