1M+
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:appThe processes which are available to users of the WPS are enumerated in the DEA_WPS_config.yaml file.
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 Generalrequest URL from Collect payload point 6xml from Collect payload point 6Content type
Image
Digest
sha256:80df355a6…
Size
543 MB
Last updated
about 1 year ago
docker pull opendatacube/wps:0.4.12-38-g3376cccPulls:
192
Last week