-
Notifications
You must be signed in to change notification settings - Fork 3
Developer Guide
See the Cylc: Workflow Design Guide.
-
Navigate to the workflow directory:
cd <path_to>/CMEW/CMEW -
Run the workflow tests; these tests ensure that the expected output files are generated by CMEW (ESMValTool tests, e.g. the Recipe Test Workflow, ensures the contents of the output files are as expected):
export CYLC_VERSION=8 cylc vip -O metoffice -O test -
Ensure the tests pass, see, e.g. http://fcm1/cylc-review/.
-
Activate the environment for the current session, where
<version>is the version of ESMValTool to use (the following command only needs to be executed once per session):module load scitools/community/esmvaltool/<version> -
Build the documentation:
cd <path_to>/CMEW/doc make html -
View the documentation:
gio open build/html/index.html
-
Navigate to the workflow directory:
cd <path_to>/CMEW/CMEW -
cylc validate .Note:
cylc validateonly works after pre-processing Jinja2 branches. -
Run the Cylc configuration linter to help spot issues in unprocessed files:
cylc lint -
Validate the format of Rose configuration files, and commit any changes:
rose config-dump -
Validate the Rose configuration metadata:
rose metadata-check -C meta/