# MI - Fimex: felt::FeltField Class Reference

# felt::FeltField Class Reference

`#include <FeltField.h>`

List of all members.

## Public Types

typedef boost::array< word, 16 > | Header

## Public Member Functions

| FeltField (const FeltFile &ff, size_t index)
| ~FeltField ()
bool | valid () const
int | producer () const
int | gridArea () const
boost::posix_time::ptime | referenceTime () const
boost::posix_time::ptime | validTime () const
int | parameter () const
int | dataType () const
int | verticalCoordinate () const
int | level1 () const
int | level2 () const
int | gridType () const
void | grid (std::vector< word > &out) const
size_t | gridSize () const
int | scaleFactor () const
int | xNum () const
int | yNum () const
int | miscField () const
| this field is described in the felt documentation as "word 19 in data part"
int | dataVersion () const
FeltGridDefinitionPtr | projectionInformation () const
| throws
std::string | information () const
std::string | gridInformation () const
const Header & | getHeader () const
| access felt index header

## Member Typedef Documentation

typedef boost::array<word, 16> felt::FeltField::Header

## Constructor & Destructor Documentation

felt::FeltField::FeltField | ( | const FeltFile & | ff,
|  | size_t | index |
| ) |  |  |

felt::FeltField::~FeltField | ( |  | ) |

## Member Function Documentation

bool felt::FeltField::valid | ( |  | ) | const`[inline]`

References gridSize().

int felt::FeltField::producer | ( |  | ) | const`[inline]`

int felt::FeltField::gridArea | ( |  | ) | const`[inline]`

boost::posix_time::ptime felt::FeltField::referenceTime | ( |  | ) | const

boost::posix_time::ptime felt::FeltField::validTime | ( |  | ) | const

int felt::FeltField::parameter | ( |  | ) | const`[inline]`

int felt::FeltField::dataType | ( |  | ) | const`[inline]`

read the time dataType, i.e. 1=analysis 2=interpolated/initialization 3=prognosis 4=parameter-field(no time)

int felt::FeltField::verticalCoordinate | ( |  | ) | const`[inline]`

int felt::FeltField::level1 | ( |  | ) | const`[inline]`

int felt::FeltField::level2 | ( |  | ) | const`[inline]`

int felt::FeltField::gridType | ( |  | ) | const`[inline]`

void felt::FeltField::grid | ( | std::vector< word > & | out | ) | const

Read the grid from file.

size_t felt::FeltField::gridSize | ( |  | ) | const

Referenced by valid().

int felt::FeltField::scaleFactor | ( |  | ) | const

int felt::FeltField::xNum | ( |  | ) | const

int felt::FeltField::yNum | ( |  | ) | const

int felt::FeltField::miscField | ( |  | ) | const

this field is described in the felt documentation as "word 19 in data part"

int felt::FeltField::dataVersion | ( |  | ) | const

Get data version if this is an eps parameter, otherwise 0

FeltGridDefinitionPtr felt::FeltField::projectionInformation | ( |  | ) | const

throws

std::string felt::FeltField::information | ( |  | ) | const

std::string felt::FeltField::gridInformation | ( |  | ) | const

const Header& felt::FeltField::getHeader | ( |  | ) | const`[inline]`

access felt index header

The documentation for this class was generated from the following file:

- include/felt/FeltField.h