FV3 Bundle
ObsSeaIceThickness.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_SEAICETHICKNESS_OBSSEAICETHICKNESS_H_
9 #define UFO_MARINE_SEAICETHICKNESS_OBSSEAICETHICKNESS_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<ObsSeaIceThickness> {
39  public:
40  static const std::string classname() {return "ufo::ObsSeaIceThickness";}
41 
42  ObsSeaIceThickness(const ioda::ObsSpace &, const eckit::Configuration &);
43  virtual ~ObsSeaIceThickness();
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 keyOperSeaIceThickness_;}
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_SEAICETHICKNESS_OBSSEAICETHICKNESS_H_
Total ice concentration observation for UFO.
ObsVector class to handle vectors in observation space for IODA.
boost::scoped_ptr< const oops::Variables > varin_
Base class for observation operators.
ObsSeaIceThickness(const ioda::ObsSpace &, const eckit::Configuration &)
void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const
Obs Operator.
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
static const std::string classname()
void print(std::ostream &) const
const int & toFortran() const
Class to handle observation bias parameters.
const oops::Variables & variables() const
Operator input required from Model.
const ioda::ObsSpace & odb_