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 : variance_(0.0), active_(false)
30 if (params.
covariance.value() != boost::none &&
31 params.
covariance.value()->standardDeviation.value() != boost::none) {
33 const double zz = *params.
covariance.value()->standardDeviation.value();
36 oops::Log::info() <<
"ObsBiasCovariance variance = " <<
variance_ << std::endl;
62 util::NormalDistribution<double> x(1, 0.0, 1.0, 4);
71 os <<
"ObsBiasCovariance: variance = " <<
variance_;
73 os <<
"ObsBiasCovariance not active";
void multiply(const ObsBiasCorrection &, ObsBiasCorrection &) const
void randomize(ObsBiasCorrection &) const
void inverseMultiply(const ObsBiasCorrection &, ObsBiasCorrection &) const
void print(std::ostream &) const
ObsBiasCovariance(const ObsTable &, const Parameters_ &)
Constructor, destructor.
oops::OptionalParameter< ObsBiasCovarianceParameters > covariance
A Simple Observation Data Handler.
The namespace for the L95 model.