@@ -172,6 +172,7 @@ Xarray :py:meth:`~xarray.open_dataset`, and returns a boolean.
172
172
173
173
Decoders
174
174
^^^^^^^^
175
+
175
176
The decoders implement specific operations to transform data from on-disk
176
177
representation to Xarray representation.
177
178
@@ -199,6 +200,11 @@ performs the inverse transformation.
199
200
200
201
In the following an example on how to use the coders ``decode `` method:
201
202
203
+ .. ipython :: python
204
+ :suppress:
205
+
206
+ import xarray as xr
207
+
202
208
.. ipython :: python
203
209
204
210
var = xr.Variable(
@@ -239,7 +245,7 @@ interface only the boolean keywords related to the supported decoders.
239
245
.. _RST backend_registration :
240
246
241
247
How to register a backend
242
- +++++++++++++++++++++++++++
248
+ +++++++++++++++++++++++++
243
249
244
250
Define a new entrypoint in your ``setup.py `` (or ``setup.cfg ``) with:
245
251
@@ -280,8 +286,9 @@ See https://python-poetry.org/docs/pyproject/#plugins for more information on Po
280
286
281
287
.. _RST lazy_loading :
282
288
283
- How to support Lazy Loading
289
+ How to support lazy loading
284
290
+++++++++++++++++++++++++++
291
+
285
292
If you want to make your backend effective with big datasets, then you should
286
293
support lazy loading.
287
294
Basically, you shall replace the :py:class: `numpy.ndarray ` inside the
@@ -380,8 +387,9 @@ opening files, we therefore suggest to use the helper class provided by Xarray
380
387
381
388
.. _RST indexing :
382
389
383
- Indexing Examples
390
+ Indexing examples
384
391
^^^^^^^^^^^^^^^^^
392
+
385
393
**BASIC **
386
394
387
395
In the ``BASIC `` indexing support, numbers and slices are supported.
0 commit comments