Commit a19d9ee
authored
Add GPU and Dask support for Focal tools: mean, apply, hotspots (#238)
* refactor
* move kernel creation to convolution.py
* import fix
* convolve_2d: remove padding, remove use_cuda param
* convolve_2d: add cupy tests
* nan edge effect
* refactor
* kernel: add tests
* convolve_2d: dask numpy case
* convolve_2d: dask cupy case, raise not implemented
* convolution: test dask cupy not implemented
* focal mean: refactor
* focal mean: dask numpy case, nan edge effect
* focal mean: check if exclude nan
* focal mean: cupy case
* focal mean: dask cupy case not implemented
* focal apply: numpy case with test
* focal apply: dask numpy case
* focal apply: gpu cupy support
* focal hotspots: refactor
* focal hotspots: use raster.data for calculation
* focal hotspots: refactor
* focal hotspots: cupy case
* focal hotspots: dask numpy case
* focal hotspots: dask cupy case not implemented
* update readme
* flake8 fix
* flake8 fix
* hotspots: avoid early compute global_std
* correct typo1 parent 42998ef commit a19d9ee
File tree
5 files changed
+1087
-657
lines changed- examples/user_guide
- xrspatial
- tests
5 files changed
+1087
-657
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
File mode changed.
0 commit comments