Public | Automated Build

Last pushed: 3 days ago
Short Description
LLNL CWT WPS Thredds image.
Full Description

################
ESGF Compute WPS

################

ESGF Compute WPS is a Django application providing access to computational
resources through
Web Processing Service <http://www.opengeospatial.org/standards/wps> (WPS)
interface standard. The application provides a WPS 1.0.0 interface through
PyWPS <https://github.com/geopython/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
Docker Pull Command
Owner
jasonb87
Source Repository