ESGF Compute WPS is a Django application providing access to computational resources through Web Processing Service (WPS) interface standard. The application provides a WPS 1.0.0 interface through PyWPS.
Requirements:
- Conda
- Celery Worker w/Redis
- PostgreSQL database
git clone https://github.com/ESGF/esgf-compute-wps cd esgf-compute-wps/ conda create -n esgf_wps -c conda-forge -c uvcdat esgf-compute-api cdms2 cdutil genutil pyzmq lxm pip install -r requirements.txt python compute/manage.py migrate
python compute/manage.py runserver 0.0.0.0:8000
When starting the WPS Django application environment variables are checked first otherwise values are loaded from the Djago configuration file.
- OAUTH_CLIENT: OAuth2.0 Client value
- OAUTH_SECRET: OAuth2.0 Secret value
- CELERY_BROKER: Celery Broker URI
- CELERY_BACKEND: Celery Backend URI
- POSTGRES_HOST: PostgreSQL server address
- POSTGRES_PASSWORD: PostgresSQL password
- REDIS_HOST: Redis Host URI
- OAUTH2_CALLBACK: Oauth2.0 callback URL
- HOSTNAME: Server hostname
- PORT: Server port
- CACHE_PATH: Server cache path
- OUTPUT_LOCAL_PATH: The path that data will be stored
- DAP: Enable/disable output as DAP url
- CA_PATH: Path to store MyProxyClient/OAuth2.0 trust certificates
Provided are several docker files and docker-compose files.
You can access the demo page at http://0.0.0.0:8000
docker pull jasonb87/esgf_wps docker run -d -p 8000:8000 esgf_wps