OOPS
ObsWSpeedTLAD.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2009-2016 ECMWF.
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  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 #ifndef QG_MODEL_OBSWSPEEDTLAD_H_
12 #define QG_MODEL_OBSWSPEEDTLAD_H_
13 
14 #include <string>
15 
16 #include "oops/base/Variables.h"
17 #include "oops/util/ObjectCounter.h"
18 
19 #include "oops/qg/GomQG.h"
20 #include "oops/qg/ObsOpBaseTLAD.h"
21 
22 // Forward declarations
23 namespace eckit {
24  class Configuration;
25 }
26 
27 namespace qg {
28  class ObsBias;
29  class ObsBiasIncrement;
30  class ObsSpaceQG;
31  class ObsVecQG;
32 
33 // -----------------------------------------------------------------------------
34 /// Wind speed TL/AD observation operator for QG model.
35 
37  private util::ObjectCounter<ObsWSpeedTLAD> {
38  public:
39  static const std::string classname() {return "qg::ObsWSpeedTLAD";}
40 
41  ObsWSpeedTLAD(const ObsSpaceQG &, const eckit::Configuration &);
42 
43 // Obs Operators
44  void setTrajectory(const GomQG &, const ObsBias &) override;
45  void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const override;
46  void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const override;
47 
48 // Other
49  const oops::Variables & requiredVars() const override {return varin_;}
50 
51  private:
52  void print(std::ostream &) const override;
55 };
56 // -----------------------------------------------------------------------------
57 
58 } // namespace qg
59 #endif // QG_MODEL_OBSWSPEEDTLAD_H_
GomQG class to handle local model values for QG model.
Definition: GomQG.h:35
Class to handle observation bias parameters.
Base class for observation operators.
Definition: ObsOpBaseTLAD.h:35
ObsSpace for QG model.
Definition: ObsSpaceQG.h:81
ObsVecQG class to handle vectors in observation space for QG model.
Definition: ObsVecQG.h:32
Wind speed TL/AD observation operator for QG model.
Definition: ObsWSpeedTLAD.h:37
ObsWSpeedTLAD(const ObsSpaceQG &, const eckit::Configuration &)
const oops::Variables & requiredVars() const override
Other.
Definition: ObsWSpeedTLAD.h:49
static const std::string classname()
Definition: ObsWSpeedTLAD.h:39
const oops::Variables varin_
Definition: ObsWSpeedTLAD.h:54
void print(std::ostream &) const override
void simulateObsAD(GomQG &, const ObsVecQG &, ObsBiasIncrement &) const override
void setTrajectory(const GomQG &, const ObsBias &) override
Obs Operator.
void simulateObsTL(const GomQG &, ObsVecQG &, const ObsBiasIncrement &) const override
Definition: FieldL95.h:22
The namespace for the qg model.