UFO
ufo::ProfileFewObsCheck Class Reference

#include <ProfileFewObsCheck.h>

Inheritance diagram for ufo::ProfileFewObsCheck:
Collaboration diagram for ufo::ProfileFewObsCheck:

Public Types

typedef ProfileFewObsCheckParameters Parameters_
 

Public Member Functions

 ProfileFewObsCheck (ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
 
 ~ProfileFewObsCheck ()
 
- Public Member Functions inherited from ufo::FilterBase
 FilterBase (ioda::ObsSpace &, const FilterParametersBaseWithAbstractAction &parameters, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
 
 FilterBase (ioda::ObsSpace &, const eckit::Configuration &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
 
 ~FilterBase ()
 
- Public Member Functions inherited from ufo::ObsProcessorBase
 ObsProcessorBase (ioda::ObsSpace &, bool deferToPost, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
 
 ~ObsProcessorBase ()
 
void preProcess () override
 
void priorFilter (const GeoVaLs &) override
 
void postFilter (const ioda::ObsVector &, const ioda::ObsVector &, const ObsDiagnostics &) override
 
oops::Variables requiredVars () const override
 
oops::Variables requiredHdiagnostics () const override
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) 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. More...
 
int qcFlag () const override
 

Private Attributes

Parameters_ parameters_
 

Additional Inherited Members

- Protected Attributes inherited from ufo::FilterBase
const eckit::LocalConfiguration config_
 
ufo::Variables filtervars_
 
- Protected Attributes inherited from ufo::ObsProcessorBase
ioda::ObsSpace & obsdb_
 
std::shared_ptr< ioda::ObsDataVector< int > > flags_
 
std::shared_ptr< ioda::ObsDataVector< float > > obserr_
 
ufo::Variables allvars_
 
ObsFilterData data_
 

Detailed Description

ProfileFewObsCheck: Check the number of observations in a profile

See the cc file for more details.

Definition at line 44 of file ProfileFewObsCheck.h.

Member Typedef Documentation

◆ Parameters_

The type of parameters accepted by the constructor of this filter. This typedef is used by the FilterFactory.

Definition at line 49 of file ProfileFewObsCheck.h.

Constructor & Destructor Documentation

◆ ProfileFewObsCheck()

ufo::ProfileFewObsCheck::ProfileFewObsCheck ( ioda::ObsSpace &  obsdb,
const Parameters_ parameters,
std::shared_ptr< ioda::ObsDataVector< int > >  flags,
std::shared_ptr< ioda::ObsDataVector< float > >  obserr 
)

ProfileFewObsCheck: Check the number of observations in a profile

This will use the record number in obsdb_ to identify which observations belong to a given profile (all members of a profile must share the same record number). For each profile the number of valid observations is found, and the profile is rejected if this is below the given threshold.

Definition at line 30 of file ProfileFewObsCheck.cc.

◆ ~ProfileFewObsCheck()

ufo::ProfileFewObsCheck::~ProfileFewObsCheck ( )

Definition at line 42 of file ProfileFewObsCheck.cc.

Member Function Documentation

◆ applyFilter()

void ufo::ProfileFewObsCheck::applyFilter ( const std::vector< bool > &  apply,
const Variables filtervars,
std::vector< std::vector< bool >> &  flagged 
) const
overrideprivatevirtual

Apply the profile check for the number of observations.

Implements ufo::FilterBase.

Definition at line 49 of file ProfileFewObsCheck.cc.

Here is the call graph for this function:

◆ classname()

static const std::string ufo::ProfileFewObsCheck::classname ( )
inlinestatic

Definition at line 51 of file ProfileFewObsCheck.h.

◆ print()

void ufo::ProfileFewObsCheck::print ( std::ostream &  os) const
overrideprivatevirtual

Implements ufo::FilterBase.

Definition at line 88 of file ProfileFewObsCheck.cc.

◆ qcFlag()

int ufo::ProfileFewObsCheck::qcFlag ( ) const
inlineoverrideprivatevirtual

Implements ufo::FilterBase.

Definition at line 62 of file ProfileFewObsCheck.h.

Member Data Documentation

◆ parameters_

Parameters_ ufo::ProfileFewObsCheck::parameters_
private

Definition at line 63 of file ProfileFewObsCheck.h.


The documentation for this class was generated from the following files: