Public Member Functions | |
PARASOLFileFormat (const PARASOLProduct &product=UNDEFINED) | |
Static Public Member Functions | |
static const size_t | get_size_of (PARASOLDataType code) |
access the memory size needed to read one variable of the given PARASOL data type | |
static const int | get_level (const PARASOLProduct &product) |
return the level for a given product | |
static const int | get_nb_grid_line (const PARASOLProduct &product) |
return the number of grid lines for the given product | |
static const int | get_grid_factor (const PARASOLProduct &product) |
the product grid resolution relative to full resolution grid division factor | |
template<typename T > | |
static const T | get_missing_value (const int level) |
defines the value that represents the missing values in PARASOL files, using their type. This value is set this way : | |
template<typename T > | |
static const T | get_out_of_range_value (const int level) |
defines the value that represents the out of range values in PARASOL files, using their type. | |
Static Public Attributes | |
static const int | full_res_grid_col_max = 6480 |
static const int | full_res_grid_line_max = 3240 |
that describes one PARASOL file format, wether leader or data
const int PARASOLFileFormat::get_grid_factor | ( | const PARASOLProduct & | product | ) | [static] |
the product grid resolution relative to full resolution grid division factor
product | the product |
Referenced by get_nb_grid_line().
const int PARASOLFileFormat::get_level | ( | const PARASOLProduct & | product | ) | [static] |
return the level for a given product
product | the product code |
Referenced by PARASOLLeader::get_entry_block().
const T PARASOLFileFormat::get_missing_value | ( | const int | level | ) | [static] |
defines the value that represents the missing values in PARASOL files, using their type. This value is set this way :
const int PARASOLFileFormat::get_nb_grid_line | ( | const PARASOLProduct & | product | ) | [static] |
return the number of grid lines for the given product
References full_res_grid_line_max, and get_grid_factor().
const T PARASOLFileFormat::get_out_of_range_value | ( | const int | level | ) | [static] |
defines the value that represents the out of range values in PARASOL files, using their type.
const size_t PARASOLFileFormat::get_size_of | ( | PARASOLDataType | code | ) | [static] |
access the memory size needed to read one variable of the given PARASOL data type
code | the data type |
Referenced by PARASOLFileReader::fill_buffer_default(), PARASOLData::read_data(), and PARASOLFileReader::read_value().
const int PARASOLFileFormat::full_res_grid_col_max = 6480 [static] |
Number of PARASOL grid cells along the longitudes
const int PARASOLFileFormat::full_res_grid_line_max = 3240 [static] |
Number of PARASOL grid cells along the latitudes
Referenced by get_nb_grid_line().