28using std::ostringstream;
29using std::runtime_error;
44 for (Index i = 0; i <
dim; i++) {
74 " is not a numeric grid.")
92 " is not a numeric grid.")
110 " is not a string grid.")
128 " is not a string grid.")
168 if (gf.
mname.size()) os << gf.
mname <<
":" << endl;
170 for (Index i = 0; i < gf.
dim; i++) {
ArrayOfVector mnumericgrids
Array< ArrayOfString > mstringgrids
const ArrayOfString & get_string_grid(Index i) const
Get a string grid.
Index get_dim() const
Get the dimension of this gridded field.
void copy_grids(const GriddedField &gf)
Copy grids.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
GridType get_grid_type(Index i) const
Get grid type.
const Vector & get_numeric_grid(Index i) const
Get a numeric grid.
Array< GridType > mgridtypes
#define ARTS_ASSERT(condition,...)
std::string var_string(Args &&... args)
#define ARTS_USER_ERROR_IF(condition,...)
The declarations of all the exception classes.
ostream & operator<<(ostream &os, const GriddedField &gf)
Output operator for GriddedField.
Implementation of gridded fields.
This file contains the definition of String, the ARTS string class.