Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

updated config docu #39

Merged
merged 1 commit into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions docs/source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,43 @@ Start the service with your custom configuration:
# start the service with this configuration
$ malleefowl start -c etc/custom.cfg

Read the PyWPS documentation_ for futher options and details.

Configure path to data archive
------------------------------

Malleefowl extends the configuration of PyWPS with a *data* section.

[data]
~~~~~~

:archive_root:
path to a *read-only* ESGF data archive which is used by the download process to make use of a local ESGF archive.
You can configure several archives paths by using a colon ``:`` as seperator. Default: `/tmp/archive`.

:cache_path:
path to a *writeable* cache folder which is used by the download process to store files.
Default: `PYWPS_OUTPUTPATH/cache`.

:archive_node:
an option to specify an ESGF data provider for site specfic settings.
Possible values: `default`, `dkrz`, `ipsl`.
Default: `default`.

Example
~~~~~~~

.. code-block:: ini

[server]
url = http://demo.org:5000/wps
outputurl = http://demo.org:5000/outputs
outputpath = /data/pywps/outputs

[data]
archive_root = /data/archive/cmip5:/data/archive/cordex
cache_path = /data/cache
archive_node = default

.. _PyWPS: http://pywps.org/
.. _documenetation: https://pywps.readthedocs.io/en/master/configuration.html
7 changes: 6 additions & 1 deletion etc/sample-custom.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
[server]
url = http://demo.org:5000/wps
outputurl = http://demo.org:5000/outputs
outputpath = /data/pywps/outputs

[logging]
level = DEBUG
level = INFO

[data]
archive_root = /data/archive/cmip5:/data/archive/cordex
cache_path = /data/cache