-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Currently, esmvaltool run --help returns
> esmvaltool run --help
...
FLAGS
--config_file=CONFIG_FILE
Type: Optional[]
Default: None
Configuration file to use. If not provided the file ${HOME}/.esmvaltool/config-user.yml will be used.
--resume_from=RESUME_FROM
Type: Optional[]
Default: None
Resume one or more previous runs by using preprocessor output files from these output directories.
--max_datasets=MAX_DATASETS
Type: Optional[]
Default: None
Maximum number of datasets to use.
--max_years=MAX_YEARS
Type: Optional[]
Default: None
Maximum number of years to use.
--skip_nonexistent=SKIP_NONEXISTENT
Default: False
If True, the run will not fail if some datasets are not available.
--offline=OFFLINE
Type: Optional[]
Default: None
If True, the tool will not download missing data from ESGF.
--diagnostics=DIAGNOSTICS
Type: Optional[]
Default: None
Only run the selected diagnostics from the recipe. To provide more than one diagnostic to filter use the syntax 'diag1 diag2/script1' or '("diag1", "diag2/script1")' and pay attention to the quotes.
--check_level=CHECK_LEVEL
Default: 'default'
Configure the sensitivity of the CMOR check. Possible values are: `ignore` (all errors will be reported as warnings), `relaxed` (only fail if there are critical errors), default (fail if there are any errors), strict (fail if there are any warnings).
Additional flags are accepted.
These are clearly not all possible arguments, see for example here:
ESMValCore/esmvalcore/experimental/config/_config_validators.py
Lines 254 to 289 in 4b8bf66
| _validators = { | |
| # From user config | |
| 'log_level': validate_string, | |
| 'exit_on_warning': validate_bool, | |
| 'output_dir': validate_path, | |
| 'download_dir': validate_path, | |
| 'auxiliary_data_dir': validate_path, | |
| 'extra_facets_dir': validate_pathtuple, | |
| 'compress_netcdf': validate_bool, | |
| 'save_intermediary_cubes': validate_bool, | |
| 'remove_preproc_dir': validate_bool, | |
| 'max_parallel_tasks': validate_int_or_none, | |
| 'config_developer_file': validate_config_developer, | |
| 'profile_diagnostic': validate_bool, | |
| 'run_diagnostic': validate_bool, | |
| 'output_file_type': validate_string, | |
| # From CLI | |
| "resume_from": validate_pathlist, | |
| "skip-nonexistent": validate_bool, | |
| "diagnostics": validate_diagnostics, | |
| "check_level": validate_check_level, | |
| "offline": validate_bool, | |
| 'max_years': validate_int_positive_or_none, | |
| 'max_datasets': validate_int_positive_or_none, | |
| # From recipe | |
| 'write_ncl_interface': validate_bool, | |
| # oldstyle | |
| 'rootpath': validate_oldstyle_rootpath, | |
| 'drs': validate_oldstyle_drs, | |
| # config location | |
| 'config_file': validate_path, | |
| } |
@ESMValGroup/esmvaltool-coreteam Is there a certain strategy which options are shows in the help and which not? I think it would definitely make sense to show additional options (not all of them!), like run_diagnostic which even appears in the documentation.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation