Skip to content
cbur24 edited this page Feb 3, 2020 · 10 revisions

Digital Earth Africa Notebooks wiki

Useful links

  • To see what data is available, use:
    • DE Africa Explorer for browsing the data that is available within DE Africa's Sandbox environment
  • Explore DE Africa products on DE Africa Maps
    • "Explore data" > "Analysis Ready Data > Surface Reflectance and Radar Backscatter"
    • "Explore data" > "Derived Data > Water and Vegetation"
    • "Explore data" > "Ancillary Data > Digital Elevation Models"
  • Join the Open Data Cube slack. This is a friendly and active community of Open Data Cube users who are always happy to help answer any questions about DE Africa, Open Data Cube, xarray and Python!

Getting started on the DE Africa Sandbox

  1. Sign up to the DE Africa Sandbox JupyterLab environment using your email and log in . This may take ~5 minutes if this is the first time signing in to the Sandbox.
  2. One you are logged in to the Sandbox, you will be presented with a selection of ready-made Jupyter notebooks in the Sandbox's built-in file browser which will walk you through getting started with DE Africa. Browse to find a notebook you want to run (e.g. beginners_guide/01_Jupyter_notebooks.ipynb and double-click to launch it.
  3. Follow one of the options in Advanced: contributing back to start writing your own notebooks or contribute back to the repository using git or Github.

Advanced: contributing back

  1. The previous steps allow you to load and run existing notebooks. To be able to write your own analyses and contribute back to the deafrica-sandbox-notebooks repository, follow this guide to get started with git:

    • DE Africa notebooks using git: Git is a version-control software designed to help track changes to files and collaborate with multiple users on a project. Using git is the recommended workflow for working with deafrica-sandbox-notebooks as it makes it easy to stay up to date with the latest versions of functions and code, and makes it impossible to lose your work.
  2. When writing notebooks for your own analyses, copy and rename the DE Africa Notebooks template notebook. This template has been developed to make it easier to create new notebooks that meet all pull request checklist requirements. The template notebook contains a simple structure and useful general advice on writing and formatting Jupyter notebooks.

  3. When you're happy with the notebook, push it to Github and create a pull request.