@@ -6,7 +6,7 @@ How to add a new backend
6
6
Adding a new backend for read support to Xarray does not require
7
7
to integrate any code in Xarray; all you need to do is:
8
8
9
- - Create a class that inherits from Xarray :py:class: `~xarray.backends.common. BackendEntrypoint `
9
+ - Create a class that inherits from Xarray :py:class: `~xarray.backends.BackendEntrypoint `
10
10
and implements the method ``open_dataset `` see :ref: `RST backend_entrypoint `
11
11
12
12
- Declare this class as an external plugin in your ``setup.py ``, see :ref: `RST backend_registration `
@@ -161,8 +161,8 @@ guess_can_open
161
161
``guess_can_open `` is used to identify the proper engine to open your data
162
162
file automatically in case the engine is not specified explicitly. If you are
163
163
not interested in supporting this feature, you can skip this step since
164
- :py:class: `~xarray.backends.common. BackendEntrypoint ` already provides a
165
- default :py:meth: `~xarray.backend.common .BackendEntrypoint.guess_can_open `
164
+ :py:class: `~xarray.backends.BackendEntrypoint ` already provides a
165
+ default :py:meth: `~xarray.backends .BackendEntrypoint.guess_can_open `
166
166
that always returns ``False ``.
167
167
168
168
Backend ``guess_can_open `` takes as input the ``filename_or_obj `` parameter of
@@ -299,7 +299,7 @@ Where:
299
299
- :py:class: `~xarray.core.indexing.LazilyIndexedArray ` is a class
300
300
provided by Xarray that manages the lazy loading.
301
301
- ``MyBackendArray `` shall be implemented by the backend and shall inherit
302
- from :py:class: `~xarray.backends.common. BackendArray `.
302
+ from :py:class: `~xarray.backends.BackendArray `.
303
303
304
304
BackendArray subclassing
305
305
^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments