eggshell.config

WPS servers often need to specify a number of paths for processes to find data, shapefiles, caches and determine where outputs are stored. To make sure all birds use the same architecture, eggshell provides a Paths class to help with this.

Module Contents

eggshell.config.LOGGER[source]
class eggshell.config.Paths(module)[source]

Bases:object

This class facilitates the configuration of WPS birds.

top_level[source]

return the top level directory of a WPS bird

data[source]

Return the path to the data directory.

shapefiles[source]

Return the path to the geographic data directory.

testdata[source]

Return the path to the test data directory.

cache[source]

Return the path to the server cache directory.

outputpath[source]

Return the server directory for process outputs.

outputurl[source]

Return the server URL for process outputs.

eggshell.config.esgfsearch_distrib()[source]

TODO

eggshell.config.esgfsearch_url()[source]

Return the server configuration value for the ESGF search node URL.