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