@@ -3312,24 +3312,21 @@ def map_blocks(
33123312
33133313 This function cannot add a new chunked dimension.
33143314
3315- obj: DataArray, Dataset
3316- Passed to the function as its first argument, one block at a time.
33173315 args: Sequence
33183316 Passed to func after unpacking and subsetting any xarray objects by blocks.
3319- xarray objects in args must be aligned with obj , otherwise an error is raised.
3317+ xarray objects in args must be aligned with this object , otherwise an error is raised.
33203318 kwargs: Mapping
33213319 Passed verbatim to func after unpacking. xarray objects, if any, will not be
33223320 subset to blocks. Passing dask collections in kwargs is not allowed.
33233321 template: (optional) DataArray, Dataset
33243322 xarray object representing the final result after compute is called. If not provided,
3325- the function will be first run on mocked-up data, that looks like ``obj`` but
3323+ the function will be first run on mocked-up data, that looks like this object but
33263324 has sizes 0, to determine properties of the returned object such as dtype,
33273325 variable names, attributes, new dimensions and new indexes (if any).
33283326 ``template`` must be provided if the function changes the size of existing dimensions.
33293327 When provided, ``attrs`` on variables in `template` are copied over to the result. Any
33303328 ``attrs`` set by ``func`` will be ignored.
33313329
3332-
33333330 Returns
33343331 -------
33353332 A single DataArray or Dataset with dask backend, reassembled from the outputs of the
@@ -3341,7 +3338,7 @@ def map_blocks(
33413338 subset to each block. In the more common case where ``func`` can work on numpy arrays, it is
33423339 recommended to use ``apply_ufunc``.
33433340
3344- If none of the variables in ``obj`` is backed by dask arrays, calling this function is
3341+ If none of the variables in this object is backed by dask arrays, calling this function is
33453342 equivalent to calling ``func(obj, *args, **kwargs)``.
33463343
33473344 See Also
0 commit comments