10 #include "eckit/config/LocalConfiguration.h"
11 #include "eckit/exception/Exceptions.h"
13 #include "oops/util/DateTime.h"
14 #include "oops/util/Duration.h"
15 #include "oops/util/Logger.h"
24 const util::DateTime & bgn,
const util::DateTime & end)
25 : winbgn_(bgn), winend_(end), instance_(++instances_) {
30 util::DateTime ref(1623, 6, 19, 0, 0, 0);
32 util::Duration dt(
winbgn_ - ref);
33 seed_ = dt.toSeconds();
42 Log::debug() <<
"ObsSpaceBase: seed = " <<
seed_ << std::endl;
ObsSpaceBase(const ObsSpaceParametersBase &, const eckit::mpi::Comm &, const util::DateTime &, const util::DateTime &)
const util::DateTime winbgn_
Base class for configuration parameters of observation spaces.
oops::Parameter< int > obsPerturbationsSeed
An integer added to the seed used to initialize the random number generator producing observation per...
The namespace for the main oops code.