#include <Felt_Array.h>
Public Member Functions | |
Felt_Array () | |
Felt_Array (const string name, const boost::array< short, 16 > idx, const string &dataType="short") | |
virtual | ~Felt_Array () |
void | addInformationByIndex (const boost::array< short, 16 > &idx, int fieldSize) throw (Felt_File_Error) |
const boost::array< short, 16 > & | getIndexHeader () const |
get the time/level independent index of this header | |
void | setDataHeader (boost::array< short, 20 > header) throw (Felt_File_Error) |
set the felt data-header for this array a Felt_File_Error will be thrown if the header is different for the different times/layers of this Array | |
const boost::array< short, 20 > & | getDataHeader () const |
get the time/level independent data-header | |
short | getLevelType () const |
get the felt level type of this array | |
void | setGridType (int gridType) |
set the gridType as used in libmi gridPar function | |
int | getGridType () const |
get the gridType | |
void | setGridParameters (boost::array< float, 6 > gridParameters) |
const boost::array< float, 6 > & | getGridParameters () const |
get the extra grid information from the end of the data | |
const string & | getName () const |
const string & | getDatatype () const |
double | getFillValue () const |
void | setFillValue (double fillValue) |
vector< time_t > | getTimes () const |
vector< short > | getLevels () const |
vector< pair< short, short > > | getLevelPairs () const |
int | getX () const |
int | getY () const |
short | getVerticalFeltType () const |
double | getScalingFactor () const |
boost::array< short, 16 > const | getIndex (time_t time, short level) throw (Felt_File_Error) |
int | getFieldSize (time_t time, short level) const throw (Felt_File_Error) |
store local variables of a parameter, partially retrieved from the diana.setup, partially retrieved from the file
|
constructor |
|
constructor applying the parameter name and the felt description index array
|
|
|
|
add information from the felt-index (usually retrieved from qfelt) to this Felt_Array the index given here must correspond to the initialization index |
|
get the time/level independent data-header
|
|
return the datatype as string short|float|double |
|
|
|
return the changed fill used in Felt_File::getScaledDataSlice |
|
get the extra grid information from the end of the data
|
|
get the gridType
|
|
return a copy of the index used within this Felt_Array |
|
get the time/level independent index of this header
|
|
return the level pairs (niveau 1, niveau 2) for this parameter as used by hybrid levels |
|
return the levels available for this parameter, sorted |
|
get the felt level type of this array
|
|
return the parameter name |
|
return scalingFactor |
|
return the times available for this parameter, sorted |
|
return the felt-type of the vertical axis |
|
return x/longitude size |
|
return y/latitude size |
|
set the felt data-header for this array a Felt_File_Error will be thrown if the header is different for the different times/layers of this Array
|
|
set the fill value to be used in Felt_File::getScaledDataSlice |
|
set all the grid parameters from the felt file as retrieved from libmi's gridPar function |
|
set the gridType as used in libmi gridPar function
|