generate_cylc_workflow.pyΒΆ

generate_cylc_workflow.py is a script in CIMEROOT/scripts/Tools.

$ ./generate_cylc_workflow.py --help
usage: generate_cylc_workflow.py [-h] [-d] [-v] [-s] [--cycles CYCLES]
                                 [--ensemble ENSEMBLE]
                                 [caseroot]

Generates a cylc workflow file for the case.  See https://cylc.github.io for details about cylc

positional arguments:
  caseroot             Case directory for which namelists are generated.
                       Default is current directory.

options:
  -h, --help           show this help message and exit
  -d, --debug          Print debug information (very verbose) to file /home/titters/devel/E3SM/cime/master/scripts/Tools/generate_cylc_workflow.py.log
  -v, --verbose        Add additional context (time and file) to log messages
  -s, --silent         Print only warnings and error messages
  --cycles CYCLES      The number of cycles to run, default is RESUBMIT
  --ensemble ENSEMBLE  generate suite.rc for an ensemble of cases, the case name argument must end in an integer.
                       for example: ./generate_cylc_workflow.py --ensemble 4 
                       will generate a workflow file in the current case, if that case is named case.01,the workflow will include case.01, case.02, case.03 and case.04