MeteoIODoc  2.10.0
mio::DataEditing Class Reference

Detailed Description

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.

Author
Mathias Bavay

#include <DataEditing.h>

Public Member Functions

 DataEditing (const Config &)
 
DataEditingoperator= (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
 

Constructor & Destructor Documentation

◆ DataEditing()

mio::DataEditing::DataEditing ( const Config cfgreader)

◆ ~DataEditing()

mio::DataEditing::~DataEditing ( )
virtual

Member Function Documentation

◆ editTimeSeries() [1/2]

void mio::DataEditing::editTimeSeries ( STATIONS_SET vecStation)

◆ editTimeSeries() [2/2]

void mio::DataEditing::editTimeSeries ( std::vector< METEO_SET > &  vecMeteo)

◆ operator=()

DataEditing & mio::DataEditing::operator= ( const DataEditing source)

Assignement operator.

◆ purgeTrailingNodata()

void mio::DataEditing::purgeTrailingNodata ( std::vector< METEO_SET > &  vecMeteo)
static

◆ toString()

const std::string mio::DataEditing::toString ( ) const

Member Data Documentation

◆ timeproc

TimeProcStack mio::DataEditing::timeproc

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