Skip to content

Commit 23d972a

Browse files
committed
adapt episode 6 to changes in episode 3
1 parent d5c7606 commit 23d972a

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

_episodes/06-debugging.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ directory ``esmvaltool_tutorial`` that was created during the
2727
[Configuration]({{ page.root }}{% link _episodes/03-configuration.md %}).
2828

2929
In a new terminal, go to our working directory ``esmvaltool_tutorial`` where
30-
both files ``user-config.yml`` and ``recipe_example.yml`` are located and run
30+
the file ``recipe_example.yml`` is located and run
3131
the recipe:
3232

3333
~~~bash
3434
cd esmvaltool_tutorial
35-
esmvaltool run --config_file user-config.yml recipe_example.yml
35+
esmvaltool run recipe_example.yml
3636
~~~
3737

3838
~~~
@@ -202,7 +202,7 @@ Also, we change the ``projects`` value ``ukesm`` to ``tutorial``:
202202
203203
Then, we save the file and run the recipe:
204204
~~~bash
205-
esmvaltool run --config_file user-config.yml recipe_example.yml
205+
esmvaltool run recipe_example.yml
206206
~~~
207207
208208
~~~
@@ -216,10 +216,17 @@ attach the run/recipe_*.yml and run/main_log_debug.txt files from the output dir
216216
The values for the keys ``author``, ``maintainer``, ``projects`` and
217217
``references`` in the recipe should be known by ESMValTool. A list of ESMValTool
218218
author, maintainer, references, and projects can be found in the
219-
``config-references.yml`` that is located in the folder ``references`` in the
220-
ESMValTool installation directory ``path_to_esmvaltool``. To find
221-
``path_to_esmvaltool`` on your system, see [Installation]({{ page.root }}{% link
222-
_episodes/02-installation.md %}).
219+
``config-references.yml``. You could download this file by typing:
220+
221+
~~~bash
222+
esmvaltool config get_config_reference
223+
~~~
224+
225+
It will be saved to: ``{HOME}/.esmvaltool/config-references.yml``. If you modify this file, please add the directory in the ``config-user.yml``:
226+
227+
```yaml
228+
config_developer_file: {HOME}/.esmvaltool/config_reference.yml
229+
```
223230
224231
> ## ESMValTool can’t locate the data
225232
>
@@ -282,7 +289,7 @@ let's see if we can change the script path as:
282289
```
283290
284291
~~~bash
285-
esmvaltool run --config_file user-config.yml recipe_example.yml
292+
esmvaltool run recipe_example.yml
286293
~~~
287294
288295
~~~
@@ -304,7 +311,7 @@ recipe:
304311
```
305312
306313
~~~bash
307-
esmvaltool run --config_file user-config.yml recipe_example.yml
314+
esmvaltool run recipe_example.yml
308315
~~~
309316
310317
> ## Available recipe and diagnostic scripts

0 commit comments

Comments
 (0)