FV3 Bundle
ObsRadiosonde.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_ATMOSPHERE_RADIOSONDE_OBSRADIOSONDE_H_
9 #define UFO_ATMOSPHERE_RADIOSONDE_OBSRADIOSONDE_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"
19 #include "ufo/ObsOperatorBase.h"
20 
21 namespace eckit {
22  class Configuration;
23 }
24 
25 namespace ioda {
26  class ObsSpace;
27  class ObsVector;
28 }
29 
30 namespace ufo {
31  class GeoVaLs;
32  class ObsBias;
33 
34 // -----------------------------------------------------------------------------
35 
36 /// Radiosonde observation operator
38  private util::ObjectCounter<ObsRadiosonde> {
39  public:
40  static const std::string classname() {return "ufo::ObsRadiosonde";}
41 
42  ObsRadiosonde(const ioda::ObsSpace &, const eckit::Configuration &);
43  virtual ~ObsRadiosonde();
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 
51  int & toFortran() {return keyOperRadiosonde_;}
52  const int & toFortran() const {return keyOperRadiosonde_;}
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_ATMOSPHERE_RADIOSONDE_OBSRADIOSONDE_H_
const ioda::ObsSpace & odb_
Definition: ObsRadiosonde.h:57
const oops::Variables & variables() const
Operator input required from Model.
Definition: ObsRadiosonde.h:49
ObsVector class to handle vectors in observation space for IODA.
void print(std::ostream &) const
Radiosonde observation operator.
Definition: ObsRadiosonde.h:37
ObsRadiosonde(const ioda::ObsSpace &, const eckit::Configuration &)
Base class for observation operators.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const
Obs Operator.
boost::scoped_ptr< const oops::Variables > varin_
Definition: ObsRadiosonde.h:58
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
static const std::string classname()
Definition: ObsRadiosonde.h:40
Class to handle observation bias parameters.
const int & toFortran() const
Definition: ObsRadiosonde.h:52
virtual ~ObsRadiosonde()