uwtools.api.rocoto
API access to uwtools Rocoto support.
- uwtools.api.rocoto.iterate(cycle, database, task, workflow, rate=10)
Iterate the specified Rocoto workflow to completion (or failure).
- Parameters:
- Return type:
- uwtools.api.rocoto.realize(config, output_file=None, stdin_ok=False)
Realize the Rocoto workflow defined in the given YAML as XML.
If no input file is specified,
stdinis read. AYAMLConfigobject may also be provided as input. If no output file is specified,stdoutis written to. Both the input config and output Rocoto XML will be validated against appropriate schemas.
- uwtools.api.rocoto.validate_xml(xml_file=None, stdin_ok=False)
Validate purported Rocoto XML file against its schema.