UFO
ObsGeosAodTLAD.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_OBSGEOSAODTLAD_H_
9 #define UFO_GEOS_AERO_OBSGEOSAODTLAD_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include "oops/base/Variables.h"
15 #include "oops/util/ObjectCounter.h"
16 
19 
20 // Forward declarations
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  class ObsBiasIncrement;
34 
35 // -----------------------------------------------------------------------------
36 /// GeosAod TL/AD observation operator class
38  private util::ObjectCounter<ObsGeosAodTLAD> {
39  public:
40  static const std::string classname() {return "ufo::ObsGeosAodTLAD";}
41 
42  ObsGeosAodTLAD(const ioda::ObsSpace &, const eckit::Configuration &);
43  virtual ~ObsGeosAodTLAD();
44 
45  // Obs Operators
46  void setTrajectory(const GeoVaLs &, const ObsBias &, ObsDiagnostics &) override;
47  void simulateObsTL(const GeoVaLs &, ioda::ObsVector &) const override;
48  void simulateObsAD(GeoVaLs &, const ioda::ObsVector &) const override;
49 
50  // Other
51  const oops::Variables & requiredVars() const override {return varin_;}
52 
53  int & toFortran() {return keyOper_;}
54  const int & toFortran() const {return keyOper_;}
55 
56  private:
57  void print(std::ostream &) const override;
59  const ioda::ObsSpace& odb_;
60  oops::Variables varin_;
61 };
62 
63 // -----------------------------------------------------------------------------
64 
65 } // namespace ufo
66 #endif // UFO_GEOS_AERO_OBSGEOSAODTLAD_H_
ufo::ObsGeosAodTLAD::~ObsGeosAodTLAD
virtual ~ObsGeosAodTLAD()
Definition: ObsGeosAodTLAD.cc:37
ufo::ObsGeosAodTLAD::setTrajectory
void setTrajectory(const GeoVaLs &, const ObsBias &, ObsDiagnostics &) override
Obs Operator.
Definition: ObsGeosAodTLAD.cc:44
ufo::ObsGeosAodTLAD::toFortran
int & toFortran()
Definition: ObsGeosAodTLAD.h:53
ufo::ObsGeosAodTLAD::keyOper_
F90hop keyOper_
Definition: ObsGeosAodTLAD.h:58
ufo::ObsGeosAodTLAD::requiredVars
const oops::Variables & requiredVars() const override
Operator input required from Model.
Definition: ObsGeosAodTLAD.h:51
LinearObsOperatorBase.h
ioda
Definition: ObsAtmSfcInterp.h:24
ufo
Definition: RunCRTM.h:27
ufo::ObsGeosAodTLAD::ObsGeosAodTLAD
ObsGeosAodTLAD(const ioda::ObsSpace &, const eckit::Configuration &)
Definition: ObsGeosAodTLAD.cc:26
ufo::ObsGeosAodTLAD::odb_
const ioda::ObsSpace & odb_
Definition: ObsGeosAodTLAD.h:59
ufo::F90hop
int F90hop
Definition: Fortran.h:18
ufo::ObsBias
Class to handle observation bias parameters.
Definition: ObsBias.h:44
eckit
Forward declarations.
Definition: ObsAtmSfcInterp.h:20
ufo::ObsDiagnostics
Definition: src/ufo/ObsDiagnostics.h:35
ufo::ObsGeosAodTLAD::print
void print(std::ostream &) const override
Definition: ObsGeosAodTLAD.cc:69
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition: src/ufo/GeoVaLs.h:39
ufo::ObsGeosAodTLAD
GeosAod TL/AD observation operator class.
Definition: ObsGeosAodTLAD.h:38
ObsGeosAodTLAD.interface.h
ufo::ObsGeosAodTLAD::simulateObsAD
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &) const override
Definition: ObsGeosAodTLAD.cc:61
ufo::ObsGeosAodTLAD::varin_
oops::Variables varin_
Definition: ObsGeosAodTLAD.h:60
ufo::ObsGeosAodTLAD::simulateObsTL
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &) const override
Definition: ObsGeosAodTLAD.cc:53
ufo::ObsGeosAodTLAD::classname
static const std::string classname()
Definition: ObsGeosAodTLAD.h:40
ufo::LinearObsOperatorBase
Base class for observation operators.
Definition: LinearObsOperatorBase.h:35
ufo::ObsGeosAodTLAD::toFortran
const int & toFortran() const
Definition: ObsGeosAodTLAD.h:54