FV3 Bundle
ObsSeaSurfaceTemp.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2017 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_OBSSEASURFACETEMP_H_
9 #define UFO_MARINE_SEASURFACETEMP_OBSSEASURFACETEMP_H_
10 
11 #include <ostream>
12 #include <string>
13 
14 #include <boost/scoped_ptr.hpp>
15 
16 #include "eckit/config/Configuration.h"
17 
18 #include "ioda/Locations.h"
19 #include "ioda/ObsSpace.h"
20 #include "ioda/ObsVector.h"
21 
22 #include "oops/base/Variables.h"
23 #include "oops/util/Logger.h"
24 #include "oops/util/ObjectCounter.h"
25 
26 #include "ufo/GeoVaLs.h"
28 #include "ufo/ObsBias.h"
29 #include "ufo/ObsOperatorBase.h"
30 
31 namespace ufo {
32 
33 // -----------------------------------------------------------------------------
34 
36  private util::ObjectCounter<ObsSeaSurfaceTemp> {
37  public:
38  static const std::string classname() {return "ufo::ObsSeaSurfaceTemp";}
39 
40  ObsSeaSurfaceTemp(const ioda::ObsSpace &, const eckit::Configuration &);
41  virtual ~ObsSeaSurfaceTemp();
42 
43 // Obs Operator
44  void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const;
45 
46 // Other
47  const oops::Variables & variables() const {return *varin_;}
48 
50  const int & toFortran() const {return keyOperSeaSurfaceTemp_;}
51 
52  private:
53  void print(std::ostream &) const;
56  boost::scoped_ptr<const oops::Variables> varin_;
57 };
58 
59 } // namespace ufo
60 
61 #endif // UFO_MARINE_SEASURFACETEMP_OBSSEASURFACETEMP_H_
62 
ObsVector class to handle vectors in observation space for IODA.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const
Obs Operator.
ObsSeaSurfaceTemp(const ioda::ObsSpace &, const eckit::Configuration &)
Base class for observation operators.
Wrapper around ObsHelpQG, mostly to hide the factory.
boost::scoped_ptr< const oops::Variables > varin_
const ioda::ObsSpace & odb_
GeoVaLs: geophysical values at locations.
const int & toFortran() const
const oops::Variables & variables() const
Operator input required from Model.
void print(std::ostream &) const
Class to handle observation bias parameters.
static const std::string classname()