Skip to content

Commit

Permalink
Remove odc.dtools. libs #331
Browse files Browse the repository at this point in the history
whatever remaining functionality was there was moved to odc.algo.*, as this is
where all the Dask related experiments/utilities are now
  • Loading branch information
Kirill888 committed Aug 25, 2021
1 parent 440395e commit b38b2e4
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 70 deletions.
13 changes: 13 additions & 0 deletions libs/algo/odc/algo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@

from ._tiff import save_cog

from ._broadcast import (
pool_broadcast,
)

from ._dask_stream import (
dask_compute_stream,
seq_to_bags,
)


__all__ = (
"apply_numexpr",
"safe_div",
Expand Down Expand Up @@ -107,4 +117,7 @@
"colorize",
"xr_reproject",
"save_cog",
"pool_broadcast",
"dask_compute_stream",
"seq_to_bags",
)
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions libs/dtools/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions libs/dtools/odc/dtools/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion libs/dtools/odc/dtools/_version.py

This file was deleted.

3 changes: 0 additions & 3 deletions libs/dtools/pyproject.toml

This file was deleted.

26 changes: 0 additions & 26 deletions libs/dtools/setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions libs/dtools/setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion notebooks/dask-stream-processing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"from datacube import Datacube\n",
"from datacube.utils.rio import set_default_rio_config\n",
"from datacube.testutils.io import get_raster_info\n",
"from odc.dtools import dask_compute_stream\n",
"from odc.algo import dask_compute_stream\n",
"\n",
"\n",
"def load_grids(ds, grids):\n",
Expand Down

0 comments on commit b38b2e4

Please sign in to comment.