Package: birdhousebuilder.recipe.ncwms
Introductionbirdhousebuilder.recipe.ncwmsis aBuildoutrecipe to install and configurencWMSserver withAnaconda.
This recipe is used by theBirdhouseproject.UsageThe recipe requires that Anaconda is already installed. You can use the buildout optionanaconda-hometo set the prefix for the anaconda installation. Otherwise the environment variableCONDA_PREFIX(variable is set when activating a conda environment) is used as conda prefix.The recipe will install thencWMS2andapache-tomcatpackage from a conda channel in a conda enviroment defined byCONDA_PREFIX. The intallation folder is given by theprefixbuildout option. It deploys aSupervisorconfiguration for Tomcat in${prefix}/etc/supervisor/conf.d/tomcat.conf. Supervisor can be started with${prefix}/etc/init.d/supervisordstart.By defaultncWMS2will be available onhttp://localhost:8080/ncWMS2.The configuration files ofncWMS2are in${prefix}/var/lib/tomcat/conf/ncWMS2.The recipe depends onbirdhousebuilder.recipe.conda,birdhousebuilder.recipe.supervisorandbirdhousebuilder.recipe.tomcat.Supported optionsThis recipe supports the following options:anaconda-homeBuildout option pointing to the root folder of the Anaconda installation. Default:$HOME/anaconda.dynamic_servicesList 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/outputstitleTitle for this Web Map Service. Default: Birdhouse ncWMS2 ServerabstractMore details about this Web Map Service. Default: ncWMS2 Web Map Service used in BirdhousecontactName of server administrator. Default: Birdhouse AdminorganizationOrganization of server administrator. Default: BirdhouseurlWeb site of the service provider. Default:http://bird-house.github.io/Cache options:enablecacheEnable WMS caching: Default: trueinMemorySizeMBSize in MB of in-memory cache. Default: 256elementLifetimeMinutesLife-time of cache elements. Default: 0.0 (unlimited)To configure tomcat see the options in thetomcat recipe. For example:http_portHTTP Port for Tomcat service. Default: 8080ncwms_passwordEnable ncWMS2 admin web interface by setting a password: Default: disabledExample usageThe following examplebuildout.cfginstalls ncWMS2 with Anaconda and default options:[buildout]parts=ncwms[ncwms]recipe=birdhousebuilder.recipe.ncwmsorganization=Birdhousehttp_port=8080An exampleGetCapabilitiesURL 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.ncAuthorsCarsten Ehbrecht ehbrecht at dkrz.deChanges0.4.1 (2016-08-19)create .h2 dir with run-user permissions.update conda package ncwms2=2.2.20.4.0 (2016-08-15)disable support for ncWMS <2.2.x.replaceddata_diroptions bydynamic_servicesoption.addedinMemorySizeMBandelementLifetimeMinutes.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.4added empty datasets tag in config.xml template.0.1.2 (2015-10-22)added more options: title, abstract, …renamed option data_root to data_dirupdated to ncWMS2 2.0.30.1.1 (2015-10-20)added Dataset config for PyWPS outputs.0.1.0 (2015-10-19)Initial Release.