UFO
LapseRate.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_LAPSERATE_H_
9 #define UFO_PREDICTORS_LAPSERATE_H_
10 
11 #include <map>
12 #include <vector>
13 
14 #include "eckit/config/LocalConfiguration.h"
15 
17 
18 namespace eckit {
19  class Configuration;
20 }
21 
22 namespace ioda {
23  class ObsSpace;
24 }
25 
26 namespace ufo {
27 
28 // -----------------------------------------------------------------------------
29 
30 class LapseRate : public PredictorBase {
31  public:
32  LapseRate(const eckit::Configuration &, const std::vector<int> &);
34 
35  void compute(const ioda::ObsSpace &,
36  const GeoVaLs &,
37  const ObsDiagnostics &,
38  ioda::ObsVector &) const override;
39 
40  private:
41  std::map<int, float> tlapmean_; // <channel, tlaps>
42  int order_;
43 };
44 
45 // -----------------------------------------------------------------------------
46 
47 } // namespace ufo
48 
49 #endif // UFO_PREDICTORS_LAPSERATE_H_
PredictorBase.h
ufo::LapseRate::~LapseRate
~LapseRate()
Definition: LapseRate.h:33
ufo::LapseRate
Definition: LapseRate.h:30
ufo::LapseRate::tlapmean_
std::map< int, float > tlapmean_
Definition: LapseRate.h:41
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::LapseRate::compute
void compute(const ioda::ObsSpace &, const GeoVaLs &, const ObsDiagnostics &, ioda::ObsVector &) const override
compute the predictor
Definition: LapseRate.cc:80
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::LapseRate::LapseRate
LapseRate(const eckit::Configuration &, const std::vector< int > &)
Definition: LapseRate.cc:28
ufo::LapseRate::order_
int order_
Definition: LapseRate.h:42