FV3 Bundle
ObservationTLAD.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2009-2016 ECMWF.
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  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 #ifndef LORENZ95_OBSERVATIONTLAD_H_
12 #define LORENZ95_OBSERVATIONTLAD_H_
13 
14 #include <ostream>
15 #include <string>
16 
17 #include <boost/noncopyable.hpp>
18 
19 #include "oops/base/Variables.h"
20 #include "oops/util/ObjectCounter.h"
21 #include "oops/util/Printable.h"
22 
23 // Forward declarations
24 namespace eckit {
25  class Configuration;
26 }
27 
28 namespace lorenz95 {
29  class GomL95;
30  class ObsBias;
31  class ObsBiasCorrection;
32  class ObsTable;
33  class ObsVec1D;
34 
35 /// Observation for Lorenz 95 model.
36 /*!
37  * ObservationTLAD defines the linearized ObsOperator for Lorenz 95 model.
38  */
39 
40 // -----------------------------------------------------------------------------
41 
42 class ObservationTLAD : public util::Printable,
43  private boost::noncopyable,
44  private util::ObjectCounter<ObservationTLAD> {
45  public:
46  static const std::string classname() {return "lorenz95::ObservationTLAD";}
47 
48  ObservationTLAD(const ObsTable &, const eckit::Configuration &);
50 
51 // Obs Operators
52  void setTrajectory(const GomL95 &, const ObsBias &);
53  void simulateObsTL(const GomL95 &, ObsVec1D &, const ObsBiasCorrection &) const;
54  void simulateObsAD(GomL95 &, const ObsVec1D &, ObsBiasCorrection &) const;
55 
56 // Other
57  const oops::Variables & variables() const {return inputs_;}
58 
59  private:
60  void print(std::ostream &) const;
62 };
63 
64 // -----------------------------------------------------------------------------
65 
66 } // namespace lorenz95
67 
68 #endif // LORENZ95_OBSERVATIONTLAD_H_
GomL95 class to handle locations for L95 model.
Definition: GomL95.h:32
void simulateObsTL(const GomL95 &, ObsVec1D &, const ObsBiasCorrection &) const
Class to handle observation bias parameters.
Vector in observation space.
Definition: ObsVec1D.h:32
void setTrajectory(const GomL95 &, const ObsBias &)
void simulateObsAD(GomL95 &, const ObsVec1D &, ObsBiasCorrection &) const
The namespace for the L95 model.
void print(std::ostream &) const
ObservationTLAD(const ObsTable &, const eckit::Configuration &)
static const std::string classname()
A Simple Observation Data Handler.
Definition: ObsTable.h:39
Observation for Lorenz 95 model.
const oops::Variables & variables() const
const oops::Variables inputs_