Go to the documentation of this file.
41 out3 <<
" Manual agenda execution\n";
53 const Agenda& input_agenda,
56 output_agenda = input_agenda;
59 output_agenda.
check(ws, verbosity);
68 const String& output_agenda_name,
72 const String& in_agenda_name,
74 const Agenda& input_agenda,
77 if (output_agenda_name != in_agenda_name)
80 os <<
"Output and input agenda must be the same!" << endl
81 <<
"*" << output_agenda_name <<
"* and *" << in_agenda_name <<
"* "
83 throw runtime_error (os.str());
87 for (
Index i = 0; i < input_agenda.
Methods().nelem(); i++)
88 methods.push_back(input_agenda.
Methods()[i]);
91 output_agenda.
check(ws, verbosity);
110 const Agenda& input_agenda,
Declarations for AgRecord, storing lookup information for one agenda.
void execute(Workspace &ws) const
Execute an agenda.
Index get_wsv_id(const String &name)
Get index of WSV.
void set_methods(const Array< MRecord > &ml)
Declarations for agendas.
void AgendaAppend(Workspace &ws, Agenda &output_agenda, const String &output_agenda_name, const Agenda &in_agenda, const String &in_agenda_name, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaAppend.
Declarations having to do with the four output streams.
The implementation for String, the ARTS string class.
void AgendaSet(Workspace &ws, Agenda &output_agenda, const String &agenda_name, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaSet.
void Arts(Workspace &, const Agenda &, const Verbosity &verbosity)
WORKSPACE METHOD: Arts.
void check(Workspace &ws, const Verbosity &verbosity)
Checks consistency of an agenda.
This file contains the declaration and partly the implementation of the workspace class.
void Arts2(Workspace &ws, const Agenda &input_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: Arts2.
void AgendaExecute(Workspace &ws, const Agenda &this_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: AgendaExecute.
void set_name(const String &nname)
Set agenda name.
INDEX Index
The type to use for all integer numbers and indices.
const Array< MRecord > & Methods() const
void arts_exit_with_error_message(const String &m, ArtsOut &out)
Print error message and exit.
Auxiliary header stuff related to workspace variable groups.