UFO
ObsAtmVertInterpLay.cc
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 
9 
10 #include <ostream>
11 
12 #include "ioda/ObsVector.h"
13 #include "oops/util/Logger.h"
14 
15 #include "ufo/GeoVaLs.h"
16 #include "ufo/ObsDiagnostics.h"
17 
18 namespace ufo {
19 
20 // -----------------------------------------------------------------------------
22 // -----------------------------------------------------------------------------
23 
24 ObsAtmVertInterpLay::ObsAtmVertInterpLay(const ioda::ObsSpace & odb,
25  const eckit::Configuration & config)
26  : ObsOperatorBase(odb, config), keyOperAtmVertInterpLay_(0), odb_(odb), varin_()
27 {
29 
30  oops::Log::trace() << "ObsAtmVertInterpLay created." << std::endl;
31 }
32 
33 // -----------------------------------------------------------------------------
34 
37  oops::Log::trace() << "ObsAtmVertInterpLay destructed" << std::endl;
38 }
39 
40 // -----------------------------------------------------------------------------
41 
42 void ObsAtmVertInterpLay::simulateObs(const GeoVaLs & gom, ioda::ObsVector & ovec,
43  ObsDiagnostics &) const {
45  ovec.nlocs(), ovec.toFortran());
46 }
47 
48 // -----------------------------------------------------------------------------
49 
50 void ObsAtmVertInterpLay::print(std::ostream & os) const {
51  os << "ObsAtmVertInterpLay::print not implemented";
52 }
53 
54 // -----------------------------------------------------------------------------
55 
56 } // namespace ufo
ufo::ObsAtmVertInterpLay::varin_
oops::Variables varin_
Definition: ObsAtmVertInterpLay.h:56
ufo::ObsAtmVertInterpLay::~ObsAtmVertInterpLay
virtual ~ObsAtmVertInterpLay()
Definition: ObsAtmVertInterpLay.cc:35
ufo::ufo_atmvertinterplay_setup_f90
void ufo_atmvertinterplay_setup_f90(F90hop &, const eckit::Configuration &, const oops::Variables &, oops::Variables &)
Interface to Fortran UFO atmvertinterplay routines.
ufo::ObsAtmVertInterpLay::print
void print(std::ostream &) const override
Definition: ObsAtmVertInterpLay.cc:50
ufo::ufo_atmvertinterplay_delete_f90
void ufo_atmvertinterplay_delete_f90(F90hop &)
ufo::ObsAtmVertInterpLay::odb_
const ioda::ObsSpace & odb_
Definition: ObsAtmVertInterpLay.h:55
ufo::ufo_atmvertinterplay_simobs_f90
void ufo_atmvertinterplay_simobs_f90(const F90hop &, const F90goms &, const ioda::ObsSpace &, const int &, const int &, double &)
ufo
Definition: RunCRTM.h:27
ufo::makerAtmVertInterpLay_
static ObsOperatorMaker< ObsAtmVertInterpLay > makerAtmVertInterpLay_("AtmVertInterpLay")
ufo::ObsOperatorBase
Base class for observation operators.
Definition: ObsOperatorBase.h:37
ufo::ObsAtmVertInterpLay::keyOperAtmVertInterpLay_
F90hop keyOperAtmVertInterpLay_
Definition: ObsAtmVertInterpLay.h:54
ufo::GeoVaLs::toFortran
int & toFortran()
Definition: src/ufo/GeoVaLs.h:80
ufo::ObsAtmVertInterpLay::simulateObs
void simulateObs(const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override
Obs Operator.
Definition: ObsAtmVertInterpLay.cc:42
ufo::ObsDiagnostics
Definition: src/ufo/ObsDiagnostics.h:35
ufo::ObsOperatorMaker
Definition: ObsOperatorBase.h:78
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition: src/ufo/GeoVaLs.h:39
ufo::ObsAtmVertInterpLay::ObsAtmVertInterpLay
ObsAtmVertInterpLay(const ioda::ObsSpace &, const eckit::Configuration &)
Definition: ObsAtmVertInterpLay.cc:24
ObsAtmVertInterpLay.h