FV3 Bundle
oops::ObsErrorDiag< MODEL > Class Template Reference

Diagonal observation error covariance matrix. More...

#include <ObsErrorDiag.h>

Inheritance diagram for oops::ObsErrorDiag< MODEL >:
[legend]
Collaboration diagram for oops::ObsErrorDiag< MODEL >:
[legend]

Public Member Functions

 ObsErrorDiag (const ObsSpace_ &, const eckit::Configuration &)
 
 ~ObsErrorDiag ()
 
void linearize (const ObsVector_ &)
 Linearize and reset for inner loop (nothing in this simple case) More...
 
ObsVector_multiply (const ObsVector_ &) const
 Multiply a Departure by \(R\). More...
 
ObsVector_inverseMultiply (const ObsVector_ &) const
 Multiply a Departure by \(R^{-1}\). More...
 
void randomize (ObsVector_ &) const
 Generate random perturbation. More...
 
double getRMSE () const
 Get mean error for Jo table. More...
 
- Public Member Functions inherited from oops::ObsErrorBase< MODEL >
 ObsErrorBase ()
 
virtual ~ObsErrorBase ()
 

Private Types

typedef MODEL::ObsSpace ObsSpace_
 
typedef MODEL::ObsVector ObsVector_
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

boost::scoped_ptr< ObsVector_stddev_
 
boost::scoped_ptr< ObsVector_inverseVariance_
 

Detailed Description

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

Diagonal observation error covariance matrix.

Definition at line 32 of file ObsErrorDiag.h.

Member Typedef Documentation

◆ ObsSpace_

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

Definition at line 33 of file ObsErrorDiag.h.

◆ ObsVector_

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

Definition at line 34 of file ObsErrorDiag.h.

Constructor & Destructor Documentation

◆ ObsErrorDiag()

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

Definition at line 65 of file ObsErrorDiag.h.

◆ ~ObsErrorDiag()

template<typename MODEL >
oops::ObsErrorDiag< MODEL >::~ObsErrorDiag ( )

Definition at line 82 of file ObsErrorDiag.h.

Member Function Documentation

◆ getRMSE()

template<typename MODEL >
double oops::ObsErrorDiag< MODEL >::getRMSE ( ) const
inlinevirtual

Get mean error for Jo table.

Implements oops::ObsErrorBase< MODEL >.

Definition at line 53 of file ObsErrorDiag.h.

◆ inverseMultiply()

template<typename MODEL >
MODEL::ObsVector * oops::ObsErrorDiag< MODEL >::inverseMultiply ( const ObsVector_ dy) const
virtual

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

Implements oops::ObsErrorBase< MODEL >.

Definition at line 98 of file ObsErrorDiag.h.

◆ linearize()

template<typename MODEL >
void oops::ObsErrorDiag< MODEL >::linearize ( const ObsVector_ )
inlinevirtual

Linearize and reset for inner loop (nothing in this simple case)

Implements oops::ObsErrorBase< MODEL >.

Definition at line 41 of file ObsErrorDiag.h.

◆ multiply()

template<typename MODEL >
MODEL::ObsVector * oops::ObsErrorDiag< MODEL >::multiply ( const ObsVector_ dy) const
virtual

Multiply a Departure by \(R\).

Implements oops::ObsErrorBase< MODEL >.

Definition at line 89 of file ObsErrorDiag.h.

◆ print()

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

Definition at line 115 of file ObsErrorDiag.h.

◆ randomize()

template<typename MODEL >
void oops::ObsErrorDiag< MODEL >::randomize ( ObsVector_ dy) const
virtual

Generate random perturbation.

Implements oops::ObsErrorBase< MODEL >.

Definition at line 107 of file ObsErrorDiag.h.

Member Data Documentation

◆ inverseVariance_

template<typename MODEL >
boost::scoped_ptr<ObsVector_> oops::ObsErrorDiag< MODEL >::inverseVariance_
private

Definition at line 59 of file ObsErrorDiag.h.

◆ stddev_

template<typename MODEL >
boost::scoped_ptr<ObsVector_> oops::ObsErrorDiag< MODEL >::stddev_
private

Definition at line 58 of file ObsErrorDiag.h.


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