8 #ifndef UFO_FILTERS_OBSFUNCTIONS_OBSERRORFACTORQUOTIENT_H_
9 #define UFO_FILTERS_OBSFUNCTIONS_OBSERRORFACTORQUOTIENT_H_
14 #include "ioda/ObsDataVector.h"
16 #include "oops/util/parameters/Parameter.h"
17 #include "oops/util/parameters/Parameters.h"
18 #include "oops/util/parameters/RequiredParameter.h"
33 oops::RequiredParameter<Variable>
numerator{
"numerator",
this};
34 oops::RequiredParameter<Variable>
denominator{
"denominator",
this};
35 oops::Parameter<bool>
save{
"save",
false,
this};
67 static const std::string
classname() {
return "ObsErrorFactorQuotient";}
Calculate the ratio of two variables, typically related to ObsError.
const ufo::Variables & requiredVariables() const
geovals required to compute the function
ObsErrorFactorQuotient(const eckit::LocalConfiguration)
void compute(const ObsFilterData &, ioda::ObsDataVector< float > &) const
compute the result of the function
ObsErrorFactorQuotientParameters options_
~ObsErrorFactorQuotient()
static const std::string classname()
Options controlling ObsErrorFactorQuotient ObsFunction.
oops::Parameter< bool > save
oops::RequiredParameter< Variable > denominator
oops::RequiredParameter< Variable > numerator
the name of the numerator and denominator variables (with group names).
ObsFilterData provides access to all data related to an ObsFilter.