Skip to content

maheshguru/esgf-compute-wps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESGF Compute WPS

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.

Intallation

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

Quickstart

python compute/manage.py runserver 0.0.0.0:8000

Configuration

Environment variables

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

Django settings

  • 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

Docker

Provided are several docker files and docker-compose files.

Standalone Django WPS server

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

About

WPS API for ESGF Compute Working Team

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 65.5%
  • TypeScript 17.4%
  • JavaScript 10.7%
  • HTML 4.6%
  • Shell 1.7%
  • CSS 0.1%