Public Member Functions | |
| t_grib_var_desc (const string &name="", const string &long_name="", const int param_id=-1, const string &type_id="", const int sz_x=-1, const int sz_y=-1, const string &z_level_type="", const double fill_value=-DBL_MAX, const double scale=-DBL_MAX, const double offset=-DBL_MAX) | |
| constructor | |
| ~t_grib_var_desc () | |
| destructor | |
| const string | to_string (void) const |
| return content description as a string | |
| void | add_msg (const int i_msg, const int z_lvl) |
| add the given message to the list of variable's messages | |
| vector< int > | get_sz_dims (void) |
| access to the variable dimensions size, in [Z,Y,X] order for multi levels variables. [Y,X] for 2D | |
Public Attributes | |
| string | name |
| string | long_name |
| int | param_id |
| string | type_id |
| int | sz_x |
| int | sz_y |
| string | z_level_type |
| double | fill_value |
| double | scale |
| double | offset |
| vector< int > | v_msg |
| vector< int > | v_lvl |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const t_grib_var_desc &grib_var_desc) |
| return content description as an output stream | |
| t_grib_var_desc::t_grib_var_desc | ( | const string & | name = "", |
|
| const string & | long_name = "", |
|||
| const int | param_id = -1, |
|||
| const string & | type_id = "", |
|||
| const int | sz_x = -1, |
|||
| const int | sz_y = -1, |
|||
| const string & | z_level_type = "", |
|||
| const double | fill_value = -DBL_MAX, |
|||
| const double | scale = -DBL_MAX, |
|||
| const double | offset = -DBL_MAX | |||
| ) | [inline] |
constructor
| name | name of the variable | |
| long_name | extended name of the variable | |
| param_id | GRIB parameter ID | |
| type_id | type of the packed binary data | |
| sz_x | longitude dimension size | |
| sz_y | latitude dimension size | |
| z_level_type | type of vertical level. Can be an empty string, surface, isobaricInhPa or hybrid | |
| fill_value | the fill value | |
| scale | scaling factor | |
| offset | scaling add offset |
| void t_grib_var_desc::add_msg | ( | const int | i_msg, | |
| const int | z_lvl | |||
| ) | [inline] |
add the given message to the list of variable's messages
| i_msg | indice of the message | |
| z_lvl | vertical level value |
| vector<int> t_grib_var_desc::get_sz_dims | ( | void | ) | [inline] |
access to the variable dimensions size, in [Z,Y,X] order for multi levels variables. [Y,X] for 2D
| double t_grib_var_desc::fill_value |
fill value
| string t_grib_var_desc::long_name |
int name of the variable
| string t_grib_var_desc::name |
name of the variable
| double t_grib_var_desc::offset |
scaling add offset
GRIB parameter ID
| double t_grib_var_desc::scale |
scaling factor
longitude dimension size
latitude dimension size
| string t_grib_var_desc::type_id |
type of the packed binary data in a numpy-like format : uint16, float32...
| vector<int> t_grib_var_desc::v_lvl |
vertical level of the messages, with the same indice than in v_msg
Referenced by ECMWFFileData::get_nb_pressure_levels(), and ECMWFFileData::get_pressure_levels().
| vector<int> t_grib_var_desc::v_msg |
indices of messages related to the variable. As many messages as vertical levels
type of z level
1.7.1