FV3 Bundle
ObsSeaIceThicknessTLAD.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 #include <string>
12 #include <vector>
13 
14 #include "oops/base/Variables.h"
15 #include "oops/util/Logger.h"
16 
17 #include "ioda/ObsVector.h"
18 
19 #include "ufo/GeoVaLs.h"
20 
21 namespace ufo {
22 
23 // -----------------------------------------------------------------------------
24 static LinearObsOperatorMaker<ObsSeaIceThicknessTLAD> makerSeaIceThicknessTLAD_("SeaIceThickness");
25 // -----------------------------------------------------------------------------
26 
28  const eckit::Configuration & config)
29  : keyOperSeaIceThickness_(0), varin_()
30 {
31  const eckit::Configuration * configc = &config;
33  const std::vector<std::string> vv{"ice_concentration", "ice_thickness"};
34  varin_.reset(new oops::Variables(vv));
35  oops::Log::trace() << "ObsSeaIceThicknessTLAD created" << std::endl;
36 }
37 
38 // -----------------------------------------------------------------------------
39 
42  oops::Log::trace() << "ObsSeaIceThicknessTLAD destrcuted" << std::endl;
43 }
44 
45 // -----------------------------------------------------------------------------
46 
47 void ObsSeaIceThicknessTLAD::setTrajectory(const GeoVaLs & geovals, const ObsBias & bias) {
49 }
50 
51 // -----------------------------------------------------------------------------
52 
54  const ObsBiasIncrement & bias) const {
56  ovec.size(), ovec.toFortran());
57 }
58 
59 // -----------------------------------------------------------------------------
60 
62  ObsBiasIncrement & bias) const {
64  ovec.size(), ovec.toFortran());
65 }
66 
67 // -----------------------------------------------------------------------------
68 
69 void ObsSeaIceThicknessTLAD::print(std::ostream & os) const {
70  os << "ObsSeaIceThicknessTLAD::print not implemented" << std::endl;
71 }
72 
73 // -----------------------------------------------------------------------------
74 
75 } // namespace ufo
std::size_t size() const
ObsVector class to handle vectors in observation space for IODA.
void print(std::ostream &) const
void simulateObsAD(GeoVaLs &, const ioda::ObsVector &, ObsBiasIncrement &) const
const double & toFortran() const
void ufo_seaicethick_simobs_tl_f90(const F90hop &, const F90goms &, const int &, const double &)
Wrapper around ObsHelpQG, mostly to hide the factory.
void ufo_seaicethick_tlad_settraj_f90(const F90hop &, const F90goms &)
GeoVaLs: geophysical values at locations.
boost::scoped_ptr< const oops::Variables > varin_
void ufo_seaicethick_simobs_ad_f90(const F90hop &, const F90goms &, const int &, const double &)
void setTrajectory(const GeoVaLs &, const ObsBias &)
Obs Operator.
void ufo_seaicethick_tlad_delete_f90(F90hop &)
void simulateObsTL(const GeoVaLs &, ioda::ObsVector &, const ObsBiasIncrement &) const
Class to handle observation bias parameters.
static LinearObsOperatorMaker< ObsSeaIceThicknessTLAD > makerSeaIceThicknessTLAD_("SeaIceThickness")
void ufo_seaicethick_tlad_setup_f90(F90hop &, const eckit::Configuration *const *)
ObsSeaIceThicknessTLAD(const ioda::ObsSpace &, const eckit::Configuration &)