@@ -5,11 +5,32 @@ API Reference
55
66This page provides an auto-generated summary of Xoak's API.
77
8+ .. currentmodule :: xoak
9+
10+ Xarray NDPointIndex tree adapters
11+ ---------------------------------
12+
13+ The following classes may be used with :py:class: `xarray.indexes.NDPointIndex `, they can
14+ be passed as ``tree_adapter_cls `` option value via :py:meth: `xarray.Dataset.set_xindex ` or
15+ :py:meth: `xarray.DataArray.set_xindex `.
16+
17+ .. autosummary ::
18+ :toctree: _api_generated/
19+
20+ S2PointTreeAdapter
21+ SklearnBallTreeAdapter
22+ SklearnGeoBallTreeAdapter
23+ SklearnKDTreeAdapter
24+
825.. currentmodule :: xarray
926
1027Dataset.xoak
1128------------
1229
30+ .. warning ::
31+
32+ This API is deprecated and will be removed in a future version of Xoak.
33+
1334This accessor extends :py:class: `xarray.Dataset ` with all the methods and
1435properties listed below. Proper use of this accessor should be like:
1536
@@ -40,6 +61,10 @@ properties listed below. Proper use of this accessor should be like:
4061DataArray.xoak
4162--------------
4263
64+ .. warning ::
65+
66+ This API is deprecated and will be removed in a future version of Xoak.
67+
4368The accessor above is also registered for :py:class: `xarray.DataArray `.
4469
4570**Properties **
@@ -58,39 +83,3 @@ The accessor above is also registered for :py:class:`xarray.DataArray`.
5883
5984 DataArray.xoak.set_index
6085 DataArray.xoak.sel
61-
62- Indexes
63- -------
64-
65- .. currentmodule :: xoak
66-
67- .. autosummary ::
68- :toctree: _api_generated/
69-
70- IndexAdapter
71- IndexRegistry
72-
73- **Xoak's built-in index adapters **
74-
75- .. currentmodule :: xoak.index.scipy_adapters
76-
77- .. autosummary ::
78- :toctree: _api_generated/
79-
80- ScipyKDTreeAdapter
81-
82- .. currentmodule :: xoak.index.sklearn_adapters
83-
84- .. autosummary ::
85- :toctree: _api_generated/
86-
87- SklearnKDTreeAdapter
88- SklearnBallTreeAdapter
89- SklearnGeoBallTreeAdapter
90-
91- .. currentmodule :: xoak.index.s2_adapters
92-
93- .. autosummary ::
94- :toctree: _api_generated/
95-
96- S2PointIndexAdapter
0 commit comments