|
OOPS
|
Base class for OBS-specific implementations of the ObsError interface. More...
#include <ObsErrorBase.h>


Public Member Functions | |
| ObsErrorBase (const eckit::mpi::Comm &timeComm) | |
| void | multiply (oops::ObsVector< OBS > &dy) const final |
Multiply a Departure dy by \(R\). More... | |
| void | inverseMultiply (oops::ObsVector< OBS > &dy) const final |
Multiply a Departure dy by \(R^{-1}\). More... | |
| void | randomize (oops::ObsVector< OBS > &dy) const final |
Generate random perturbation in dy. More... | |
| oops::ObsVector< OBS > | obserrors () const final |
| void | update (const oops::ObsVector< OBS > &dy) final |
Set the diagonal of the covariance matrix to stddev squared. More... | |
| oops::ObsVector< OBS > | inverseVariance () const final |
| Return the vector of inverse obs error variances. More... | |
| virtual void | multiply (ObsVector_ &dy) const =0 |
Multiply a Departure dy by \(R\). More... | |
| virtual void | inverseMultiply (ObsVector_ &dy) const =0 |
Multiply a Departure dy by \(R^{-1}\). More... | |
| virtual void | randomize (ObsVector_ &dy) const =0 |
Generate a random perturbation in dy. More... | |
| virtual std::unique_ptr< ObsVector_ > | getObsErrors () const =0 |
| virtual void | update (const ObsVector_ &stddev)=0 |
Set the diagonal of the covariance matrix to stddev squared. More... | |
| virtual std::unique_ptr< ObsVector_ > | getInverseVariance () const =0 |
| Return the vector of inverse obs error variances. More... | |
Public Member Functions inherited from oops::ObsErrorBase< OBS > | |
| ObsErrorBase ()=default | |
| virtual | ~ObsErrorBase ()=default |
| virtual void | save (const std::string &name) const =0 |
Save obs errors to the group name. More... | |
| virtual double | getRMSE () const =0 |
| Get mean error for Jo table. More... | |
Private Types | |
| typedef OBS::ObsSpace | ObsSpace_ |
| typedef OBS::ObsVector | ObsVector_ |
Private Attributes | |
| const eckit::mpi::Comm & | timeComm_ |
Base class for OBS-specific implementations of the ObsError interface.
interface::ObsErrorBase overrides oops::ObsErrorBase methods to pass OBS-specific implementations of ObsVector to OBS-specific implementations of ObsError.
Note: each subclass should typedef Parameters_ to the name of a subclass of ObsErrorParametersBase holding its configuration settings and provide a constructor with the following signature:
ObsErrorBase(const Parameters_ ¶ms, OBS::ObsSpace &obsspace,
const eckit::mpi::Comm &timeComm);
This constructor should pass timeComm to the constructor of this class.
Definition at line 45 of file interface/ObsErrorBase.h.
|
private |
Definition at line 46 of file interface/ObsErrorBase.h.
|
private |
Definition at line 47 of file interface/ObsErrorBase.h.
|
inlineexplicit |
Definition at line 50 of file interface/ObsErrorBase.h.
|
pure virtual |
Return the vector of inverse obs error variances.

|
pure virtual |
Return a copy of obs error std. dev. If this ObsVector_ is modified (e.g. by obs filters), it should be passed back to update() to ensure the covariance matrix stays consistent.

|
pure virtual |
Multiply a Departure dy by \(R^{-1}\).
Implements oops::ObsErrorBase< OBS >.
|
inlinefinalvirtual |
Multiply a Departure dy by \(R^{-1}\).
Implements oops::ObsErrorBase< OBS >.
Definition at line 60 of file interface/ObsErrorBase.h.
|
inlinefinalvirtual |
Return the vector of inverse obs error variances.
Implements oops::ObsErrorBase< OBS >.
Definition at line 76 of file interface/ObsErrorBase.h.

|
pure virtual |
Multiply a Departure dy by \(R\).
Implements oops::ObsErrorBase< OBS >.
|
inlinefinalvirtual |
Multiply a Departure dy by \(R\).
Implements oops::ObsErrorBase< OBS >.
Definition at line 56 of file interface/ObsErrorBase.h.
|
inlinefinalvirtual |
Return a copy of obs error std. dev. If this ObsVector_ is modified (e.g. by obs filters), it should be passed back to update() to ensure the covariance matrix stays consistent.
Implements oops::ObsErrorBase< OBS >.
Definition at line 68 of file interface/ObsErrorBase.h.

|
pure virtual |
Generate a random perturbation in dy.
Implements oops::ObsErrorBase< OBS >.
|
inlinefinalvirtual |
Generate random perturbation in dy.
Implements oops::ObsErrorBase< OBS >.
Definition at line 64 of file interface/ObsErrorBase.h.
|
pure virtual |
Set the diagonal of the covariance matrix to stddev squared.
Implements oops::ObsErrorBase< OBS >.
|
inlinefinalvirtual |
Set the diagonal of the covariance matrix to stddev squared.
Implements oops::ObsErrorBase< OBS >.
Definition at line 72 of file interface/ObsErrorBase.h.
|
private |
Definition at line 104 of file interface/ObsErrorBase.h.