KEEP input editing command.
It is possible to exclude ALL parameters except the ones declared with the "keep" command (it is the exact opposite of the EditingExclude command). If such a command has been used for the wildcard station ID '*', it will be applied first so it is not possible to "keep" some parameters that have already been excluded with the wildcard station ID. Here below an example relying on wildcards:
[InputEditing]
*::edit1 = KEEP ;all stations will keep TA, RH and HS and reject the other parameters
*::arg1::params = TA RH HS
WFJ2::edit1 = KEEP ;WFJ2 will only keep HS since ISWR has been removed by the '*' station above
WFJ2::arg1::params = HS ISWR
|
| EditingKeep (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) |
| Apply this editing block. More...
|
|
| 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 (std::vector< METEO_SET > &vecMeteo) |
| Apply this editing block. More...
|
|
virtual void | editTimeSeries (STATIONS_SET &vecStation) |
| Apply this editing block to the StationData. More...
|
|
virtual std::set< std::string > | requiredIDs () const |
| Get the station IDs this editing block depends on for this station. More...
|
|
virtual std::set< std::string > | providedIDs () const |
| Get the station IDs this editing block provides based on this station. More...
|
|
virtual std::set< std::string > | purgeIDs () const |
| Get the station IDs to purge after using them for this station ID. More...
|
|
const std::string | toString () const |
|