OpenEO driver for JEODPP
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.
api
data
docker
proc
templates
.gitignore
LICENSE
README.md
openEO.py
poc_uc1.ipynb
poc_uc1.py
poc_uc3.ipynb
poc_uc3.py
run.py
service.py
service.wsgi

README.md

openeo-jeodpp-driver

OpenEO driver for JEODPP

Proof of concept

Use case 1

Back end function to calculate Sentinel-2 composite.

usage:
python poc_uc1.py --output /tmp/output.tif --dateFrom 2017-01-01 --dateTo 2017-01-31 --dx 10 --dy 10 --red B4 --nir B8A --crule maxndvi --t_srs 32632 --left 652000 --right 672000 --bottom 5161000 --top 5181000

Supported options: -output: Path of the output vector dataset
-left: left margin of bounding box in output SRS (set with option -t_srs)
-right: right margin of bounding box in output SRS (set with option -t_srs)
-top: top margin of bounding box in output SRS (set with option -t_srs)
-bottom: bottom margin of bounding box in output SRS (set with option -t_srs)
-dateFrom: Start date, format: %Y%m%d
-dateTo: End date, format: %Y%m%d
-crule: Composite rule (e.g., maxndvi)
-band: List of bands to extract
-red: Name of red band (for NDVI calculation)
-nir: Name of nir band (for NDVI calculation)
-dx: Resolution in x
-dy: Resolution in y -t_srs: Target spatial reference system

Use case 1

todo

Use case 3

Back end function to calculate regional statistics based on Sentinel-2 band and user provided input vector dataset.

usage:
python poc_uc.py -output file -regions file -left value -right value -top value -bottom value -dateFrom date -dateTo date -func avg -bands value

Supported options: -output: Path of the output vector dataset
-regions: Path of the regions vector dataset
-left: left margin of bounding box
-right: right margin of bounding box
-top: top margin of bounding box
-bottom: bottom margin of bounding box
-dateFrom: Start date, format: %Y%m%d, example: '2017-01-01'
-dateTo: End date, format: %Y%m%d", example: '2017-01-31'
-func: Function used for zonal statistics, example: 'avg'
-bands: band to extract, example: 8

API Examples:

CREATE JOB FOR ZONAL STATS

curl -L -H "Content-Type: application/json" -d @/mnt/cidstorage/data/cid-bulk4/cidmgt/www/klimeto/source/PycharmProjects/openeo-jeodpp-driver/api/requests/createJob.json http://139.191.71.14:5000/jobs

LAUNCH JOB

curl -X PATCH http://139.191.71.14:5000/jobs/b7d2a8c3-e15b-4395-8ab0-b53fde47c486/queue