UFO
ObsAtmVertInterpLay.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_ATMVERTINTERPLAY_OBSATMVERTINTERPLAY_H_
9 #define UFO_ATMVERTINTERPLAY_OBSATMVERTINTERPLAY_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include "oops/base/Variables.h"
15 #include "oops/util/ObjectCounter.h"
17 #include "ufo/ObsOperatorBase.h"
18 
19 /// Forward declarations
20 namespace eckit {
21  class Configuration;
22 }
23 
24 namespace ioda {
25  class ObsSpace;
26  class ObsVector;
27 }
28 
29 namespace ufo {
30  class GeoVaLs;
31  class ObsDiagnostics;
32 
33 // -----------------------------------------------------------------------------
34 /// AtmVertInterpLay observation operator class
36  private util::ObjectCounter<ObsAtmVertInterpLay> {
37  public:
38  static const std::string classname() {return "ufo::ObsAtmVertInterpLay";}
39 
40  ObsAtmVertInterpLay(const ioda::ObsSpace &, const eckit::Configuration &);
41  virtual ~ObsAtmVertInterpLay();
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 keyOperAtmVertInterpLay_;}
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 #endif // UFO_ATMVERTINTERPLAY_OBSATMVERTINTERPLAY_H_
ufo::ObsAtmVertInterpLay::varin_
oops::Variables varin_
Definition: ObsAtmVertInterpLay.h:56
ufo::ObsAtmVertInterpLay::~ObsAtmVertInterpLay
virtual ~ObsAtmVertInterpLay()
Definition: ObsAtmVertInterpLay.cc:35
ufo::ObsAtmVertInterpLay::print
void print(std::ostream &) const override
Definition: ObsAtmVertInterpLay.cc:50
ufo::ObsAtmVertInterpLay::odb_
const ioda::ObsSpace & odb_
Definition: ObsAtmVertInterpLay.h:55
ioda
Definition: ObsAtmSfcInterp.h:24
ufo
Definition: RunCRTM.h:27
ObsAtmVertInterpLay.interface.h
ufo::F90hop
int F90hop
Definition: Fortran.h:18
ObsOperatorBase.h
ufo::ObsOperatorBase
Base class for observation operators.
Definition: ObsOperatorBase.h:37
ufo::ObsAtmVertInterpLay::keyOperAtmVertInterpLay_
F90hop keyOperAtmVertInterpLay_
Definition: ObsAtmVertInterpLay.h:54
eckit
Forward declarations.
Definition: ObsAtmSfcInterp.h:20
ufo::ObsAtmVertInterpLay::simulateObs
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
Definition: ObsAtmVertInterpLay.cc:42
ufo::ObsAtmVertInterpLay::toFortran
int & toFortran()
Definition: ObsAtmVertInterpLay.h:49
ufo::ObsDiagnostics
Definition: src/ufo/ObsDiagnostics.h:35
ufo::ObsAtmVertInterpLay::classname
static const std::string classname()
Definition: ObsAtmVertInterpLay.h:38
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition: src/ufo/GeoVaLs.h:39
ufo::ObsAtmVertInterpLay::toFortran
const int & toFortran() const
Definition: ObsAtmVertInterpLay.h:50
ufo::ObsAtmVertInterpLay
AtmVertInterpLay observation operator class.
Definition: ObsAtmVertInterpLay.h:36
ufo::ObsAtmVertInterpLay::ObsAtmVertInterpLay
ObsAtmVertInterpLay(const ioda::ObsSpace &, const eckit::Configuration &)
Definition: ObsAtmVertInterpLay.cc:24
ufo::ObsAtmVertInterpLay::requiredVars
const oops::Variables & requiredVars() const override
Operator input required from Model.
Definition: ObsAtmVertInterpLay.h:47