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.areaofinterest

Function for defining an area of interest using either a point and buffer or a vector file.

deafrica_tools.bandindices

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

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.load_africapolis

Loading OECD SWAC Africapolis data.

deafrica_tools.load_era5

Functions to retrieve ERA5 gridded climate data.

deafrica_tools.load_soil_moisture

deafrica_tools.load_wapor

deafrica_tools.methane_convention

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.waterbodies

Loading and processing DE Africa Water Bodies data.

Apps and widgets#

deafrica_tools app subpackages can be accessed through deafrica_tools.app.

deafrica_tools.app.deacoastlines

Digital Earth Africa Coastline widget, which can be used to interactively extract shoreline data using transects.

deafrica_tools.app.forestmonitoring

Functions for loading and interacting with Global Forest Change data in the forest monitoring notebook, inside the Real_world_examples folder.

deafrica_tools.app.geomedian

Geomedian widget: generates an interactive visualisation of the geomedian summary statistic.

deafrica_tools.app.imageexport

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

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: digitalearthafrica/deafrica-sandbox-notebooks#new