UFO
ObsSfcPCorrected.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_SFCPCORRECTED_OBSSFCPCORRECTED_H_
9 #define UFO_SFCPCORRECTED_OBSSFCPCORRECTED_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include "oops/base/Variables.h"
15 #include "oops/util/ObjectCounter.h"
16 
17 #include "ufo/ObsOperatorBase.h"
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 ObsDiagnostics;
33 
34 // -----------------------------------------------------------------------------
35 /// SfcPCorrected observation operator class
37  private util::ObjectCounter<ObsSfcPCorrected> {
38  public:
39  static const std::string classname() {return "ufo::ObsSfcPCorrected";}
40 
41  ObsSfcPCorrected(const ioda::ObsSpace &, const eckit::Configuration &);
42  virtual ~ObsSfcPCorrected();
43 
44 // Obs Operator
45  void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override;
46 
47 // Other
48  const oops::Variables & requiredVars() const override {return varin_;}
49 
50  oops::Variables simulatedVars() const override {return operatorVars_;}
51 
52  int & toFortran() {return keyOper_;}
53  const int & toFortran() const {return keyOper_;}
54 
55  private:
56  void print(std::ostream &) const override;
58  const ioda::ObsSpace& odb_;
59  oops::Variables varin_;
60  oops::Variables operatorVars_;
61 };
62 
63 // -----------------------------------------------------------------------------
64 
65 } // namespace ufo
66 #endif // UFO_SFCPCORRECTED_OBSSFCPCORRECTED_H_
GeoVaLs: geophysical values at locations.
SfcPCorrected observation operator class.
const oops::Variables & requiredVars() const override
Operator input required from Model.
ObsSfcPCorrected(const ioda::ObsSpace &, const eckit::Configuration &)
oops::Variables operatorVars_
const ioda::ObsSpace & odb_
void print(std::ostream &) const override
oops::Variables varin_
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
const int & toFortran() const
static const std::string classname()
oops::Variables simulatedVars() const override
List of variables simulated by this operator.
Forward declarations.
Definition: ObsAodExt.h:21
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
int F90hop
Definition: Fortran.h:18