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_REF_OBSGNSSROREFTLAD_H_
9 #define UFO_GNSSRO_REF_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 ObsBias;
33  class ObsDiagnostics;
34 
35 // -----------------------------------------------------------------------------
36 /// GnssroRef observation operator
38  private util::ObjectCounter<ObsGnssroRefTLAD> {
39  public:
40  static const std::string classname() {return "ufo::ObsGnssroRefTLAD";}
41 
42  ObsGnssroRefTLAD(const ioda::ObsSpace &, const eckit::Configuration &);
43  virtual ~ObsGnssroRefTLAD();
44 
45  // Obs Operators
46  void setTrajectory(const GeoVaLs &, const ObsBias &, ObsDiagnostics &) override;
47  void simulateObsTL(const GeoVaLs &, ioda::ObsVector &) const override;
48  void simulateObsAD(GeoVaLs &, const ioda::ObsVector &) const override;
49 
50  // Other
51  const oops::Variables & requiredVars() const override {return *varin_;}
52 
53  int & toFortran() {return keyOperGnssroRef_;}
54  const int & toFortran() const {return keyOperGnssroRef_;}
55 
56  private:
57  void print(std::ostream &) const override;
59  const ioda::ObsSpace& odb_;
60  std::unique_ptr<const oops::Variables> varin_;
61 };
62 
63 // -----------------------------------------------------------------------------
64 
65 } // namespace ufo
66 #endif // UFO_GNSSRO_REF_OBSGNSSROREFTLAD_H_
ObsGnssroRefTLAD.interface.h
ufo::ObsGnssroRefTLAD::requiredVars
const oops::Variables & requiredVars() const override
Operator input required from Model.
Definition: ObsGnssroRefTLAD.h:51
ufo::ObsGnssroRefTLAD::varin_
std::unique_ptr< const oops::Variables > varin_
Definition: ObsGnssroRefTLAD.h:60
ufo::ObsGnssroRefTLAD::odb_
const ioda::ObsSpace & odb_
Definition: ObsGnssroRefTLAD.h:59
ufo::ObsGnssroRefTLAD::toFortran
int & toFortran()
Definition: ObsGnssroRefTLAD.h:53
ufo::ObsGnssroRefTLAD::classname
static const std::string classname()
Definition: ObsGnssroRefTLAD.h:40
LinearObsOperatorBase.h
ufo::ObsGnssroRefTLAD::simulateObsAD
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &) const override
Definition: ObsGnssroRefTLAD.cc:65
ufo::ObsGnssroRefTLAD::toFortran
const int & toFortran() const
Definition: ObsGnssroRefTLAD.h:54
ufo::ObsGnssroRefTLAD::print
void print(std::ostream &) const override
Definition: ObsGnssroRefTLAD.cc:72
ioda
Definition: ObsAtmSfcInterp.h:24
ufo
Definition: RunCRTM.h:27
ufo::F90hop
int F90hop
Definition: Fortran.h:18
ufo::ObsBias
Class to handle observation bias parameters.
Definition: ObsBias.h:44
ufo::ObsGnssroRefTLAD::ObsGnssroRefTLAD
ObsGnssroRefTLAD(const ioda::ObsSpace &, const eckit::Configuration &)
Definition: ObsGnssroRefTLAD.cc:29
ufo::ObsGnssroRefTLAD::keyOperGnssroRef_
F90hop keyOperGnssroRef_
Definition: ObsGnssroRefTLAD.h:58
eckit
Forward declarations.
Definition: ObsAtmSfcInterp.h:20
ufo::ObsDiagnostics
Definition: src/ufo/ObsDiagnostics.h:35
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition: src/ufo/GeoVaLs.h:39
ufo::ObsGnssroRefTLAD::simulateObsTL
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &) const override
Definition: ObsGnssroRefTLAD.cc:58
ufo::ObsGnssroRefTLAD::setTrajectory
void setTrajectory(const GeoVaLs &, const ObsBias &, ObsDiagnostics &) override
Obs Operator.
Definition: ObsGnssroRefTLAD.cc:51
ufo::ObsGnssroRefTLAD::~ObsGnssroRefTLAD
virtual ~ObsGnssroRefTLAD()
Definition: ObsGnssroRefTLAD.cc:44
ufo::ObsGnssroRefTLAD
GnssroRef observation operator.
Definition: ObsGnssroRefTLAD.h:38
ufo::LinearObsOperatorBase
Base class for observation operators.
Definition: LinearObsOperatorBase.h:35