-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Description
It happens quite often that we have a set of processes with common input (and output) parameters. In WPS the process signature (inputs+outputs) is called a profile (I think). To avoid copy+paste of this process parameters one could use Python decorators or mixin classes to define a commonly used profile which can be adapted by each individual process.
Here are some examples how it could look like:
- notebooks: https://github.com/cehbrecht/jupyterlab-notebooks/tree/master/pywps-profiles
- Emu subset with ESGF-API: https://github.com/bird-house/emu/blob/esgfwps/emu/processes/wps_esgf_subset.py
Environment
- Emu version used, if any:
- Python version, if any:
- Operating System: