A collection of Planet OS Jupyter notebooks.
Switch branches/tags
Clone or download
Eneli Toodu
Eneli Toodu notebook test run
Latest commit e3f1f3a Nov 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api-examples notebook test run Nov 19, 2018
aws re-run to capture updated bucket listing and main.nc Jul 12, 2018
geojson sentinel 2 ndvi demo Aug 25, 2016
nasa-opennex Added Kolkata example from the Webinar Sep 26, 2016
qa-documentation era5 qa update Oct 16, 2018
.gitignore update gitignore Nov 19, 2018
LICENSE Initial commit Apr 25, 2016
README.md ipython3 notebook added Jul 22, 2016
requirements.txt upgrade notebook Jul 13, 2018

README.md

Notebooks

A collection of Planet OS Jupyter notebooks.

Requirements

Python 3

The notebooks included in this repository are intended for use with Python 3. Please refer to the python downloads page for an appropriate version for your OS.

Jupyter Notebook

The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.

Please refer to the Jupyter documentation for installation instructions.

virtualenv and pip

Some notebooks may require additional python modules. If you attempt to run a notebook and receive an import error, it is likely that your local python installation is missing a requirement.

We recommend using virtualenv and pip to create an environment for running the notebooks.

When creating your virtualenv, be sure to do so using python 3. Some systems ship with python 2 and will use that version as the default.

A requirements.txt file is included with the required notebook dependencies. To install them, activate your virtual environment and run the following command:

pip install -r requirements.txt

Getting Started

Have Your API Key Ready

The example notebooks will require a Planet OS API key to run. If you do not have an account, you'll need to sign up for one.

You can view your API key on the Planet OS account settings page. You'll need to insert your key in the notebook to authorize the API calls, so keep it handy in your clipboard or a browser tab.

Launch Jupyter Notebook

Launch Jupyter with the following command:

jupyter notebook or ipython3 notebook

By default, the command above will open a new browser tab at http://127.0.0.1:8888 which lists the available notebooks in a directory view.

Select a Notebook

The example notebooks are organized into directories. A good place to begin is the /api-examples directory. Using the Jupyter web UI, navigate into the directory and select a notebook to view it.