FV3 Bundle
ObsSeaSurfaceTempTLAD.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_MARINE_SEASURFACETEMP_OBSSEASURFACETEMPTLAD_H_
9 #define UFO_MARINE_SEASURFACETEMP_OBSSEASURFACETEMPTLAD_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include <boost/scoped_ptr.hpp>
15 
16 #include "ioda/ObsSpace.h"
17 
18 #include "oops/base/Variables.h"
19 #include "oops/util/Logger.h"
20 #include "oops/util/ObjectCounter.h"
21 
24 
25 // Forward declarations
26 namespace util {
27  class DateTime;
28 }
29 
30 namespace ioda {
31  class ObsVector;
32 }
33 
34 namespace ufo {
35  class GeoVaLs;
36  class ObsBias;
37  class ObsBiasIncrement;
38 
39 // -----------------------------------------------------------------------------
40 
42  private util::ObjectCounter<ObsSeaSurfaceTempTLAD> {
43  public:
44  static const std::string classname() {return "ufo::ObsSeaSurfaceTempTLAD";}
45 
46  ObsSeaSurfaceTempTLAD(const ioda::ObsSpace &, const eckit::Configuration &);
47  virtual ~ObsSeaSurfaceTempTLAD();
48 
49  // Obs Operators
50  void setTrajectory(const GeoVaLs &, const ObsBias &);
51  void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const;
52  void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const;
53 
54  // Other
55  const oops::Variables & variables() const {return *varin_;}
56 
58  const int & toFortran() const {return keyOperSeaSurfaceTemp_;}
59 
60  private:
61  void print(std::ostream &) const;
64  boost::scoped_ptr<const oops::Variables> varin_;
65 };
66 } // namespace ufo
67 #endif // UFO_MARINE_SEASURFACETEMP_OBSSEASURFACETEMPTLAD_H_
Base class for observation operators.
ObsVector class to handle vectors in observation space for IODA.
const oops::Variables & variables() const
Operator input required from Model.
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const
static const std::string classname()
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
boost::scoped_ptr< const oops::Variables > varin_
void setTrajectory(const GeoVaLs &, const ObsBias &)
Obs Operator.
ObsSeaSurfaceTempTLAD(const ioda::ObsSpace &, const eckit::Configuration &)
Class to handle observation bias parameters.
void print(std::ostream &) const
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const
const ioda::ObsSpace & odb_