UFO
AnalyticInit.cc
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020-2020 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 #include "ufo/AnalyticInit.h"
9 
10 #include "eckit/config/Configuration.h"
11 
12 #include "oops/util/Logger.h"
13 
14 #include "ufo/GeoVaLs.h"
15 #include "ufo/Locations.h"
16 
17 namespace ufo {
18 
19 // -----------------------------------------------------------------------------
20 /// \brief Constructor for tests
21 AnalyticInit::AnalyticInit(const eckit::Configuration & config) : config_(config)
22 { }
23 // -----------------------------------------------------------------------------
24 /*! \brief Analytic initialization for GeoVaLs
25  *
26  * \details This ufo::AnalyticInit constructor was introduced in May, 2018 for use with
27  * the interpolation test. If "analytic_init" is not specified in the
28  * configuration then this does nothing. If "analytic_init" **is** specified, then
29  * the values are replaced by values computed directly from one of several idealized
30  * analytic states.
31  *
32  * \date May, 2018: Created (M. Miesch, JCSDA)
33  * \date June, 2018: Split off from constructor into independent method
34  * (M. Miesch, JCSDA)
35  */
36 void AnalyticInit::fillGeoVaLs(const Locations & locs, GeoVaLs & geovals) const
37 {
38  oops::Log::trace() << "AnalyticInit::analytic_init starting" << std::endl;
39  if (config_.has("analytic_init")) {
41  }
42  oops::Log::trace() << "AnalyticInit::analytic_init done" << std::endl;
43 }
44 // -----------------------------------------------------------------------------
45 } // namespace ufo
void fillGeoVaLs(const Locations &, GeoVaLs &) const
Analytic initialization for GeoVaLs.
Definition: AnalyticInit.cc:36
AnalyticInit(const eckit::Configuration &)
Constructor for tests.
Definition: AnalyticInit.cc:21
const eckit::LocalConfiguration config_
Definition: AnalyticInit.h:29
GeoVaLs: geophysical values at locations.
Locations class to handle simple lat-lon-time locations.
Definition: RunCRTM.h:27
void ufo_geovals_analytic_init_f90(F90goms &, const Locations &, const eckit::Configuration &)