8 #ifndef UFO_FILTERS_OBSFUNCTIONS_OBSFUNCTIONLINEARCOMBINATION_H_
9 #define UFO_FILTERS_OBSFUNCTIONS_OBSFUNCTIONLINEARCOMBINATION_H_
14 #include "oops/util/parameters/Parameters.h"
15 #include "oops/util/parameters/RequiredParameter.h"
31 oops::RequiredParameter<std::vector<Variable>>
variables{
"variables",
this};
33 oops::RequiredParameter<std::vector<float>>
coefs{
"coefs",
this};
Outputs a linear combination of variables.
LinearCombinationParameters options_
const ufo::Variables & requiredVariables() const
geovals required to compute the function
LinearCombination(const eckit::LocalConfiguration &)
void compute(const ObsFilterData &, ioda::ObsDataVector< float > &) const
compute the result of the function
Options controlling ObsFunctionLinearCombination ObsFunction.
oops::RequiredParameter< std::vector< Variable > > variables
Input variables of the linear combination.
oops::RequiredParameter< std::vector< float > > coefs
coefficient associated with the above variables
ObsFilterData provides access to all data related to an ObsFilter.