UFO
ufo::ObsBoundsCheck Class Reference

Flag observations that lie outside specified bounds. More...

#include <ObsBoundsCheck.h>

Inheritance diagram for ufo::ObsBoundsCheck:
Collaboration diagram for ufo::ObsBoundsCheck:

Public Types

typedef ObsBoundsCheckParameters Parameters_
 

Public Member Functions

 ObsBoundsCheck (ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
 
 ~ObsBoundsCheck ()
 
- 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
 
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

Flag observations that lie outside specified bounds.

This is a generic quality control filter based on observation data only.

See ObsBoundsCheckParameters for the documentation of the parameters controlling this filter.

Definition at line 94 of file ObsBoundsCheck.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 99 of file ObsBoundsCheck.h.

Constructor & Destructor Documentation

◆ ObsBoundsCheck()

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

Definition at line 65 of file ObsBoundsCheck.cc.

◆ ~ObsBoundsCheck()

ufo::ObsBoundsCheck::~ObsBoundsCheck ( )

Definition at line 79 of file ObsBoundsCheck.cc.

Member Function Documentation

◆ applyFilter()

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

Implements ufo::FilterBase.

Definition at line 83 of file ObsBoundsCheck.cc.

Here is the call graph for this function:

◆ classname()

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

Definition at line 101 of file ObsBoundsCheck.h.

◆ print()

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

Implements ufo::FilterBase.

Definition at line 162 of file ObsBoundsCheck.cc.

◆ qcFlag()

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

Implements ufo::FilterBase.

Definition at line 112 of file ObsBoundsCheck.h.

Member Data Documentation

◆ parameters_

Parameters_ ufo::ObsBoundsCheck::parameters_
private

Definition at line 113 of file ObsBoundsCheck.h.


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