8 #ifndef MAINS_RUNCRTM_H_ 9 #define MAINS_RUNCRTM_H_ 14 #include "eckit/config/LocalConfiguration.h" 22 #include "oops/util/DateTime.h" 23 #include "oops/util/Duration.h" 24 #include "oops/util/Logger.h" 42 int execute(
const eckit::Configuration & fullConfig)
const {
44 const eckit::LocalConfiguration windowConf(fullConfig,
"Assimilation Window");
45 const util::Duration winlen(windowConf.getString(
"Length"));
46 const util::DateTime winbgn(windowConf.getString(
"Begin"));
47 const util::DateTime winend(winbgn + winlen);
48 oops::Log::info() <<
"Observation window is:" << windowConf << std::endl;
51 eckit::LocalConfiguration obsconf(fullConfig,
"Observations");
52 oops::Log::debug() <<
"Observations configuration is:" << obsconf << std::endl;
55 std::vector<eckit::LocalConfiguration>
conf;
56 obsconf.get(
"ObsTypes",
conf);
58 for (std::size_t jj = 0; jj < obsdb.
size(); ++jj) {
61 const eckit::LocalConfiguration gconf(
conf[jj],
"GeoVaLs");
64 eckit::LocalConfiguration biasConf;
65 conf[jj].get(
"ObsBias", biasConf);
72 const double zz = ovec.
rms();
73 const double xx =
conf[jj].getDouble(
"rmsequiv");
74 const double tol =
conf[jj].getDouble(
"tolerance");
90 #endif // MAINS_RUNCRTM_H_ oops::GeoVaLs< MODEL > GeoVaLs_
std::string appname() const
const Variables & variables() const
Other.
int execute(const eckit::Configuration &fullConfig) const
oops::Observations< MODEL > Observations_
subroutine, public info(self)
oops::ObsVector< MODEL > ObsVector_
oops::ObsOperator< MODEL > ObsOperator_
oops::ObsSpaces< MODEL > ObsSpace_
oops::ObsAuxControl< MODEL > ObsAuxCtrl_
void simulateObs(const GeoVaLs_ &, ObsVector_ &, const ObsAuxControl_ &) const
Obs Operator.
std::size_t size() const
Access.