UFO
ObsGnssroRefMetOffice.h
Go to the documentation of this file.
1 /*
2  * (C) British Crown 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_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICE_H_
9 #define UFO_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICE_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"
20 
21 namespace ioda {
22  class ObsSpace;
23  class ObsVector;
24 }
25 
26 namespace ufo {
27  class GeoVaLs;
28  class ObsDiagnostics;
29 
30 // -----------------------------------------------------------------------------
31 /// GnssroRefMetOffice observation operator
32 // -----------------------------------------------------------------------------
34  private util::ObjectCounter<ObsGnssroRefMetOffice> {
35  public:
36  /// The type of parameters accepted by the constructor of this operator.
37  /// This typedef is used by the ObsOperatorFactory.
39 
40  static const std::string classname() {return "ufo::ObsGnssroRefMetOffice";}
41 
42  ObsGnssroRefMetOffice(const ioda::ObsSpace &, const Parameters_ &);
43  virtual ~ObsGnssroRefMetOffice();
44 
45 // Obs Operator
46  void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override;
47 
48 // Other
49  const oops::Variables & requiredVars() const override {return *varin_;}
50 
52  const int & toFortran() const {return keyOperGnssroRefMetOffice_;}
53 
54  private:
55  void print(std::ostream &) const override;
57  const ioda::ObsSpace& odb_;
58  std::unique_ptr<const oops::Variables> varin_;
60 };
61 
62 // -----------------------------------------------------------------------------
63 
64 } // namespace ufo
65 
66 #endif // UFO_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICE_H_
GeoVaLs: geophysical values at locations.
GnssroRefMetOffice observation operator.
static const std::string classname()
const ioda::ObsSpace & odb_
void print(std::ostream &) const override
ObsGnssroRefMetOfficeParameters Parameters_
ObsGnssroRefMetOffice(const ioda::ObsSpace &, const Parameters_ &)
std::unique_ptr< const oops::Variables > varin_
const oops::Variables & requiredVars() const override
Operator input required from Model.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
Configuration options recognized by the refractivity operator.
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
int F90hop
Definition: Fortran.h:18