ARTS  2.2.66
gridded_fields.h File Reference

Implementation of gridded fields. More...

#include <stdexcept>
#include "matpackVI.h"
#include "array.h"
#include "mystring.h"

Go to the source code of this file.

Classes

class  GriddedField
 
class  GriddedField1
 
class  GriddedField2
 
class  GriddedField3
 
class  GriddedField4
 
class  GriddedField5
 
class  GriddedField6
 

Macros

#define CHECK_ERROR_BOILERPLATE
 

Typedefs

typedef Array< GridTypeArrayOfGridType
 
typedef Array< GriddedField1ArrayOfGriddedField1
 
typedef Array< GriddedField2ArrayOfGriddedField2
 
typedef Array< GriddedField3ArrayOfGriddedField3
 
typedef Array< GriddedField4ArrayOfGriddedField4
 
typedef Array< Array< GriddedField1 > > ArrayOfArrayOfGriddedField1
 
typedef Array< Array< GriddedField2 > > ArrayOfArrayOfGriddedField2
 
typedef Array< Array< GriddedField3 > > ArrayOfArrayOfGriddedField3
 

Enumerations

enum  GridType { GRID_TYPE_NUMERIC, GRID_TYPE_STRING }
 

Functions

std::ostream & operator<< (std::ostream &os, const GriddedField &gf)
 Output operator for GriddedField. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField1 &gf)
 See GriddedField::operator<<. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField2 &gf)
 See GriddedField::operator<<. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField3 &gf)
 See GriddedField::operator<<. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField4 &gf)
 See GriddedField::operator<<. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField5 &gf)
 See GriddedField::operator<<. More...
 
std::ostream & operator<< (std::ostream &os, const GriddedField6 &gf)
 See GriddedField::operator<<. More...
 

Detailed Description

Implementation of gridded fields.

Author
Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo
Date
2008-06-24

This file contains the implementation for gridded fields. Gridded fields are needed to store moredimesional data together with the corresponding grids in the same variable.

For further description see ARTS Developer Guide.

Definition in file gridded_fields.h.

Macro Definition Documentation

◆ CHECK_ERROR_BOILERPLATE

#define CHECK_ERROR_BOILERPLATE
Value:
"size mismatch between grids and data.\n" \
"Note that a grid is allowed to be empty, but in the\n" \
"data that dimension must have exactly one element.\n"

Definition at line 49 of file gridded_fields.h.

Typedef Documentation

◆ ArrayOfArrayOfGriddedField1

Definition at line 592 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField2

Definition at line 593 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField3

Definition at line 594 of file gridded_fields.h.

◆ ArrayOfGriddedField1

Definition at line 588 of file gridded_fields.h.

◆ ArrayOfGriddedField2

Definition at line 589 of file gridded_fields.h.

◆ ArrayOfGriddedField3

Definition at line 590 of file gridded_fields.h.

◆ ArrayOfGriddedField4

Definition at line 591 of file gridded_fields.h.

◆ ArrayOfGridType

Definition at line 47 of file gridded_fields.h.

Enumeration Type Documentation

◆ GridType

enum GridType

Enumeration containing the possible grid types for gridded fields

Enumerator
GRID_TYPE_NUMERIC 
GRID_TYPE_STRING 

Definition at line 42 of file gridded_fields.h.

Function Documentation

◆ operator<<() [1/7]

std::ostream& operator<< ( ostream &  os,
const GriddedField gf 
)

Output operator for GriddedField.

Outputs the grids for the given GriddedField.

Parameters
[in,out]osOutput stream.
[in]gfGriddedField.

Definition at line 257 of file gridded_fields.cc.

References GriddedField::dim, GRID_TYPE_NUMERIC, GRID_TYPE_STRING, GriddedField::mgridnames, GriddedField::mgridtypes, GriddedField::mname, GriddedField::mnumericgrids, and GriddedField::mstringgrids.

◆ operator<<() [2/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField1 gf 
)

See GriddedField::operator<<.

Definition at line 283 of file gridded_fields.cc.

◆ operator<<() [3/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField2 gf 
)

See GriddedField::operator<<.

Definition at line 290 of file gridded_fields.cc.

◆ operator<<() [4/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField3 gf 
)

See GriddedField::operator<<.

Definition at line 297 of file gridded_fields.cc.

◆ operator<<() [5/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField4 gf 
)

See GriddedField::operator<<.

Definition at line 304 of file gridded_fields.cc.

◆ operator<<() [6/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField5 gf 
)

See GriddedField::operator<<.

Definition at line 311 of file gridded_fields.cc.

◆ operator<<() [7/7]

std::ostream& operator<< ( std::ostream &  os,
const GriddedField6 gf 
)

See GriddedField::operator<<.

Definition at line 318 of file gridded_fields.cc.