UFO
ObsScatwindNeutralMetOffice.h
Go to the documentation of this file.
1 /*
2  * (C) British Crown Copyright 2020 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_SCATWIND_NEUTRALMETOFFICE_OBSSCATWINDNEUTRALMETOFFICE_H_
9 #define UFO_SCATWIND_NEUTRALMETOFFICE_OBSSCATWINDNEUTRALMETOFFICE_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include "oops/base/Variables.h"
15 #include "oops/util/ObjectCounter.h"
16 #include "ufo/ObsOperatorBase.h"
18 
19 namespace eckit {
20  class Configuration;
21 }
22 
23 namespace ioda {
24  class ObsSpace;
25  class ObsVector;
26 }
27 
28 namespace ufo {
29  class GeoVaLs;
30  class ObsDiagnostics;
31 
32 // -----------------------------------------------------------------------------
33 
34 /// ScatwindNeutralMetOffice observation operator
36  private util::ObjectCounter<ObsScatwindNeutralMetOffice> {
37  public:
38  static const std::string classname() {return "ufo::ObsScatwindNeutralMetOffice";}
39 
40  ObsScatwindNeutralMetOffice(const ioda::ObsSpace &, const eckit::Configuration &);
42 
43 // Obs Operator
44  void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override;
45 
46 // Other
47  const oops::Variables & requiredVars() const override {return varin_;}
48 
50  const int & toFortran() const {return keyOperScatwindNeutralMetOffice_;}
51 
52  private:
53  void print(std::ostream &) const override;
55  const ioda::ObsSpace& odb_;
56  oops::Variables varin_;
57 };
58 
59 // -----------------------------------------------------------------------------
60 
61 } // namespace ufo
62 
63 #endif // UFO_SCATWIND_NEUTRALMETOFFICE_OBSSCATWINDNEUTRALMETOFFICE_H_
GeoVaLs: geophysical values at locations.
ScatwindNeutralMetOffice observation operator.
const oops::Variables & requiredVars() const override
Operator input required from Model.
ObsScatwindNeutralMetOffice(const ioda::ObsSpace &, const eckit::Configuration &)
void print(std::ostream &) const override
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
Forward declarations.
Definition: ObsAodExt.h:21
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
int F90hop
Definition: Fortran.h:18