8 #ifndef UFO_FILTERS_BAYESIANBACKGROUNDQCFLAGS_H_
9 #define UFO_FILTERS_BAYESIANBACKGROUNDQCFLAGS_H_
17 #include "oops/util/ObjectCounter.h"
18 #include "oops/util/parameters/Parameter.h"
19 #include "oops/util/Printable.h"
25 template <
typename DATATYPE>
class ObsDataVector;
42 {
"PGE variable name substitutions", {{
"northward_wind",
"eastward_wind"}},
this};
60 private util::ObjectCounter<BayesianBackgroundQCFlags> {
64 static const std::string
classname() {
return "ufo::BayesianBackgroundQCFlags";}
72 void print(std::ostream &)
const override;
74 std::vector<std::vector<bool>> &)
const override;
85 void setFlags(
const std::string& varname,
86 const std::vector<bool>& apply,
87 std::vector<bool>& flagged)
const;
Parameters_ parameters_
Parameters used in this filter.
~BayesianBackgroundQCFlags()
int qcFlag() const override
std::string getPGEsubstituteName(const std::string &varname) const
BayesianBackgroundQCFlagsParameters Parameters_
void print(std::ostream &) const override
static const std::string classname()
void setFlags(const std::string &varname, const std::vector< bool > &apply, std::vector< bool > &flagged) const
void applyFilter(const std::vector< bool > &, const Variables &, std::vector< std::vector< bool >> &) const override
BayesianBackgroundQCFlags(ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
Parameters controlling the operation of the BayesianBackgroundQCFlags filter.
ProbabilityOfGrossErrorParameters PGEParameters
oops::Parameter< std::map< std::string, std::string > > PGEsubstituteNames
Base class for UFO QC filters.
Parameters shared by all filters having a default action (typically "reject").
Options controlling the operation of the calculations involving probability of gross error.