Datacube Web Processing Service
Datacube WPS is based on PYWPS (https://github.com/geopython/pywps) version 4.2.4
Available processes are below:
To run the WPS on localhost modify pywps.cfg
to point url
and outputurl
to localhost
. workdir
and outputpath
should be left as tmp
and outputs
respectively for a local dev server and base_route
should be /
see example:
url=http://localhost:5000
workdir=tmp
outputurl=http://localhost:5000/outputs/
outputpath=outputs
base_route=/
Once configured a local server can be run by exporting the FLASK_APP
environment variable and running flask:
export FLASK_APP=wps.py
flask run
Assumes only a single instance of datacube-wps will be started. Multiple instances of datacube-wps will require a shared outputs folder between all instances.
pywps.cfg
, in the example case:
url=https://wps.services.dea.ga.gov.au
outputurl=https://wps.services.dea.ga.gov.au/outputs/
gunicorn -b 0.0.0.0:8000 wps:app
The processes which are available to users of the WPS are enumerated in the DEA_WPS_config.yaml
file.
The environment variable DATACUBE_WPS_NUM_WORKERS
sets the number of workers (defaults to 4).
json
format is correctThis part is flow-on from Workflow testing
network
tabData Catalogue
add the wps service needed for testing?service=WPS&request=Execute
and open Headers
tabxml
under Request PayloadRequest URL
under General
request URL
from Collect payload point 6xml
from Collect payload point 6