Go to the documentation of this file.
159 switch (pos.
nelem()) {
162 os <<
"The array *" << x_name <<
"* must contain the element " << what
164 <<
"but it does not.";
174 os <<
"The array *" << x_name <<
"* must contain the element " << what
176 <<
"exactly once, but it does contain it " << pos.
nelem() <<
" times.";
202 if (
x.nelem() != c) {
204 os <<
"The array *" << x_name <<
"*\n"
205 <<
"does not have the right size.\n"
206 <<
"The size should be: " << c <<
"\n"
207 <<
"but it is: " <<
x.nelem();
208 throw runtime_error(os.str());
267 const String& which_interpolation,
271 const Index order = 1);
276 const String& which_interpolation,
279 const Index order = 1);
284 const String& which_interpolation,
287 const Index order = 1);
291 const String& which_interpolation,
299 const Index order = 1,
300 const Numeric& extpolfac = 0.5,
301 const bool islog =
false);
306 const Index order = 1,
307 const Numeric& extpolfac = 0.5);
312 const Index order = 1,
313 const Numeric& extpolfac = 0.5);
326 const bool& chk_lat90 = 1);
331 const Index& nspecies,
335 const bool& check_nan = 1);
343 const Numeric& threshold = 1e-3);
359 const bool& is_rte_pos2 =
false);
364 const Index gridindex,
369 #endif // checkinput_h
Index atmosphere_dim(Workspace &ws) noexcept
Implementation of gridded fields.
The declarations of all the exception classes.
Vector lat_grid(Workspace &ws) noexcept
A constant view of a Tensor7.
runtime_error_not_unique(const string &s)
Subclasses of runtime_error.
G0 G2 FVC Y DV Numeric Numeric Numeric Zeeman LowerQuantumNumbers void * data
Vector lon_true(Workspace &ws) noexcept
A constant view of a Tensor4.
This can be used to make arrays out of anything.
Declarations for agendas.
Vector rte_pos(Workspace &ws) noexcept
Vector rte_los(Workspace &ws) noexcept
Vector p_grid(Workspace &ws) noexcept
runtime_error_not_found(const string &s)
A constant view of a Tensor6.
NUMERIC Numeric
The type to use for all floating point numbers.
Vector lat_true(Workspace &ws) noexcept
Subclasses of runtime_error.
Vector lon_grid(Workspace &ws) noexcept
A constant view of a Matrix.
void find_all(ArrayOfIndex &pos, const Array< base > &x, const base &w)
Find all occurances.
A constant view of a Tensor3.
Vector x(Workspace &ws) noexcept
INDEX Index
The type to use for all integer numbers and indices.
A constant view of a Vector.
Index nelem() const
Number of elements.
A constant view of a Tensor5.
This file contains the definition of String, the ARTS string class.