8 #ifndef UFO_FILTERS_PROFILEFEWOBSCHECK_H_
9 #define UFO_FILTERS_PROFILEFEWOBSCHECK_H_
16 #include "oops/util/ObjectCounter.h"
17 #include "oops/util/parameters/NumericConstraints.h"
18 #include "oops/util/parameters/RequiredParameter.h"
19 #include "oops/util/Printable.h"
24 template <
typename DATATYPE>
class ObsDataVector;
37 oops::RequiredParameter<int>
threshold{
"threshold",
this, {oops::minConstraint(0)}};
45 private util::ObjectCounter<ProfileFewObsCheck> {
51 static const std::string
classname() {
return "ufo::ProfileFewObsCheck";}
59 void print(std::ostream &)
const override;
61 std::vector<std::vector<bool>> &)
const override;
Base class for UFO QC filters.
Parameters shared by all filters having a default action (typically "reject").
ProfileFewObsCheckParameters Parameters_
ProfileFewObsCheck(ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
static const std::string classname()
void print(std::ostream &) const override
int qcFlag() const override
void applyFilter(const std::vector< bool > &, const Variables &, std::vector< std::vector< bool >> &) const override
Apply the profile check for the number of observations.
Parameters controlling the operation of the ProfileFewObsCheck filter.
oops::RequiredParameter< int > threshold