DE Africa Tools Package

deafrica_tools is a Python package contains several modules with functions to load, analyse and output data from Digital Earth Africa. It is automatically installed in the Digital Earth Africa Sandbox environment. More information on installing this package can be found on the Tools section of the GitHub repository.

Core modules

deafrica_tools.bandindices

Functions for computing remote sensing band indices on Digital Earth Africa data.

deafrica_tools.classification

Machine learning functions for classification of remote sensing data contained in an Open Data Cube instance.

deafrica_tools.coastal

Coastal analyses on Digital Earth Africa data.

deafrica_tools.dask

Functions for simplifying the creation of a local dask cluster.

deafrica_tools.datahandling

Functions for loading and handling Digital Earth Africa data.

deafrica_tools.load_era5

Functions to retrieve ERA5 gridded climate data.

deafrica_tools.plotting

Functions for plotting Digital Earth Africa data.

deafrica_tools.spatial

Spatial analyses functions for Digital Earth Africa data.

deafrica_tools.temporal

Functions for calculating per-pixel temporal summary statistics on a timeseries stored in a xarray.DataArray.

deafrica_tools.wetlands

Functions for working with the Wetlands Insight Tool (WIT)

Apps and widgets

deafrica_tools app subpackages can be accessed through deafrica_tools.app.

deafrica_tools.app.changefilmstrips

Loading and interacting with data in the change filmstrips notebook, inside the Real_world_examples folder.

deafrica_tools.app.crophealth

Functions for loading and interacting with data in the crop health notebook,

deafrica_tools.app.imageexport

Create an interactive map for selecting satellite imagery and exporting image files.

deafrica_tools.app.wetlandsinsighttool

Wetlands insight tool widget, which can be used to run an interactive version of the wetlands insight tool.

deafrica_tools.app.widgetconstructors

Functions for easily defining widgets in the context of DE Africa notebooks.

License

The code in this module is licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0).

Digital Earth Africa data is licensed under the Creative Commons by Attribution 4.0 license (https://creativecommons.org/licenses/by/4.0/).

Contact

If you need assistance, please post a question on the Open Data Cube Slack channel (http://slack.opendatacube.org/) or on the GIS Stack Exchange (https://gis.stackexchange.com/questions/ask?tags=open-data-cube) using the open-data-cube tag (you can view previously asked questions here: https://gis.stackexchange.com/questions/tagged/open-data-cube).

If you would like to report an issue with this script, you can file one on Github: https://github.com/digitalearthafrica/deafrica-sandbox-notebooks/issues/new