UFO
Constant.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020 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_PREDICTORS_CONSTANT_H_
9 #define UFO_PREDICTORS_CONSTANT_H_
10 
11 #include <vector>
12 
14 
15 namespace eckit {
16  class Configuration;
17 }
18 
19 namespace ioda {
20  class ObsSpace;
21 }
22 
23 namespace ufo {
24 
25 // -----------------------------------------------------------------------------
26 
27 class Constant : public PredictorBase {
28  public:
29  Constant(const eckit::Configuration &, const std::vector<int> &);
30  ~Constant() {}
31 
32  void compute(const ioda::ObsSpace &,
33  const GeoVaLs &,
34  const ObsDiagnostics &,
35  ioda::ObsVector &) const override;
36 };
37 
38 // -----------------------------------------------------------------------------
39 
40 } // namespace ufo
41 
42 #endif // UFO_PREDICTORS_CONSTANT_H_
ufo::Constant::compute
void compute(const ioda::ObsSpace &, const GeoVaLs &, const ObsDiagnostics &, ioda::ObsVector &) const override
compute the predictor
Definition: Constant.cc:26
PredictorBase.h
ioda
Definition: ObsAtmSfcInterp.h:24
ufo
Definition: RunCRTM.h:27
eckit
Forward declarations.
Definition: ObsAtmSfcInterp.h:20
ufo::ObsDiagnostics
Definition: src/ufo/ObsDiagnostics.h:35
ufo::Constant
Definition: Constant.h:27
ufo::Constant::Constant
Constant(const eckit::Configuration &, const std::vector< int > &)
Definition: Constant.cc:20
ufo::PredictorBase
Base class for computing predictors.
Definition: PredictorBase.h:38
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition: src/ufo/GeoVaLs.h:39
ufo::Constant::~Constant
~Constant()
Definition: Constant.h:30