Public Member Functions

PARASOLDataFormat Class Reference

Inheritance diagram for PARASOLDataFormat:
Inheritance graph
[legend]
Collaboration diagram for PARASOLDataFormat:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PARASOLDataFormat (const PARASOLProduct product=UNDEFINED)
const RecordFormat * get_data_file_descriptor_format () const
const RecordFormat * get_data_format () const
const int get_entry_index (const string &var_name) const
 access to the parameter number using the variable name Will throw a bad_parametre exception if no parametre with this name can be found.

Detailed Description

description of the PARASOL data files format (parametres name, position, size and type) for each level.

Author:
Nicolas PASCAL

Member Function Documentation

const int PARASOLDataFormat::get_entry_index ( const string &  var_name  )  const

access to the parameter number using the variable name Will throw a bad_parametre exception if no parametre with this name can be found.

Warning:
What is called here the parametre index is different than the parametre number in the PARASOL DPC : it runs from 0, and the record number is considered as the first parametre : For example, in the level 1B products data (see DPC page 18), the Pixel Quality Index is the parametre #1 using the DPC nomenclatura, but using this method it will have an index of 6
Parameters:
var_name the name of the variable
Returns:
the parameter index (or -1 if no found)

Referenced by PARASOLData::get_data_entry_index(), PARASOLFileData::get_entry_format(), PARASOLData::get_nb_val(), and PARASOLFileData::read_count_data().


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