FV3 Bundle
ObsGnssroBndROPP1D.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_BNDROPP1D_OBSGNSSROBNDROPP1D_H_
9 #define UFO_ATMOSPHERE_GNSSRO_BNDROPP1D_OBSGNSSROBNDROPP1D_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"
19 #include "ufo/ObsOperatorBase.h"
20 
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 
34 // -----------------------------------------------------------------------------
35 
36 /// GnssroBndROPP1D observation operator
38  private util::ObjectCounter<ObsGnssroBndROPP1D> {
39  public:
40  static const std::string classname() {return "ufo::ObsGnssroBndROPP1D";}
41 
42  ObsGnssroBndROPP1D(const ioda::ObsSpace &, const eckit::Configuration &);
43  virtual ~ObsGnssroBndROPP1D();
44 
45 // Obs Operator
46  void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const;
47 
48 // Other
49  const oops::Variables & variables() const {return *varin_;}
50 
52  const int & toFortran() const {return keyOperGnssroBndROPP1D_;}
53 
54  private:
55  void print(std::ostream &) const;
58  boost::scoped_ptr<const oops::Variables> varin_;
59 };
60 
61 // -----------------------------------------------------------------------------
62 
63 } // namespace ufo
64 
65 #endif // UFO_ATMOSPHERE_GNSSRO_BNDROPP1D_OBSGNSSROBNDROPP1D_H_
ObsGnssroBndROPP1D(const ioda::ObsSpace &, const eckit::Configuration &)
ObsVector class to handle vectors in observation space for IODA.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const
Obs Operator.
Base class for observation operators.
GnssroBndROPP1D observation operator.
static const std::string classname()
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
const ioda::ObsSpace & odb_
Class to handle observation bias parameters.
const oops::Variables & variables() const
Operator input required from Model.
void print(std::ostream &) const
const int & toFortran() const
boost::scoped_ptr< const oops::Variables > varin_