Skip to content

Commit 5addf47

Browse files
authored
Fix typos (#10655)
1 parent e3359bc commit 5addf47

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/user-guide/data-structures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Alternatively you can also create a :py:class:`~xarray.DataTree` object from:
650650
- A dictionary mapping directory-like paths to either :py:class:`~xarray.DataTree` nodes or data, using :py:meth:`xarray.DataTree.from_dict()`,
651651
- A well formed netCDF or Zarr file on disk with :py:func:`~xarray.open_datatree()`. See :ref:`reading and writing files <io>`.
652652

653-
For data files with groups that do not not align see
653+
For data files with groups that do not align see
654654
:py:func:`xarray.open_groups` or target each group individually
655655
:py:func:`xarray.open_dataset(group='groupname') <xarray.open_dataset>`. For
656656
more information about coordinate alignment see :ref:`datatree-inheritance`

xarray/backends/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class BackendArray(NdimSizeLenMixin, indexing.ExplicitlyIndexed):
312312
__slots__ = ()
313313

314314
async def async_getitem(self, key: indexing.ExplicitIndexer) -> np.typing.ArrayLike:
315-
raise NotImplementedError("Backend does not not support asynchronous loading")
315+
raise NotImplementedError("Backend does not support asynchronous loading")
316316

317317
def get_duck_array(self, dtype: np.typing.DTypeLike = None):
318318
key = indexing.BasicIndexer((slice(None),) * self.ndim)

xarray/backends/scipy_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def prepare_variable(
278278

279279
data = variable.data
280280
# nb. this still creates a numpy array in all memory, even though we
281-
# don't write the data yet; scipy.io.netcdf does not not support
282-
# incremental writes.
281+
# don't write the data yet; scipy.io.netcdf does not support incremental
282+
# writes.
283283
if name not in self.ds.variables:
284284
self.ds.createVariable(name, data.dtype, variable.dims)
285285
scipy_var = self.ds.variables[name]

0 commit comments

Comments
 (0)