FV3 Bundle
ObsSeaIceThicknessTLAD.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_OBSSEAICETHICKNESSTLAD_H_
9 #define UFO_MARINE_SEAICETHICKNESS_OBSSEAICETHICKNESSTLAD_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 
21 
22 // Forward declarations
23 namespace util {
24  class DateTime;
25 }
26 
27 namespace ioda {
28  class ObsVector;
29  class ObsSpace;
30 }
31 
32 namespace ufo {
33  class GeoVaLs;
34  class ObsBias;
35  class ObsBiasIncrement;
36 
37 // -----------------------------------------------------------------------------
38 /// Sea-ice fraction observation for model.
40  private util::ObjectCounter<ObsSeaIceThicknessTLAD> {
41  public:
42  static const std::string classname() {return "ufo::ObsSeaIceThicknessTLAD";}
43 
44  ObsSeaIceThicknessTLAD(const ioda::ObsSpace &, const eckit::Configuration &);
45  virtual ~ObsSeaIceThicknessTLAD();
46 
47  // Obs Operators
48  void setTrajectory(const GeoVaLs &, const ObsBias &);
49  void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const;
50  void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const;
51 
52  // Other
53  const oops::Variables & variables() const {return *varin_;}
54 
56  const int & toFortran() const {return keyOperSeaIceThickness_;}
57 
58  private:
59  void print(std::ostream &) const;
61  boost::scoped_ptr<const oops::Variables> varin_;
62 };
63 
64 // -----------------------------------------------------------------------------
65 
66 } // namespace ufo
67 #endif // UFO_MARINE_SEAICETHICKNESS_OBSSEAICETHICKNESSTLAD_H_
Base class for observation operators.
ObsVector class to handle vectors in observation space for IODA.
void print(std::ostream &) const
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
boost::scoped_ptr< const oops::Variables > varin_
Sea-ice fraction observation for model.
void setTrajectory(const GeoVaLs &, const ObsBias &)
Obs Operator.
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const
Class to handle observation bias parameters.
const oops::Variables & variables() const
Operator input required from Model.
ObsSeaIceThicknessTLAD(const ioda::ObsSpace &, const eckit::Configuration &)
static const std::string classname()