UFO
|
Identity observation operator. More...
#include <ObsIdentity.h>
Public Member Functions | |
ObsIdentity (const ioda::ObsSpace &, const eckit::Configuration &) | |
~ObsIdentity () override | |
void | simulateObs (const GeoVaLs &, ioda::ObsVector &, ObsDiagnostics &) const override |
Obs Operator. More... | |
const oops::Variables & | requiredVars () const override |
Operator input required from Model. More... | |
oops::Variables | simulatedVars () const override |
List of variables simulated by this operator. More... | |
![]() | |
ObsOperatorBase (const ioda::ObsSpace &odb, const eckit::Configuration &=eckit::LocalConfiguration()) | |
virtual | ~ObsOperatorBase () |
virtual std::unique_ptr< Locations > | locations () const |
Locations for GeoVaLs. More... | |
Static Public Member Functions | |
static const std::string | classname () |
Private Member Functions | |
void | print (std::ostream &) const override |
Private Attributes | |
oops::Variables | requiredVars_ |
Required variables. More... | |
oops::Variables | operatorVars_ |
Operator variables. More... | |
std::vector< int > | operatorVarIndices_ |
Indices of operator variables. More... | |
Identity observation operator.
This observation operator transfers model values directly to the H(x) vector, after horizontal interpolation has been performed, with no further processing. For GeoVaLs with more than one vertical level, only the first entry in the GeoVaL is processed in this way.
An example yaml configuration is:
obs operator: name: Identity
This operator also accepts an optional variables
parameter, which controls which ObsSpace variables will be simulated. This option should only be set if this operator is used as a component of the Composite operator. If variables
is not set, the operator will simulate all ObsSpace variables. Please see the documentation of the Composite operator for further details.
Definition at line 51 of file ObsIdentity.h.
ufo::ObsIdentity::ObsIdentity | ( | const ioda::ObsSpace & | odb, |
const eckit::Configuration & | config | ||
) |
|
override |
Definition at line 41 of file ObsIdentity.cc.
|
inlinestatic |
Definition at line 54 of file ObsIdentity.h.
|
overrideprivatevirtual |
Implements ufo::ObsOperatorBase.
Definition at line 67 of file ObsIdentity.cc.
|
inlineoverridevirtual |
Operator input required from Model.
Implements ufo::ObsOperatorBase.
Definition at line 61 of file ObsIdentity.h.
|
inlineoverridevirtual |
List of variables simulated by this operator.
The default implementation returns the list of all simulated variables in the ObsSpace.
Reimplemented from ufo::ObsOperatorBase.
Definition at line 63 of file ObsIdentity.h.
|
overridevirtual |
Obs Operator.
Implements ufo::ObsOperatorBase.
Definition at line 47 of file ObsIdentity.cc.
|
private |
Indices of operator variables.
Definition at line 76 of file ObsIdentity.h.
|
private |
Operator variables.
Definition at line 73 of file ObsIdentity.h.
|
private |
Required variables.
Definition at line 70 of file ObsIdentity.h.