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