This class handles the whole MeteoIO Data Editing step. It builds for each station ID (including the '*' wildcard) a stack of all EditingBlock to apply, resolve the dependencies (ie in which order all the station IDs should be processed) and walks through the stacks to apply the processing.
In the process, it also extract all the arguments for each EditingBlock and store them into a vector of key/value pairs that is then provided to the EditingBlock to be parsed. It also purges the station IDs that have been merged into other ones from the final results.
#include <DataEditing.h>
Public Member Functions | |
DataEditing (const Config &) | |
DataEditing & | operator= (const DataEditing &) |
Assignement operator. More... | |
virtual | ~DataEditing () |
void | editTimeSeries (std::vector< METEO_SET > &vecMeteo) |
void | editTimeSeries (STATIONS_SET &vecStation) |
const std::string | toString () const |
Static Public Member Functions | |
static void | purgeTrailingNodata (std::vector< METEO_SET > &vecMeteo) |
Public Attributes | |
TimeProcStack | timeproc |
mio::DataEditing::DataEditing | ( | const Config & | cfgreader | ) |
|
virtual |
void mio::DataEditing::editTimeSeries | ( | STATIONS_SET & | vecStation | ) |
void mio::DataEditing::editTimeSeries | ( | std::vector< METEO_SET > & | vecMeteo | ) |
DataEditing & mio::DataEditing::operator= | ( | const DataEditing & | source | ) |
Assignement operator.
|
static |
const std::string mio::DataEditing::toString | ( | ) | const |
TimeProcStack mio::DataEditing::timeproc |