A simple Flask web application for performing change detection tasks with Google Earth Engine imagery.
The AppEngine version (web version) is for demonstration only and has very limited functionality. Exporting results to Google Drive or to Earth Engine assets is in particular not possible.
The local version runs in a Docker container serving the Flask web application on localhost:5000. Assuming you have been authenticated (see below) to the Earth Engine, you can carry out the following tasks:
Run the iMAD (iteratively re-weighted MAD) algorithm on Landsat 5, 7, 8 and Sentinel-2 optical/infrared bitemporal imagery.
Perform automatic radiometric normalization of a sequence full optical/infrared scenes.
Run the (sequential) omnibus algorithm on polarimetric SAR multitemporal data on Sentinel-1 dual pol, diagonal only, or single pol images.
Perform principal components analysis in visual/infrared full scenes.
Export imagery to your Earth Engine assets folder or to Google Drive for off-line local processing, for example with SARDocker.
In a command window execute the command
docker run -it -p 5000:5000 --name=ee mort/eedocker
or, if you are on a Raspberry Pi
docker run -it -p 5000:5000 --name=ee mort/rpi-eedocker
If the container is not found it will be automatically downloaded from Dockerhub and started. At the container prompt execute the command
and follow the instructions. You will have to copy the given URL and paste it into your local browser.
After successful authentication the credentials are saved to the container. Now run the command
and point your browser to
to start work.
When finished, hit
in the command window to stop the Flask application server and
to leave the container. The container will then stop.
Re-start and enter the container with
docker start -ai ee
Run the command
to re-start the server.