OOPS
|
Observation error covariance matrix of observations from a single ObsSpace. More...
#include <ObsError.h>
Public Member Functions | |
ObsError (const ObsErrorParametersBase ¶ms, const ObsSpace_ &os) | |
~ObsError () override | |
ObsError (const ObsError &)=delete | |
ObsError (ObsError &&)=default | |
ObsError & | operator= (const ObsError &)=delete |
ObsError & | operator= (ObsError &&)=default |
void | multiply (ObsVector_ &dy) const |
Multiply a Departure dy by \(R\). More... | |
void | inverseMultiply (ObsVector_ &dy) const |
Multiply a Departure dy by \(R^{-1}\). More... | |
void | randomize (ObsVector_ &dy) const |
Generate a random perturbation in dy . More... | |
void | save (const std::string &) const |
Save obs errors. More... | |
ObsVector_ | obserrors () const |
void | update (const ObsVector_ &stddev) |
Set the diagonal of the covariance matrix to stddev squared. More... | |
ObsVector_ | inverseVariance () const |
Return the vector of inverse obs error variances. More... | |
double | getRMSE () const |
Get mean error for Jo table. More... | |
Static Public Member Functions | |
static const std::string | classname () |
Private Types | |
typedef ObsErrorBase< OBS > | ObsErrorBase_ |
typedef ObsVector< OBS > | ObsVector_ |
typedef ObsSpace< OBS > | ObsSpace_ |
Private Member Functions | |
void | print (std::ostream &) const override |
Private Attributes | |
std::unique_ptr< ObsErrorBase_ > | err_ |
Observation error covariance matrix of observations from a single ObsSpace.
Definition at line 28 of file ObsError.h.
|
private |
Definition at line 30 of file ObsError.h.
|
private |
Definition at line 32 of file ObsError.h.
|
private |
Definition at line 31 of file ObsError.h.
oops::ObsError< OBS >::ObsError | ( | const ObsErrorParametersBase & | params, |
const ObsSpace_ & | os | ||
) |
|
override |
Definition at line 94 of file ObsError.h.
|
delete |
|
default |
|
inlinestatic |
Definition at line 35 of file ObsError.h.
double oops::ObsError< OBS >::getRMSE |
Get mean error for Jo table.
Definition at line 175 of file ObsError.h.
void oops::ObsError< OBS >::inverseMultiply | ( | ObsVector_ & | dy | ) | const |
Multiply a Departure dy
by \(R^{-1}\).
Definition at line 114 of file ObsError.h.
ObsVector< OBS > oops::ObsError< OBS >::inverseVariance |
Return the vector of inverse obs error variances.
Definition at line 164 of file ObsError.h.
void oops::ObsError< OBS >::multiply | ( | ObsVector_ & | dy | ) | const |
Multiply a Departure dy
by \(R\).
Definition at line 104 of file ObsError.h.
ObsError< OBS >::ObsVector_ oops::ObsError< OBS >::obserrors |
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.
Definition at line 143 of file ObsError.h.
|
delete |
|
default |
|
overrideprivate |
Definition at line 186 of file ObsError.h.
void oops::ObsError< OBS >::randomize | ( | ObsVector_ & | dy | ) | const |
Generate a random perturbation in dy
.
Definition at line 124 of file ObsError.h.
void oops::ObsError< OBS >::save | ( | const std::string & | name | ) | const |
Save obs errors.
Definition at line 133 of file ObsError.h.
void oops::ObsError< OBS >::update | ( | const ObsVector_ & | stddev | ) |
Set the diagonal of the covariance matrix to stddev
squared.
Definition at line 154 of file ObsError.h.
|
private |
Definition at line 72 of file ObsError.h.