This dasboard application based on the sepal-ui framework, provide the user with a friendly interface to explore and download Planet Labs images.
In the landing page of our module at the bottom of the rigth drawer, You’ll find 3 buttons:
The :code source: will open in a new tab the GitHub repository that is used to create this module. our code is open-source and distributed under the MIT License.
The :wiki: button will lead you to this page
The :bug report: will open in a new tab the isse tracker of our GitHub repository. You can write here if you experience bugs or if you have any feature request. Our maintainer will answer as fast as possible.
Select an AOI¶
The application use the same AOI selector that you will find in lots of other application in SEPAL. It is using GEE to provide several options of data selection.
In this application multiple selection methods are available by selecting options in the first dropdown menu:
Using one of the administrative options (
first administrative layer or
second administrative layer), It will retreive information from the FAO GAUL 2015 GEE dataset. This isnformation will be used along the app to define your AOI
Several options are availalbe to select custom AOI including : gee assets, draw a shape, upload a shapefile.
upload a shapelfile will upload a shapefile that already exist in your SEPAL folder to GEE.
If you want to us a shapefile that comes from your computer you need to upload it to SEPAL first using the Vector file manager.
Load PLanet Lab information¶
To use the module you’ll need the Planet Lab API key associated to you Planet lab account
If you’re not yet register to Planet please follow our documentation
Move to the
retreive images page by clicking on the button in the drawer.
There, you’ll find an empty map and several field that you need to fill.
Provide your API key and click on
check API key. The tool will verify the validity of your API key. If this step is successful the list of all the mosaics available through your Planet account will be displayed in the planet mosaic dropdown and the mosaic selector system will be unabled.
If you want to check your API key click on the eye at the end of the password field, the password will be displayed.
Don’t show you’re API key when you are sharing your screen with others
Now you can select any mosaic in the mosaic dropdown on top of the map. using the
prev button will jump to the next/prev mosaic in the list (they are in chronological order)
Once a mosaic is selected the tool will zoom on your AOI and display it in blue. It will add the Planet Lab grid cells (in gold) that are touching the AOI. Each cell of the grid represents 1 image to download.
Click on the palette btn on the top-left side of the map. This button will expand and show the 4 different color combo available:
default the default color combo defined by planet, it can be one of rgb or cir
rbg (red, blue, green)
cir (nir, red, green)
ndvi a viridis representation of the ndvi index ((nir-red)/(nir+red)) see wikipedia
Once you are satisfied with your mosaic selection, you can click on the
download image button. This will launch the downloading process of your images from Planet server to you SEPAL folder.
The images will be stored in the following folder :
In the parent folder (
/home/<sepalID>/module_results/planet-order/<aoi_name>/) you will find a .geojson file of the planet grid. This can be useful for other tools.
If the requested image is not available (the grid point to water area, the image was to cloudy so filtered by Planet, you don’t have the rights to download it.. etc) the image will fail. If the image already exist in your folder it will be skipped. This behaviour allow you to restart a process if your SEPAL conection crashed without restarting all the downloads.