uwtools.api.make_solo_mosaic
API access to the uwtools make_solo_mosaic driver.
- uwtools.api.make_solo_mosaic.execute(task: str, config: Optional[Union[str, Path]] = None, batch: bool = False, dry_run: bool = False, graph_file: Optional[Union[str, Path]] = None, key_path: Optional[List[str]] = None, stdin_ok: bool = False) bool
Execute a task.
If
batchis specified, a runscript will be written and submitted to the batch system. Otherwise, the executable will be run directly on the current system.- Parameters
task – The task to execute.
config – Path to config file (read stdin if missing or None).
batch – Submit run to the batch system?
dry_run – Do not run the executable, just report what would have been done.
graph_file – Write Graphviz DOT output here.
key_path – Path of keys to subsection of config file.
stdin_ok – OK to read from stdin?
- Returns
Trueif task completes without raising an exception.