22#include "matpack_data.h"
46 const Numeric& x_high);
51 const Numeric& x_high);
56 const Numeric& x_high);
61 const Numeric& x_high);
78 Numeric margin = 1e-6);
133 std::ostringstream os;
141 switch (pos.
nelem()) {
144 os <<
"The array *" << x_name <<
"* must contain the element " << what
146 <<
"but it does not.";
156 os <<
"The array *" << x_name <<
"* must contain the element " << what
158 <<
"exactly once, but it does contain it " << pos.
nelem() <<
" times.";
185 "The array *", x_name,
"*\n"
186 "does not have the right size.\n"
187 "The size should be: ",
c,
"\n"
188 "but it is: ", x.
nelem())
246 const String& which_interpolation,
247 ConstVectorView old_grid,
248 ConstVectorView new_grid,
249 ConstVectorView data,
250 const Index order = 1);
255 const String& which_interpolation,
256 ConstVectorView old_grid,
257 ConstVectorView new_grid,
258 const Index order = 1);
263 const String& which_interpolation,
264 ConstVectorView old_pgrid,
265 ConstVectorView new_pgrid,
266 const Index order = 1);
270 const String& which_interpolation,
271 ConstVectorView old_grid,
272 ConstVectorView new_grid,
273 ConstVectorView data);
276 ConstVectorView old_grid,
277 ConstVectorView new_grid,
278 const Index order = 1,
279 const Numeric& extpolfac = 0.5,
280 const bool islog =
false);
283 ConstVectorView old_grid,
284 const Numeric& new_grid,
285 const Index order = 1,
286 const Numeric& extpolfac = 0.5);
289 ConstVectorView old_pgrid,
290 ConstVectorView new_pgrid,
291 const Index order = 1,
292 const Numeric& extpolfac = 0.5);
295 ConstVectorView p_grid,
296 ConstVectorView lat_grid,
297 ConstVectorView lon_grid);
302 ConstVectorView p_grid,
303 ConstVectorView lat_grid,
304 ConstVectorView lon_grid,
305 const bool& chk_lat90 = 1);
310 const Index& nspecies,
311 ConstVectorView p_grid,
312 ConstVectorView lat_grid,
313 ConstVectorView lon_grid,
314 const bool& check_nan = 1);
321 ConstVectorView lat_grid,
322 const Numeric& threshold = 1e-3);
326 ConstVectorView lat_grid,
327 ConstVectorView lat_true,
328 ConstVectorView lon_true);
333 ConstVectorView lat_grid,
334 ConstVectorView lon_grid);
337 ConstVectorView rte_pos,
338 const bool& is_rte_pos2 =
false);
340void chk_rte_los(
const Index& atmosphere_dim, ConstVectorView rte_los);
343 const Index gridindex,
void find_all(ArrayOfIndex &pos, const Array< base > &x, const base &w)
Find all occurances.
Index nelem() const ARTS_NOEXCEPT
Subclasses of runtime_error.
runtime_error_not_found(const std::string &s)
Subclasses of runtime_error.
runtime_error_not_unique(const std::string &s)
#define ARTS_USER_ERROR_IF(condition,...)
The declarations of all the exception classes.
Implementation of gridded fields.
This file contains the definition of String, the ARTS string class.