OOPS
oops::ObsErrorDiag< OBS > Class Template Reference

Diagonal observation error covariance matrix. More...

#include <ObsErrorDiag.h>

Inheritance diagram for oops::ObsErrorDiag< OBS >:
Collaboration diagram for oops::ObsErrorDiag< OBS >:

Public Member Functions

 ObsErrorDiag (const eckit::Configuration &, const ObsSpace_ &)
 
void multiply (ObsVector_ &) const override
 Multiply a Departure by \(R\). More...
 
void inverseMultiply (ObsVector_ &) const override
 Multiply a Departure by \(R^{-1}\). More...
 
void randomize (ObsVector_ &) const override
 Generate random perturbation. More...
 
double getRMSE () const override
 Get mean error for Jo table. More...
 
const ObsVector_inverseVariance () const override
 Return inverseVariance. More...
 
- Public Member Functions inherited from oops::ObsErrorBase< OBS >
 ObsErrorBase ()=default
 
virtual ~ObsErrorBase ()=default
 

Protected Attributes

ObsVector_ stddev_
 
ObsVector_ inverseVariance_
 

Private Types

typedef ObsSpace< OBS > ObsSpace_
 
typedef ObsVector< OBS > ObsVector_
 

Private Member Functions

void print (std::ostream &) const override
 

Private Attributes

ObsErrorDiagParameters options_
 

Detailed Description

template<typename OBS>
class oops::ObsErrorDiag< OBS >

Diagonal observation error covariance matrix.

Definition at line 37 of file ObsErrorDiag.h.

Member Typedef Documentation

◆ ObsSpace_

template<typename OBS >
typedef ObsSpace<OBS> oops::ObsErrorDiag< OBS >::ObsSpace_
private

Definition at line 38 of file ObsErrorDiag.h.

◆ ObsVector_

template<typename OBS >
typedef ObsVector<OBS> oops::ObsErrorDiag< OBS >::ObsVector_
private

Definition at line 39 of file ObsErrorDiag.h.

Constructor & Destructor Documentation

◆ ObsErrorDiag()

template<typename OBS >
oops::ObsErrorDiag< OBS >::ObsErrorDiag ( const eckit::Configuration &  conf,
const ObsSpace_ obsgeom 
)

Definition at line 71 of file ObsErrorDiag.h.

Here is the call graph for this function:

Member Function Documentation

◆ getRMSE()

template<typename OBS >
double oops::ObsErrorDiag< OBS >::getRMSE ( ) const
inlineoverridevirtual

Get mean error for Jo table.

Implements oops::ObsErrorBase< OBS >.

Definition at line 54 of file ObsErrorDiag.h.

Here is the call graph for this function:

◆ inverseMultiply()

template<typename OBS >
void oops::ObsErrorDiag< OBS >::inverseMultiply ( ObsVector_ dy) const
overridevirtual

Multiply a Departure by \(R^{-1}\).

Implements oops::ObsErrorBase< OBS >.

Definition at line 91 of file ObsErrorDiag.h.

◆ inverseVariance()

template<typename OBS >
const ObsVector_& oops::ObsErrorDiag< OBS >::inverseVariance ( ) const
inlineoverridevirtual

Return inverseVariance.

Implements oops::ObsErrorBase< OBS >.

Definition at line 57 of file ObsErrorDiag.h.

◆ multiply()

template<typename OBS >
void oops::ObsErrorDiag< OBS >::multiply ( ObsVector_ dy) const
overridevirtual

Multiply a Departure by \(R\).

Implements oops::ObsErrorBase< OBS >.

Definition at line 84 of file ObsErrorDiag.h.

◆ print()

template<typename OBS >
void oops::ObsErrorDiag< OBS >::print ( std::ostream &  os) const
overrideprivate

Definition at line 107 of file ObsErrorDiag.h.

◆ randomize()

template<typename OBS >
void oops::ObsErrorDiag< OBS >::randomize ( ObsVector_ dy) const
overridevirtual

Generate random perturbation.

Implements oops::ObsErrorBase< OBS >.

Definition at line 98 of file ObsErrorDiag.h.

Here is the call graph for this function:

Member Data Documentation

◆ inverseVariance_

template<typename OBS >
ObsVector_ oops::ObsErrorDiag< OBS >::inverseVariance_
protected

Definition at line 61 of file ObsErrorDiag.h.

◆ options_

template<typename OBS >
ObsErrorDiagParameters oops::ObsErrorDiag< OBS >::options_
private

Definition at line 65 of file ObsErrorDiag.h.

◆ stddev_

template<typename OBS >
ObsVector_ oops::ObsErrorDiag< OBS >::stddev_
protected

Definition at line 60 of file ObsErrorDiag.h.


The documentation for this class was generated from the following file: