Go to the documentation of this file.
106 os <<
" is not a numeric grid.";
108 throw runtime_error(os.str());
139 os <<
" is not a numeric grid.";
141 throw runtime_error(os.str());
172 os <<
" is not a string grid.";
174 throw runtime_error(os.str());
206 os <<
" is not a string grid.";
208 throw runtime_error(os.str());
257 if (gf.
mname.size()) os << gf.
mname <<
":" << endl;
262 else os <<
"Grid " << i;
289 return os << *((
GriddedField*)&gf) <<
"Data:" << endl << gf.data << endl;
302 return os << *((
GriddedField*)&gf) <<
"Data:" << endl << gf.data;
315 return os << *((
GriddedField*)&gf) <<
"Data:" << endl << gf.data;
328 return os << *((
GriddedField*)&gf) <<
"Data:" << endl << gf.data;
Implementation of gridded fields.
const ArrayOfString & get_string_grid(Index i) const
Get a string grid.
The declarations of all the exception classes.
Array< GridType > mgridtypes
Index get_dim() const
Get the dimension of this gridded field.
ArrayOfVector mnumericgrids
ConstVectorView get_numeric_grid(Index i) const
Get a numeric grid.
GridType get_grid_type(Index i) const
Get grid type.
Array< ArrayOfString > mstringgrids
void copy_grids(const GriddedField &gf)
Copy grids.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
ostream & operator<<(ostream &os, const GriddedField &gf)
Output operator for GriddedField.
INDEX Index
The type to use for all integer numbers and indices.
A constant view of a Vector.
This file contains the definition of String, the ARTS string class.