8 #ifndef UFO_FILTERS_PREQC_H_
9 #define UFO_FILTERS_PREQC_H_
16 #include "oops/util/ObjectCounter.h"
21 template <
typename DATATYPE>
class ObsDataVector;
32 oops::Parameter<std::string>
inputQC{
"inputQC",
"PreQC",
this};
34 oops::Parameter<int>
minvalue{
"minvalue", 0,
this};
36 oops::Parameter<int>
maxvalue{
"maxvalue", 0,
this};
45 static const std::string
classname() {
return "ufo::PreQC";}
52 void print(std::ostream &)
const override;
54 std::vector<std::vector<bool>> &)
const override;
Base class for UFO QC filters.
Parameters shared by all filters having a default action (typically "reject").
PreQCParameters Parameters_
PreQC(ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
void applyFilter(const std::vector< bool > &, const Variables &, std::vector< std::vector< bool >> &) const override
void print(std::ostream &) const override
static const std::string classname()
int qcFlag() const override
oops::Parameter< int > minvalue
Minimum PreQC flag denoting "pass". By default, zero.
oops::Parameter< int > maxvalue
Maximum PreQC flag denoting "pass". By default, zero.
oops::Parameter< std::string > inputQC
The ObsSpace group holding PreQC flags. By default, 'PreQC'.