ARTS 2.5.4 (git: 31ce4f0e)
gridded_fields.h File Reference

Implementation of gridded fields. More...

#include <stdexcept>
#include <utility>
#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
 

Namespaces

namespace  GriddedFieldGrids
 

Macros

#define CHECK_ERROR_BOILERPLATE
 

Typedefs

using ArrayOfGridType = Array< GridType >
 
using ArrayOfGriddedField1 = Array< GriddedField1 >
 
using ArrayOfGriddedField2 = Array< GriddedField2 >
 
using ArrayOfGriddedField3 = Array< GriddedField3 >
 
using ArrayOfGriddedField4 = Array< GriddedField4 >
 
using ArrayOfGriddedField5 = Array< GriddedField5 >
 
using ArrayOfArrayOfGriddedField1 = Array< Array< GriddedField1 > >
 
using ArrayOfArrayOfGriddedField2 = Array< Array< GriddedField2 > >
 
using ArrayOfArrayOfGriddedField3 = Array< Array< GriddedField3 > >
 

Enumerations

enum  GridType { GRID_TYPE_NUMERIC , GRID_TYPE_STRING }
 

Functions

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

Variables

constexpr Index GriddedFieldGrids::GFIELD1_F_GRID = 0
 Global constant, Index of the frequency grid in GriddedField1. More...
 
constexpr Index GriddedFieldGrids::GFIELD3_P_GRID = 0
 Global constant, Index of the pressure grid in GriddedField3. More...
 
constexpr Index GriddedFieldGrids::GFIELD3_LAT_GRID = 1
 Global constant, Index of the latitude grid in GriddedField3. More...
 
constexpr Index GriddedFieldGrids::GFIELD3_LON_GRID = 2
 Global constant, Index of the longitude grid in GriddedField3. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_FIELD_NAMES = 0
 Global constant, Index of the field names in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_IA_GRID = 0
 Global constant, Index of incidence angles in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_P_GRID = 1
 Global constant, Index of the pressure grid in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_F_GRID = 1
 Global constant, Index of the frequency grid in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_LAT_GRID = 2
 Global constant, Index of the latitude grid in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_ZA_GRID = 2
 Global constant, Index of the zenith angle grid in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_LON_GRID = 3
 Global constant, Index of the longitude grid in GriddedField4. More...
 
constexpr Index GriddedFieldGrids::GFIELD4_AA_GRID = 3
 Global constant, Index of the azimuth angle grid in GriddedField4. 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 122 of file gridded_fields.h.

Typedef Documentation

◆ ArrayOfArrayOfGriddedField1

Definition at line 566 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField2

Definition at line 567 of file gridded_fields.h.

◆ ArrayOfArrayOfGriddedField3

Definition at line 568 of file gridded_fields.h.

◆ ArrayOfGriddedField1

Definition at line 561 of file gridded_fields.h.

◆ ArrayOfGriddedField2

Definition at line 562 of file gridded_fields.h.

◆ ArrayOfGriddedField3

Definition at line 563 of file gridded_fields.h.

◆ ArrayOfGriddedField4

Definition at line 564 of file gridded_fields.h.

◆ ArrayOfGriddedField5

Definition at line 565 of file gridded_fields.h.

◆ ArrayOfGridType

Definition at line 120 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 118 of file gridded_fields.h.

Function Documentation

◆ metaErrorData()

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

Definition at line 128 of file gridded_fields.h.

References CHECK_ERROR_BOILERPLATE, and N.