UFO
|
Randomly thin a given percentage of observations. More...
#include <Thinning.h>
Public Types | |
typedef ThinningParameters | Parameters_ |
Public Member Functions | |
Thinning (ioda::ObsSpace &, const Parameters_ &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >) | |
~Thinning () | |
![]() | |
FilterBase (ioda::ObsSpace &, const FilterParametersBaseWithAbstractAction ¶meters, 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 () | |
![]() | |
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 | |
![]() | |
const eckit::LocalConfiguration | config_ |
ufo::Variables | filtervars_ |
![]() | |
ioda::ObsSpace & | obsdb_ |
std::shared_ptr< ioda::ObsDataVector< int > > | flags_ |
std::shared_ptr< ioda::ObsDataVector< float > > | obserr_ |
ufo::Variables | allvars_ |
ObsFilterData | data_ |
Randomly thin a given percentage of observations.
See ThinningParameters for the documentation of the parameters controlling this filter.
Definition at line 55 of file Thinning.h.
The type of parameters accepted by the constructor of this filter. This typedef is used by the FilterFactory.
Definition at line 60 of file Thinning.h.
ufo::Thinning::Thinning | ( | ioda::ObsSpace & | obsdb, |
const Parameters_ & | parameters, | ||
std::shared_ptr< ioda::ObsDataVector< int > > | flags, | ||
std::shared_ptr< ioda::ObsDataVector< float > > | obserr | ||
) |
Definition at line 25 of file Thinning.cc.
ufo::Thinning::~Thinning | ( | ) |
Definition at line 35 of file Thinning.cc.
|
overrideprivatevirtual |
Implements ufo::FilterBase.
Definition at line 39 of file Thinning.cc.
|
inlinestatic |
Definition at line 62 of file Thinning.h.
|
overrideprivatevirtual |
Implements ufo::FilterBase.
Definition at line 66 of file Thinning.cc.
|
inlineoverrideprivatevirtual |
Implements ufo::FilterBase.
Definition at line 73 of file Thinning.h.
|
private |
Definition at line 75 of file Thinning.h.