-
Notifications
You must be signed in to change notification settings - Fork 128
Create a DEA Notebook
This guide will show you how to create a new DEA Notebook and contribute it to the dea-notebooks repository. The DEA Notebooks Template will be the basis of your page. You don't need to install anything to your computer; however, you must have a basic understanding of git and Github.
-
Log in or sign up to the DEA Sandbox.
The sandbox will contain the Notebooks from the
stable
branch of thedea-notebooks
repository. Learn more about the DEA Sandbox.⚠️ WarningDon't create your Notebook in any of these folders because your changes will not be saved! -
Click the blue "+" (New Launcher) button in the top-left corner to open the Launcher then click to open the Terminal. This is a Linux terminal for your Sandbox environment.
-
Navigate to the home directory then clone the 'dea-notebooks' repository's
develop
branch into a new folder calleddev
. Then, enter the newdev
folder.cd ~ git clone --depth 1 --branch develop https://github.com/GeoscienceAustralia/dea-notebooks.git dev cd dev
-
Create a new git branch with a name of your choice.
git checkout -b your-branch # Change this to a relevant branch name
-
Enter the folder where you want to put your new Notebook, then copy the DEA Notebooks Template into this folder with a filename of your choice. (The filename will display in the URL of the page, so make sure it is relevant and not too long.)
cd How_to_guides # Enter one of the folders cp ../DEA_notebooks_template.ipynb Your_page.ipynb # Change 'Your_page' to a relevant filename
-
In the sidebar, double-click the new page to open it in a new tab.
-
You can now edit the page in the interactive editor. The template will guide you on how to write each section of the content. You must regularly commit your changes and eventually make a pull request. Learn how to do this in the Edit a DEA Notebook guide.
- Supplementary_data: Supplementary files required for the analyses above (e.g. images, rasters, shapefiles, training data)
Updating this wiki: If you notice anything incorrect or out of date in this wiki, please feel free to make an edit!
License: All code in this repository is licensed under the Apache License, Version 2.0. Digital Earth Australia data is licensed under the Creative Commons by Attribution 4.0 license.
Contact: If you need assistance with any of the Jupyter Notebooks or Python code in this repository, please post a question on the Open Data Cube Discord chat or on the GIS Stack Exchange using the open-data-cube
tag (you can view previously asked questions here). If you would like to report an issue with any notebook, you can file one on Github.