Go to the documentation of this file.
98 "Usage: arts [-hvbrmiwdg] [--help] [--version] [--basename <name>]\n"
100 " [--methods all|<variable>]\n"
101 " [--input <variable>]\n"
102 " [--workspacevariables all|<method>]\n"
103 " [--describe <method or variable>]\n"
105 " file1.arts file2.arts ...";
108 "The Atmospheric Radiative Transfer System.\n\n"
109 "-h, --help Print this message.\n"
110 "-v, --version Show version information.\n"
111 "-b, --basename Set the basename for the report\n"
112 " file and for other output files.\n"
113 "-r, --reporting Two digit integer. Sets the reporting\n"
114 " level for screen (first digit) anf file\n"
115 " (second digit). Levels can reach from 0\n"
116 " (only error messages) to 3 (everything).\n"
117 "-m, --methods If this is given the argument `all',\n"
118 " it simply prints a list of all methods.\n"
119 " If it is given the name of a variable\n"
120 " (or variable group), it prints all\n"
121 " methods that produce this\n"
122 " variable (or group) as output.\n"
123 "-i, --input This is complementary to the --methods switch.\n"
124 " It must be given the name of a variable (or group).\n"
125 " Then it lists all methods that take this variable\n"
126 " (or group) as input.\n"
127 "-w, --workspacevariables If this is given the argument `all',\n"
128 " it simply prints a list of all variables.\n"
129 " If it is given the name of a method, it\n"
130 " prints all variables needed by this method.\n"
131 "-d, --describe Print the description String of the given\n"
132 " workspace variable or method.\n"
133 "-g --groups List all workspace variable groups.";
147 while (NULL != longopts[i].
name )
149 char c = (char)longopts[i].
val;
174 while ( EOF != (optc =
getopt_long (argc, argv, shortopts.c_str(),
175 longopts, (
int *) 0) ) )
199 if ( !is || !is.eof() )
201 cerr <<
"Argument to --reporting (-r) must be an integer!\n";
String input
This is complementary to the methods switch.
Index reporting
This should be a two digit integer.
String describe
Print the description String of the given workspace variable or method.
bool groups
Print a list of all workspace variable groups.
String methods
If this is given the argument ‘all’, it simply prints a list of all methods.
String helptext
Longer message explaining the options.
ArrayOfString controlfiles
The filenames of the controlfiles.
String basename
If this is specified (with the -b –basename option), it is used as the base name for the report file ...
bool get_parameters(int argc, char **argv)
Get the command line parameters.
#define optional_argument
This file contains header information for the dealing with command line parameters.
Structure to hold all command line Parameters.
bool version
Display version information.
Parameters parameters
Holds the command line parameters.
String usage
Short message how to call the program.
String workspacevariables
If this is given the argument ‘all’, it simply prints a list of all workspace variables.
#define required_argument
bool help
Only display the help text.
The global header file for ARTS.