Common parts of a Python driver implementation for OpenEO
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dummy_impl
openeo_driver
tests
.gitignore
.travis.yml
LICENSE
README.md
requirements-dev.txt
requirements.txt
run_debug.sh
setup.py

README.md

OpenEO Geopyspark Driver

Status

Python version: 3.5

This driver implements the GeoPySpark/Geotrellis specific backend for OpenEO.

It does this by implementing a direct (non-REST) version of the OpenEO client API on top of GeoPySpark.

A REST service based on Flask translates incoming calls to this local API.

Running locally

For development, you can run the service using Flask: export FLASK_APP=openeo_driver/init.py export SPARK_HOME=/usr/lib64/python3.6/site-packages/pyspark FLASK_DEBUG=1 flask run

For production, a gunicorn server script is available: PYTHONPATH=. python openeogeotrellis/server.py