-
Notifications
You must be signed in to change notification settings - Fork 9
Description
The problem
Currently, ESMValTool diagnostics are invoked with the --config-dir
option. This will NOT prevent ESMValTool from parsing user configuration files at ~/.config/esmvaltool/
(see here).
This might lead to errors during REF runs or unit tests if the user specified invalid or non-suitable (e.g., additional rootpaths) options in their own configuration file.
Definition of "done"
ESMValTool should be "encapsulated" within the REF, i.e., tests and runs should be independent from potential ESMValTool user configuration files and not fail because of bad ESMValTool user configuration files.
Additional context
This can be solved fairly easily by using the environment variable ESMVALTOOL_CONFIG_DIR
instead of the command line option --config_dir
. In addition, it would be nice to ensure that potential old configuration files are ignored (requires ESMValGroup/ESMValCore#2736).