Skip to content

Commit

Permalink
Remove reference to datasetid in tests.utils.
Browse files Browse the repository at this point in the history
Remove reference to DatasetID in tests.utils.make_a_fake_scene
documentation.
  • Loading branch information
gerritholl committed Sep 1, 2020
1 parent 280d863 commit 2ecd435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satpy/tests/utils.py
Expand Up @@ -385,7 +385,7 @@ def make_fake_scene(content_dict, daskify=False, area=True,
Create a fake Scene object from fake data. Data are provided in
the ``content_dict`` argument. In ``content_dict``, keys should be
strings or DatasetID/DataID, and values may be either numpy.ndarray
strings or DataID, and values may be either numpy.ndarray
or xarray.DataArray, in either case with exactly two dimensions.
The function will convert each of the numpy.ndarray objects into
an xarray.DataArray and assign those as datasets to a Scene object.
Expand All @@ -402,7 +402,7 @@ def make_fake_scene(content_dict, daskify=False, area=True,
Args:
content_dict (Mapping): Mapping where keys correspond to objects
accepted by ``Scene.__setitem__``, i.e. strings or DatasetID,
accepted by ``Scene.__setitem__``, i.e. strings or DataID,
and values may be either ``numpy.ndarray`` or
``xarray.DataArray``.
daskify (bool): optional, to use dask when converting
Expand Down

0 comments on commit 2ecd435

Please sign in to comment.