FV3 Bundle
ObsAircraft.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_AIRCRAFT_OBSAIRCRAFT_H_
9 #define UFO_ATMOSPHERE_AIRCRAFT_OBSAIRCRAFT_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 /// Aircraft (currently only temperature) observation for UFO.
37  private util::ObjectCounter<ObsAircraft> {
38  public:
39  static const std::string classname() {return "ufo::ObsAircraft";}
40 
41  ObsAircraft(const ioda::ObsSpace &, const eckit::Configuration &);
42  virtual ~ObsAircraft();
43 
44 // Obs Operator
45  void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const;
46 
47 // Other
48  const oops::Variables & variables() const {return *varin_;}
49 
50  int & toFortran() {return keyOperAircraft_;}
51  const int & toFortran() const {return keyOperAircraft_;}
52 
53  private:
54  void print(std::ostream &) const;
57  boost::scoped_ptr<const oops::Variables> varin_;
58 };
59 
60 // -----------------------------------------------------------------------------
61 
62 } // namespace ufo
63 #endif // UFO_ATMOSPHERE_AIRCRAFT_OBSAIRCRAFT_H_
Aircraft (currently only temperature) observation for UFO.
Definition: ObsAircraft.h:36
const int & toFortran() const
Definition: ObsAircraft.h:51
void print(std::ostream &) const
Definition: ObsAircraft.cc:55
F90hop keyOperAircraft_
Definition: ObsAircraft.h:55
ObsVector class to handle vectors in observation space for IODA.
int & toFortran()
Definition: ObsAircraft.h:50
ObsAircraft(const ioda::ObsSpace &, const eckit::Configuration &)
Definition: ObsAircraft.cc:28
boost::scoped_ptr< const oops::Variables > varin_
Definition: ObsAircraft.h:57
Base class for observation operators.
Wrapper around ObsHelpQG, mostly to hide the factory.
GeoVaLs: geophysical values at locations.
void simulateObs(const GeoVaLs &, ioda::ObsVector &, const ObsBias &) const
Obs Operator.
Definition: ObsAircraft.cc:47
virtual ~ObsAircraft()
Definition: ObsAircraft.cc:40
Class to handle observation bias parameters.
static const std::string classname()
Definition: ObsAircraft.h:39
const ioda::ObsSpace & odb_
Definition: ObsAircraft.h:56
const oops::Variables & variables() const
Operator input required from Model.
Definition: ObsAircraft.h:48