UFO
ufo::VariableTransforms Class Reference

Main filter to apply some variable conversion. More...

#include <VariableTransforms.h>

Inheritance diagram for ufo::VariableTransforms:
Collaboration diagram for ufo::VariableTransforms:

Public Member Functions

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

std::unique_ptr< VariableTransformsParametersoptions_
 Configurable options. More...
 

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

Main filter to apply some variable conversion.

See VariableTransformsParameters for the documentation of the available parameters and options.

Important:
Any new variable created is assigned to the observation space with the "@DerivedObsValue" tag.

Definition at line 45 of file VariableTransforms.h.

Constructor & Destructor Documentation

◆ VariableTransforms()

ufo::VariableTransforms::VariableTransforms ( ioda::ObsSpace &  obsdb,
const eckit::Configuration &  config,
std::shared_ptr< ioda::ObsDataVector< int >>  flags,
std::shared_ptr< ioda::ObsDataVector< float >>  obserr 
)

Definition at line 31 of file VariableTransforms.cc.

Here is the call graph for this function:

◆ ~VariableTransforms()

ufo::VariableTransforms::~VariableTransforms ( )

Definition at line 54 of file VariableTransforms.cc.

Member Function Documentation

◆ applyFilter()

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

Implements ufo::FilterBase.

Definition at line 58 of file VariableTransforms.cc.

Here is the call graph for this function:

◆ classname()

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

Definition at line 48 of file VariableTransforms.h.

◆ print()

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

Implements ufo::FilterBase.

Definition at line 76 of file VariableTransforms.cc.

Here is the caller graph for this function:

◆ qcFlag()

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

Implements ufo::FilterBase.

Definition at line 63 of file VariableTransforms.h.

Member Data Documentation

◆ options_

std::unique_ptr<VariableTransformsParameters> ufo::VariableTransforms::options_
private

Configurable options.

Definition at line 59 of file VariableTransforms.h.


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