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