model get-value¶
Get one or more values in the configuration
usage: model get-value [-h] [-ep] [-pp] [-a] [-P] [-g] [-p str] [-nf] [-k]
[-b str] [-arc]
level0.level1.level... [level0.level1.level... ...]
Positional Arguments¶
level0.level1.level... | |
A list of keys to get the values of.
If the key goes some
levels deeper, keys may be separated by a '.' (e.g.
'namelists.weathergen' ). Hence, to insert a ',' , it must
be escaped by a preceeding '' . |
Named Arguments¶
-ep, --exp-path | |
If True/set, print the filename of the experiment configuration Default: False | |
-pp, --project-path | |
If True/set, print the filename on the project configuration Default: False | |
-a, --all | If True/set, the information on all experiments are printed Default: False |
-P, --on-projects | |
If set, show information on the projects rather than the experiment Default: False | |
-g, --globally | If set, show the global configuration settings Default: False |
-p, --projectname | |
The name of the project that shall be used. If provided and on_projects is not True, the information on all experiments for this project will be shown | |
-nf, --no-fix | If set, paths are given relative to the root directory of the project Default: False |
-k, --only-keys | |
If True, only the keys of the given dictionary are printed Default: False | |
-b, --base | A base string that shall be put in front of each key in values to avoid typing it all the time Default: “” |
-arc, --archives | |
If True, print the archives and the corresponding experiments for the specified project Default: False |