uwtools.api.rocoto
API access to uwtools Rocoto support.
- 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_file=None, stdin_ok=False)
Validate purported Rocoto XML file against its schema.