UFO
ObsGroundgnssROPP.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017-2018 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_GROUNDGNSS_ZENITHTOTALDELAYROPP_OBSGROUNDGNSSROPP_H_
9 #define UFO_GROUNDGNSS_ZENITHTOTALDELAYROPP_OBSGROUNDGNSSROPP_H_
10 
11 #include <memory>
12 #include <ostream>
13 #include <string>
14 
15 #include "oops/base/Variables.h"
16 #include "oops/util/ObjectCounter.h"
18 #include "ufo/ObsOperatorBase.h"
19 
20 namespace eckit {
21  class Configuration;
22 }
23 
24 namespace ioda {
25  class ObsSpace;
26  class ObsVector;
27 }
28 
29 namespace ufo {
30  class GeoVaLs;
31  class ObsDiagnostics;
32 
33 // -----------------------------------------------------------------------------
34 
35 /// GroundgnssROPP observation operator
37  private util::ObjectCounter<ObsGroundgnssROPP> {
38  public:
39  static const std::string classname() {return "ufo::ObsGroundgnssROPP";}
40 
41  ObsGroundgnssROPP(const ioda::ObsSpace &, const eckit::Configuration &);
42  virtual ~ObsGroundgnssROPP();
43 
44 // Obs Operator
45  void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override;
46 
47 // Other
48  const oops::Variables & requiredVars() const override {return *varin_;}
49 
51  const int & toFortran() const {return keyOperGroundgnssROPP_;}
52 
53  private:
54  void print(std::ostream &) const override;
56  const ioda::ObsSpace& odb_;
57  std::unique_ptr<const oops::Variables> varin_;
58 };
59 
60 // -----------------------------------------------------------------------------
61 
62 } // namespace ufo
63 
64 #endif // UFO_GROUNDGNSS_ZENITHTOTALDELAYROPP_OBSGROUNDGNSSROPP_H_
GeoVaLs: geophysical values at locations.
GroundgnssROPP observation operator.
void print(std::ostream &) const override
const oops::Variables & requiredVars() const override
Operator input required from Model.
std::unique_ptr< const oops::Variables > varin_
const ioda::ObsSpace & odb_
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
static const std::string classname()
ObsGroundgnssROPP(const ioda::ObsSpace &, const eckit::Configuration &)
const int & toFortran() const
Forward declarations.
Definition: ObsAodExt.h:21
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
int F90hop
Definition: Fortran.h:18