This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Introduction

birdhousebuilder.recipe.ncwms is a Buildout recipe to install and configure ncWMS server with Anaconda. This recipe is used by the Birdhouse project.

Usage

The recipe requires that Anaconda is already installed. You can use the buildout option anaconda-home to set the prefix for the anaconda installation. Otherwise the environment variable CONDA_PREFIX (variable is set when activating a conda environment) is used as conda prefix.

The recipe will install the ncWMS2 and apache-tomcat package from a conda channel in a conda enviroment defined by CONDA_PREFIX. The intallation folder is given by the prefix buildout option. It deploys a Supervisor configuration for Tomcat in ${prefix}/etc/supervisor/conf.d/tomcat.conf. Supervisor can be started with ${prefix}/etc/init.d/supervisord start.

By default ncWMS2 will be available on http://localhost:8080/ncWMS2.

The configuration files of ncWMS2 are in ${prefix}/var/lib/tomcat/conf/ncWMS2.

The recipe depends on birdhousebuilder.recipe.conda, birdhousebuilder.recipe.supervisor and birdhousebuilder.recipe.tomcat.

Supported options

This recipe supports the following options:

anaconda-home
Buildout option pointing to the root folder of the Anaconda installation. Default: $HOME/anaconda.
dynamic_services
List of dynamic service configurations with name and root path to data files. Dynamic service configurations are seperated by space or newlines. Service name and path is seperated by =. Default: outputs=${prefix}/var/lib/pywps/outputs
title
Title for this Web Map Service. Default: Birdhouse ncWMS2 Server
abstract
More details about this Web Map Service. Default: ncWMS2 Web Map Service used in Birdhouse
contact
Name of server administrator. Default: Birdhouse Admin
organization
Organization of server administrator. Default: Birdhouse
url
Web site of the service provider. Default: http://bird-house.github.io/

Cache options:

enablecache
Enable WMS caching: Default: true
inMemorySizeMB
Size in MB of in-memory cache. Default: 256
elementLifetimeMinutes
Life-time of cache elements. Default: 0.0 (unlimited)

To configure tomcat see the options in the tomcat recipe. For example:

http_port
HTTP Port for Tomcat service. Default: 8080
ncwms_password
Enable ncWMS2 admin web interface by setting a password: Default: disabled

Example usage

The following example buildout.cfg installs ncWMS2 with Anaconda and default options:

[buildout]
parts = ncwms

[ncwms]
recipe = birdhousebuilder.recipe.ncwms
organization = Birdhouse
http_port = 8080

An example GetCapabilities URL to access a NetCDF file in outputs (using DATASET param):

http://localhost:8080/ncWMS2/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0&DATASET=outputs/malleefowl/tasmax.nc

Authors

Carsten Ehbrecht ehbrecht at dkrz.de

Changes

0.4.1 (2016-08-19)

  • create .h2 dir with run-user permissions.
  • update conda package ncwms2=2.2.2

0.4.0 (2016-08-15)

  • disable support for ncWMS <2.2.x.
  • replaced data_dir options by dynamic_services option.
  • added inMemorySizeMB and elementLifetimeMinutes.

0.3.2 (2016-07-27)

  • added data2 dynamic service.

0.3.1 (2016-07-26)

  • prepared for ncWMS 2.2.x.
  • config files are now in var/lib/tomcat/conf/ncWMS2.

0.3.0 (2016-07-25)

  • using zc.recipe.deployment.
  • updated doctests.
  • updated travis.

0.2.0 (2015-12-17)

  • added tomcat installation.
  • using ncWMS2 2.0.4
  • added empty datasets tag in config.xml template.

0.1.2 (2015-10-22)

  • added more options: title, abstract, …
  • renamed option data_root to data_dir
  • updated to ncWMS2 2.0.3

0.1.1 (2015-10-20)

  • added Dataset config for PyWPS outputs.

0.1.0 (2015-10-19)

  • Initial Release.
Release History

Release History

0.4.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
birdhousebuilder.recipe.ncwms-0.4.1.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Aug 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting