roocs / rook

A Web Processing Service for roocs: remote operations on climate simulations.
https://rook-wps.readthedocs.io/en/latest/
Apache License 2.0
4 stars 6 forks source link

Add a CWL workflow example #3

Closed cehbrecht closed 3 years ago

cehbrecht commented 4 years ago

Description

See: https://github.com/common-workflow-language/python-cwlgen

Environment

Steps to Reproduce

Additional Information

cehbrecht commented 4 years ago

First try with a simple json wf inspired by CWL: https://github.com/roocs/roocs-wps-demo/blob/master/tests/testdata/subset-wf.json

Example usage with orchestrate process: https://github.com/roocs/roocs-wps-demo/blob/master/notebooks/roocs-demo.ipynb

agstephens commented 4 years ago

We should have a detailed discussion with our Canadian friends on the benefits of using compliant CWL. NOTE: CWL does not include all the inputs.

cehbrecht commented 4 years ago

An option could be to use our simplified workflow description and map it to CWL workflow. One could use the CWL implemention to run the workflow.

But currently we don't have a CWL that works with daops. Should daops library be called on the command line?

agstephens commented 4 years ago

@cehbrecht - regarding your last point. It would be nice to have a daops command-line option but I think we should aim to add it later in the project - when the API has been fully developed and stabilised.

agstephens commented 3 years ago

Done