Package: birdhousebuilder.recipe.adagucserver
ContentsIntroductionUsageSupported optionsExample usageAuthorsChange History0.3.4 (2015-12-07)0.3.3 (2015-11-12)0.3.2 (2015-11-12)0.3.1 (2015-10-21)0.3.0 (2015-10-20)0.2.1 (2015-03-31)0.2.0 (2015-03-31)0.1.0 (2015-03-30)Introductionbirdhousebuilder.recipe.adagucserveris aBuildoutrecipe to install and configureAdagucserverwithAnaconda.Adagucserveris an implementation of aWeb Map Service(WMS).Adagucserverwill be deployed as aSupervisorservice and is available on aNginxweb server.This recipe is used by theBirdhouseproject.UsageThe recipe requires thatAnacondais already installed. It assumes that the default Anaconda location is in your home directory~/anaconda. Otherwise you need to set theANACONDA_HOMEenvironment variable or the Buildout optionanaconda-home.It installs theadagucserverpackage from a conda channel in a conda environment namedbirdhouse. The location of the birdhouse environment is.conda/envs/birdhouse. It deploys aSupervisorconfiguration forAdagucserverin~/.conda/envs/birdhouse/etc/supervisor/conf.d/adagucserver.conf. Supervisor can be started with~/.conda/envs/birdhouse/etc/init.d/supervisorstart.The recipe will install thenginxpackage from a conda channel and deploys a Nginx site configuration forAdagucserver. The configuration will be deployed in~/.conda/envs/birdhouse/etc/nginx/conf.d/adagucserver.conf. Nginx can be started with~/.conda/envs/birdhouse/etc/init.d/nginxstart.By defaultAdagucserverwill be available onhttp://localhost:9002?service=WMS&version=1.3.0&request=GetCapabilities.The recipe depends on:birdhousebuilder.recipe.condabirdhousebuilder.recipe.supervisorbirdhousebuilder.recipe.nginxSupported optionsThe recipe supports the following options:anaconda-homeBuildout option with the root folder of the Anaconda installation. Default:$HOME/anaconda.
The default location can also be set with the environment variableANACONDA_HOME. Example:export ANACONDA_HOME=/opt/anacondaSearch priority is:anaconda-homeinbuildout.cfg$ANACONDA_HOME$HOME/anacondatitleTitle of the Web Map Service. Default: Birdhouse ADAGUC WMSabstractDescription of the Web Map Service. Default: ADAGUC Web Map Service used in BirdhouseportPort used by the Adaguc WMS service. Default: 9002data_dirPath to the data directory with NetCDF files. Default:~/.conda/envs/birdhouse/var/lib/pywps/outputsenablecacheEnabled caching of WMS requests. Default: falseExample usageThe following examplebuildout.cfginstallsAdagucserverwith Anaconda:[buildout]
parts = adaguc

anaconda-home = /home/myself/anaconda

[adaguc]
recipe = birdhousebuilder.recipe.adagucserver
port = 9002After installing with Buildout start theAdagucserverWMS service with:$ cd /home/myself/.conda/envs/birdhouse
$ etc/init.d/supervisord start  # start|stop|restart
$ etc/init.d/nginx start        # start|stop|restart
$ bin/supervisorctl status      # check that adagucserver is running
$ less var/log/adaguc.log  # check log fileOpen your browser with the following URL:http://localhost:9002?service=WMS&version=1.3.0&request=GetCapabilitiesRun a GetCapabilites with an OpenDAP source:http://localhost:9002/?service=WMS&version=1.3.0&request=GetCapabilities&source=http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis2.dailyavgs/surface/mslp.1979.ncAuthorsCarsten Ehbrecht ehbrecht at dkrz.deChange History0.3.4 (2015-12-07)using latest supervisor recipe.0.3.3 (2015-11-12)fixed output parsing in wsgi wrapper.0.3.2 (2015-11-12)updated to adagucserver 1.9.6.renamed template autowms.xml to adaguc.autoresource.xml.disabled cascaded base wms layers in template.0.3.1 (2015-10-21)added more options: title, abstract, enablecachefixed handling of xml output of adagucserver in wsgi appliationcleaned up configsupdated readme0.3.0 (2015-10-20)updated to adagucserver 1.9.3 with sqlite0.2.1 (2015-03-31)Fixed update mode.0.2.0 (2015-03-31)usinghttps://github.com/bird-house/birdhousebuilder.recipe.postgresupdate readme.0.1.0 (2015-03-30)Initial Release.