FV3 Bundle
ObservationL95.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_OBSERVATIONL95_H_
12 #define LORENZ95_OBSERVATIONL95_H_
13 
14 #include <ostream>
15 #include <string>
16 
17 #include <boost/noncopyable.hpp>
18 
20 #include "oops/base/Variables.h"
21 #include "oops/util/ObjectCounter.h"
22 #include "oops/util/Printable.h"
23 
24 // Forward declarations
25 namespace eckit {
26  class Configuration;
27 }
28 
29 namespace lorenz95 {
30  class GomL95;
31  class ObsBias;
32  class ObsTable;
33  class ObsVec1D;
34 
35 /// Observation for Lorenz 95 model.
36 /*!
37  * ObservationL95 defines ObsOperator for Lorenz 95 model.
38  */
39 
40 // -----------------------------------------------------------------------------
41 
42 class ObservationL95 : public util::Printable,
43  private boost::noncopyable,
44  private util::ObjectCounter<ObservationL95> {
45  public:
46  static const std::string classname() {return "lorenz95::ObservationL95";}
47 
48  ObservationL95(const ObsTable &, const eckit::Configuration &);
50 
51 // Obs Operators
52  void simulateObs(const GomL95 &, ObsVec1D &, const ObsBias &) const;
53 
54 // Other
55  const oops::Variables & variables() const {return inputs_;}
56 
57  const ObsTable & table() const {return obsdb_;}
58 
59  private:
60  void print(std::ostream &) const;
61  const ObsTable & obsdb_;
63 };
64 
65 // -----------------------------------------------------------------------------
66 
67 } // namespace lorenz95
68 
69 #endif // LORENZ95_OBSERVATIONL95_H_
GomL95 class to handle locations for L95 model.
Definition: GomL95.h:32
Class to handle observation bias parameters.
const ObsTable & table() const
static const std::string classname()
const ObsTable & obsdb_
const oops::Variables inputs_
Vector in observation space.
Definition: ObsVec1D.h:32
The namespace for the L95 model.
const oops::Variables & variables() const
void simulateObs(const GomL95 &, ObsVec1D &, const ObsBias &) const
A Simple Observation Data Handler.
Definition: ObsTable.h:39
void print(std::ostream &) const
Observation for Lorenz 95 model.
ObservationL95(const ObsTable &, const eckit::Configuration &)