17 #include "eckit/config/Configuration.h"
18 #include "eckit/exception/Exceptions.h"
21 #include "oops/util/Logger.h"
22 #include "oops/util/Random.h"
28 : conf_(conf), variance_(0.0), active_(false)
30 if (
conf_.has(
"standard_deviation")) {
32 const double zz =
conf_.getDouble(
"standard_deviation");
35 oops::Log::info() <<
"ModelBiasCovariance variance = " <<
variance_ << std::endl;
60 const double stdev = std::sqrt(
variance_);
61 util::NormalDistribution<double> x(1, 0.0, stdev, 3);
67 os <<
"ModelBiasCovariance: variance = " <<
variance_;
69 os <<
"ModelBiasCovariance not active" << std::endl;
ModelBiasCovariance(const eckit::Configuration &, const Resolution &)
Constructor, destructor.
void inverseMultiply(const ModelBiasCorrection &, ModelBiasCorrection &) const
const eckit::LocalConfiguration conf_
void print(std::ostream &) const
void multiply(const ModelBiasCorrection &, ModelBiasCorrection &) const
void randomize(ModelBiasCorrection &) const
The namespace for the L95 model.