UFO
ObsGroundgnssMetOffice.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021 Met Office
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_ZENITHTOTALDELAYMETOFFICE_OBSGROUNDGNSSMETOFFICE_H_
9 #define UFO_GROUNDGNSS_ZENITHTOTALDELAYMETOFFICE_OBSGROUNDGNSSMETOFFICE_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 /// GroundgnssMetOffice observation operator
37  private util::ObjectCounter<ObsGroundgnssMetOffice> {
38  public:
39  static const std::string classname() {return "ufo::ObsGroundgnssMetOffice";}
40 
41  ObsGroundgnssMetOffice(const ioda::ObsSpace &, const eckit::Configuration &);
42  virtual ~ObsGroundgnssMetOffice();
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 keyOperGroundgnssMetOffice_;}
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_ZENITHTOTALDELAYMETOFFICE_OBSGROUNDGNSSMETOFFICE_H_
GeoVaLs: geophysical values at locations.
GroundgnssMetOffice observation operator.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
std::unique_ptr< const oops::Variables > varin_
void print(std::ostream &) const override
ObsGroundgnssMetOffice(const ioda::ObsSpace &, const eckit::Configuration &)
static const std::string classname()
const oops::Variables & requiredVars() const override
Operator input required from Model.
Forward declarations.
Definition: ObsAodExt.h:21
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
int F90hop
Definition: Fortran.h:18