ARTS 2.5.4 (git: 4c0d3b4d)
gridded_fields.h File Reference

Implementation of gridded fields. More...

#include <stdexcept>
#include "array.h"
#include "matpackVI.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< GriddedField5ArrayOfGriddedField5
 
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

template<Index N, typename GriddedFieldType >
String metaErrorData (const GriddedFieldType &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField1 &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField2 &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField3 &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField4 &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField5 &gf)
 
std::ostream & operator<< (std::ostream &os, const GriddedField6 &gf)
 

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 46 of file gridded_fields.h.

Typedef Documentation

◆ ArrayOfArrayOfGriddedField1

Definition at line 496 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField2

Definition at line 497 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField3

Definition at line 498 of file gridded_fields.h.

◆ ArrayOfGriddedField1

Definition at line 491 of file gridded_fields.h.

◆ ArrayOfGriddedField2

Definition at line 492 of file gridded_fields.h.

◆ ArrayOfGriddedField3

Definition at line 493 of file gridded_fields.h.

◆ ArrayOfGriddedField4

Definition at line 494 of file gridded_fields.h.

◆ ArrayOfGriddedField5

Definition at line 495 of file gridded_fields.h.

◆ ArrayOfGridType

Definition at line 44 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

◆ metaErrorData()

template<Index N, typename GriddedFieldType >
String metaErrorData ( const GriddedFieldType &  gf)

Definition at line 52 of file gridded_fields.h.

References CHECK_ERROR_BOILERPLATE, and N.

◆ operator<<() [1/7]

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

◆ operator<<() [2/7]

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

◆ operator<<() [3/7]

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

◆ operator<<() [4/7]

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

◆ operator<<() [5/7]

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

◆ operator<<() [6/7]

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

◆ operator<<() [7/7]

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