UFO
PassivateObs.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021-2021 UCAR
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 
8 #ifndef UFO_FILTERS_ACTIONS_PASSIVATEOBS_H_
9 #define UFO_FILTERS_ACTIONS_PASSIVATEOBS_H_
10 
11 #include <vector>
12 
14 #include "ufo/filters/Variables.h"
15 
16 namespace ufo {
17 
18 class ObsFilterData;
19 
20 // -----------------------------------------------------------------------------
21 
24 };
25 
26 // -----------------------------------------------------------------------------
27 
28 /// Flag observations as passive.
30  public:
31  /// The type of parameters accepted by the constructor of this action.
32  /// This typedef is used by the FilterActionFactory.
34 
35  explicit PassivateObs(const Parameters_ &);
37 
38  void apply(const Variables &, const std::vector<std::vector<bool>> &,
39  const ObsFilterData &, int,
41  const ufo::Variables & requiredVariables() const override {return allvars_;}
42  private:
44 };
45 
46 // -----------------------------------------------------------------------------
47 
48 } // namespace ufo
49 
50 #endif // UFO_FILTERS_ACTIONS_PASSIVATEOBS_H_
Parameters controlling a filter action.
ObsFilterData provides access to all data related to an ObsFilter.
Flag observations as passive.
Definition: PassivateObs.h:29
const ufo::Variables & requiredVariables() const override
Definition: PassivateObs.h:41
PassivateObs(const Parameters_ &)
Definition: PassivateObs.cc:22
void apply(const Variables &, const std::vector< std::vector< bool >> &, const ObsFilterData &, int, ioda::ObsDataVector< int > &, ioda::ObsDataVector< float > &) const override
Definition: PassivateObs.cc:28
PassivateObsParameters Parameters_
Definition: PassivateObs.h:33
Variables allvars_
Definition: PassivateObs.h:43
OOPS_CONCRETE_PARAMETERS(PassivateObsParameters, FilterActionParametersBase)
Definition: RunCRTM.h:27