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