|
MeteoIODoc 20251207.a703fe45
Environmental timeseries pre-processing
|
COMBINE input editing command.
This algorithm allows combining several parameters into a single parameter for gap filling or to create a new, composite parameter. This is useful, for example in order to fill gaps in a 2m air temperature with air temperatures from other sensors or from other heights. Several methods to combine the parameters are available with the TYPE argument and an arbitrary number of source parameters can be provided. Please note that after processing, the source parameters will be deleted! It takes the following arguments:
#include <DataEditingAlgorithms.h>
Public Types | |
| enum | CombineType { FIRST , MIN , AVG , MAX } |
Public Member Functions | |
| EditingCombine (const std::string &i_stationID, const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg) | |
| virtual void | editTimeSeries (std::vector< METEO_SET > &vecMeteo) override |
| Apply this editing block. | |
Public Member Functions inherited from mio::EditingBlock | |
| EditingBlock (const std::string &i_stationID, const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg) | |
| virtual | ~EditingBlock () |
| virtual void | editTimeSeries (STATIONS_SET &vecStation) |
| Apply this editing block to the StationData. | |
| virtual std::set< std::string > | requiredIDs () const |
| Get the station IDs this editing block depends on for this station. | |
| virtual std::set< std::string > | providedIDs () const |
| Get the station IDs this editing block provides based on this station. | |
| virtual std::set< std::string > | purgeIDs () const |
| Get the station IDs to purge after using them for this station ID. | |
| const std::string | toString () const |
Additional Inherited Members | |
Protected Member Functions inherited from mio::EditingBlock | |
| std::string | getName () const |
| bool | skipStation (const std::vector< MeteoData > &vecMeteo) const |
| Return true if this station ID should be skipped. | |
| METEO_SET | timeFilterFromStation (const METEO_SET &vecMeteo) const |
| Prepare a station that will be merged in case of time restrictions. | |
Static Protected Member Functions inherited from mio::EditingBlock | |
| static std::set< std::string > | initStationSet (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &keyword) |
Protected Attributes inherited from mio::EditingBlock | |
| const std::set< std::string > | excluded_stations |
| const std::set< std::string > | kept_stations |
| const std::vector< DateRange > | time_restrictions |
| const std::string | stationID |
| const std::string | block_name |
| mio::EditingCombine::EditingCombine | ( | const std::string & | i_stationID, |
| const std::vector< std::pair< std::string, std::string > > & | vecArgs, | ||
| const std::string & | name, | ||
| const Config & | cfg | ||
| ) |
|
overridevirtual |
Apply this editing block.
This applies the editing block for its station that has been declared in the constructor on the provided MeteoData timeseries.
| vecMeteo | MeteoData timeseries for all stations |
Reimplemented from mio::EditingBlock.