@@ -20,9 +20,9 @@ keypoints:
2020## The configuration file
2121
2222The `` config-user.yml `` configuration file contains all the global level
23- information needed by ESMValTool to run. This is an [ YAML
24- file] ( https://yaml.org/spec/1.2/spec.html ) . An example configuration file can be
25- found in the ESMValCore repository:
23+ information needed by ESMValTool to run.
24+ This is a [ YAML file] ( https://yaml.org/spec/1.2/spec.html ) .
25+ An example configuration file can be found in the ESMValCore repository:
2626[ config-user-example.yml] ( https://github.com/ESMValGroup/ESMValCore/blob/master/esmvalcore/config-user.yml ) .
2727
2828You can generate the default configuration file by running:
@@ -31,14 +31,15 @@ You can generate the default configuration file by running:
3131 esmvaltool config get_config_user
3232~~~
3333
34- It will save the file to: `` {HOME}/.esmvaltool/config-user.yml `` .
34+ It will save the file to: ` ~/.esmvaltool/config-user.yml ` , where ` ~ ` is the
35+ path to your home directory. Note that files and directories starting with a
36+ period are "hidden", to see the ` .esmvaltool ` directory in the terminal use
37+ ` ls -la ~ ` .
3538
36- Now, let's change our working directory in a terminal window to
37- `` {HOME}/.esmvaltool `` . Then, we run a text editor called Nano to have a look
38- inside the configuration file:
39+ We run a text editor called Nano to have a look inside the configuration file:
3940
4041~~~ bash
41- nano config-user.yml
42+ nano ~ /.esmvaltool/ config-user.yml
4243~~~
4344
4445This file contains the information for:
@@ -91,12 +92,14 @@ remove_preproc_dir: true
9192
9293# Path to custom config-developer file, to customise project configurations.
9394# See config-developer.yml for an example. Set to [null] to use the default
94- config_developer_file : null
95+ config_developer_file : null
9596# Get profiling information for diagnostics
9697# Only available for Python diagnostics
9798profile_diagnostic : false
9899` ` `
99100
101+ In general there is no need to change the settings listed above.
102+
100103## Destination directory
101104
102105The destination directory is the rootpath where ESMValTool will store its output folders containing
@@ -169,7 +172,7 @@ for input data based on their source. The current categories in the configuratio
169172file are mentioned below. For example, CMIP is used for a dataset from
170173the climate model intercomparison project whereas OBS is used for an observational dataset.
171174We can find more information about the projects in the ESMValTool
172- [documentation](https://docs.esmvaltool.org/en/latest/input .html).
175+ [documentation](https://docs.esmvaltool.org/projects/esmvalcore/ en/latest/quickstart/find_data .html).
173176The ` ` rootpath` ` specifies the directories where ESMValTool will look for input data.
174177For each category, you can define either one path or several paths as a list.
175178
@@ -181,7 +184,8 @@ rootpath:
181184 default : ~/default_inputpath
182185 CORDEX : ~/default_inputpath
183186` ` `
184- Site-specific entries for Jasmin, DKRZ and ETHZ are listed at the end of the example configuration file.
187+ Site-specific entries for Jasmin, DKRZ and ETHZ are listed at the end of the
188+ example configuration file.
185189
186190In this lesson, we will work with data from
187191[CMIP5](https://esgf-node.llnl.gov/projects/cmip5/).
@@ -195,10 +199,10 @@ We add the root path of the folder where our/your data is available.
195199
196200> ## Setting the correct rootpath
197201>
198- > - To get the data (or its correct rootpath), check instruction in [Setup]({{
199- > page.root }}{% link setup.md %}).
202+ > - To get the data (or its correct rootpath), check instruction in
203+ > [Setup]({{ page.root }}{% link setup.md %}).
200204> - For more information about setting the rootpath, see also the ESMValTool
201- > [documentation](https://esmvaltool.readthedocs.io /projects/esmvalcore/en/latest/esmvalcore/datafinder.html).
205+ > [documentation](https://docs. esmvaltool.org /projects/esmvalcore/en/latest/esmvalcore/datafinder.html).
202206{: .callout}
203207
204208## Directory structure for the data from different projects
225229> ## Make your own configuration file
226230>
227231> It is possible to have several configuration files with different purposes,
228- > for example: config-user_formalised_runs.yml, config-user_debugging.yml
232+ > for example: config-user_formalised_runs.yml, config-user_debugging.yml
229233{: .callout}
230234
231235> ## Saving preprocessed data
@@ -235,11 +239,13 @@ drs:
235239>
236240>> ## Solution
237241>>
238- > > If the option ` ` save_intermediary_cubes` ` is set to true in the
239- > > config-user.yml file, then the intermediary cubes will also be saved in the
240- > > folder ` ` preproc` ` . Also, if the option ` ` remove_preproc_dir` ` is set to
241- > > ` ` false` ` , then the ` ` preproc/` ` directory contains all the preprocessed
242- > > data and the metadata interface files.
242+ > > If the option ` ` remove_preproc_dir` ` is set to ` ` false` ` , then the
243+ > > ` ` preproc/` ` directory contains all the pre-processed data and the
244+ > > metadata interface files.
245+ > > If the option ` ` save_intermediary_cubes` ` is set to ` ` true` `
246+ > > then data will also be saved after each preprocessor step in the folder
247+ > > ` ` preproc` ` . Note that saving all intermediate results to file will result
248+ > > in a considerable slowdown.
243249> {: .solution}
244250{: .challenge}
245251
0 commit comments