You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+27-20Lines changed: 27 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,24 +30,24 @@ Configuration Management
30
30
31
31
The config tool suite helps you compare, transform, modify, and even validate your configuration. The package supports YAML, shell, Fortran namelist, and INI file formats. Configuration in any of these formats may use :jinja2:`Jinja2 syntax<templates>` to express values. These values can reference others, or compute new values by evaluating mathematical expressions, building paths, manipulating strings, etc.
32
32
33
-
Compare Mode
34
-
""""""""""""
33
+
Compare Action
34
+
""""""""""""""
35
35
36
36
When the Linux diff tool just doesn't work for comparing unordered namelists with mixed-case keys, this is your go-to! The Fortran namelists are the *real* catalyst behind this gem, but it also works on the other configuration formats.
37
37
38
38
|:any:`CLI documentation with examples<cli_config_compare_examples>`
39
39
40
-
Realize Mode
41
-
""""""""""""
40
+
Realize Action
41
+
""""""""""""""
42
42
43
-
This mode renders values created by:jinja2:`Jinja2 templates<templates>`, and lets you override values in one file or object with those from others, not necessarily with the same configuration format. With ``uwtools``, you can even reference the contents of other files to build up a configuration from its pieces.
43
+
To realize a config is to render values encoded in:jinja2:`Jinja2 expressions<templates/#expressions>`, potentially overriding values in one file or object with those from others, not necessarily with the same configuration format. With ``uwtools``, you can even reference the contents of other files to build up a configuration from its pieces.
44
44
45
45
|:any:`CLI documentation with examples<cli_config_realize_examples>`
46
46
47
-
Validate Mode
48
-
"""""""""""""
47
+
Validate Action
48
+
"""""""""""""""
49
49
50
-
In this mode, you can provide a :json-schema:`JSON Schema<>` file alongside your configuration to validate that it meets the requirements set by the schema. We've enabled robust logging to make it easier to repair your configs when problems arise.
50
+
Provide a :json-schema:`JSON Schema<>` file alongside your configuration to validate that it meets the requirements set by the schema. We've enabled robust logging to make it easier to repair your configs when problems arise.
51
51
52
52
|:any:`CLI documentation with examples<cli_config_validate_examples>`
53
53
@@ -57,15 +57,15 @@ Templating
57
57
|**CLI**: ``uw template -h``
58
58
|**API**: ``import uwtools.api.template``
59
59
60
-
Render Mode
61
-
"""""""""""
60
+
Render Action
61
+
"""""""""""""
62
62
63
-
The ``render`` mode that gives you the full power of rendering a :jinja2:`Jinja2 template<templates>` in the same easy-to-use interface as your other workflow tools.
63
+
This gives you the full power of rendering a :jinja2:`Jinja2 template<templates>` in the same easy-to-use interface as your other workflow tools.
64
64
65
65
|:any:`CLI documentation with examples<cli_template_render_examples>`
66
66
67
-
Translate Mode
68
-
""""""""""""""
67
+
Translate Action
68
+
""""""""""""""""
69
69
70
70
This tool helps transform legacy configuration files templated with the atparse tool (common at :noaa:`NOAA<>`) into :jinja2:`Jinja2 templates<templates>` for use with the ``uw config realize`` and ``uw template render`` tools, or their API equivalents.
71
71
@@ -87,25 +87,32 @@ There is a video demonstration of the use of the ``uw fs`` tool (formerly ``uw f
This tool is all about creating a configurable interface to the :rocoto:`Rocoto<>` workflow manager tool that produces the Rocoto XML for a totally arbitrary set of tasks. The ``uwtools`` package defines a structured YAML interface that relies on tasks you define to run. Paired with the uw config tool suite, this interface becomes highly configurable and requires no XML syntax!
97
97
98
-
Realize Mode
99
-
""""""""""""
98
+
Iterate Action
99
+
""""""""""""""
100
+
101
+
Given a Rocoto XML workflow document, invoke Rocoto in a loop, monitoring its progress, until a specified task is complete.
102
+
103
+
|:any:`CLI documentation with examples<cli_rocoto_iterate_examples>`
104
+
105
+
Realize Action
106
+
""""""""""""""
100
107
101
108
This is where you put in your structured YAML that defines your workflow of choice, and it pops out a verified Rocoto XML.
102
109
103
110
|:any:`CLI documentation with examples<cli_rocoto_realize_examples>`
104
111
105
-
Validate Mode
106
-
"""""""""""""
112
+
Validate Action
113
+
"""""""""""""""
107
114
108
-
Do you already have a Rocoto XML but don't want to run Rocoto to make sure it works? Use the validate mode to check to see if Rocoto will be happy.
115
+
Do you already have a Rocoto XML but don't want to run Rocoto to make sure it works? Use ``rocoto validate`` to check to see if Rocoto will be happy.
109
116
110
117
|:any:`CLI documentation with examples<cli_rocoto_validate_examples>`
0 commit comments