FV3 Bundle
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_ATMOSPHERE_GNSSRO_REFGSI_OBSGNSSROREFTLAD_H_
9 #define UFO_ATMOSPHERE_GNSSRO_REFGSI_OBSGNSSROREFTLAD_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include <boost/scoped_ptr.hpp>
15 
16 #include "oops/base/Variables.h"
17 #include "oops/util/ObjectCounter.h"
20 
21 // Forward declarations
22 namespace eckit {
23  class Configuration;
24 }
25 
26 namespace ioda {
27  class ObsSpace;
28  class ObsVector;
29 }
30 
31 namespace ufo {
32  class GeoVaLs;
33  class ObsBias;
34  class ObsBiasIncrement;
35 
36 // -----------------------------------------------------------------------------
37 /// GnssroRef observation operator
39  private util::ObjectCounter<ObsGnssroRefTLAD> {
40  public:
41  static const std::string classname() {return "ufo::ObsGnssroRefTLAD";}
42 
43  ObsGnssroRefTLAD(const ioda::ObsSpace &, const eckit::Configuration &);
44  virtual ~ObsGnssroRefTLAD();
45 
46  // Obs Operators
47  void setTrajectory(const GeoVaLs &, const ObsBias &);
48  void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const;
49  void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const;
50 
51  // Other
52  const oops::Variables & variables() const {return *varin_;}
53 
54  int & toFortran() {return keyOperGnssroRef_;}
55  const int & toFortran() const {return keyOperGnssroRef_;}
56 
57  private:
58  void print(std::ostream &) const;
61  boost::scoped_ptr<const oops::Variables> varin_;
62 };
63 
64 // -----------------------------------------------------------------------------
65 
66 } // namespace ufo
67 #endif // UFO_ATMOSPHERE_GNSSRO_REFGSI_OBSGNSSROREFTLAD_H_
static const std::string classname()
Base class for observation operators.
ObsVector class to handle vectors in observation space for IODA.
boost::scoped_ptr< const oops::Variables > varin_
const oops::Variables & variables() const
Operator input required from Model.
GnssroRef observation operator.
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
ObsGnssroRefTLAD(const ioda::ObsSpace &, const eckit::Configuration &)
void print(std::ostream &) const
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const
const ioda::ObsSpace & odb_
Class to handle observation bias parameters.
void setTrajectory(const GeoVaLs &, const ObsBias &)
Obs Operator.
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const
const int & toFortran() const