UFO
|
A collection of observation operators used to simulate different variables. More...
#include <ObsComposite.h>
Public Types | |
typedef ObsCompositeParameters | Parameters_ |
Public Member Functions | |
ObsComposite (const ioda::ObsSpace &, const Parameters_ &) | |
~ObsComposite () 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 | |
const ioda::ObsSpace & | odb_ |
std::vector< std::unique_ptr< ObsOperatorBase > > | components_ |
oops::Variables | requiredVars_ |
A collection of observation operators used to simulate different variables.
Use this operator to split the list of simulated variables in the ObsSpace into groups, each of which should be simulated with a different operator. For example, if the list of simulated variables contains some upper-air variables that need to be vertically interpolated and some surface variables that don't, you can arrange the obs operator
section in the input YAML file as in the following example:
obs operator: name: Composite components: - name: VertInterp variables: - name: relative_humidity name: northward_wind name: eastward_wind - name: Identity variables: - name: surface_pressure
variables
option and thus can be used to simulate only a subset of variables. Definition at line 55 of file ObsComposite.h.
The type of parameters accepted by the constructor of this operator. This typedef is used by the ObsOperatorFactory.
Definition at line 60 of file ObsComposite.h.
ufo::ObsComposite::ObsComposite | ( | const ioda::ObsSpace & | odb, |
const Parameters_ & | parameters | ||
) |
|
override |
Definition at line 50 of file ObsComposite.cc.
|
inlinestatic |
Definition at line 62 of file ObsComposite.h.
|
overrideprivatevirtual |
Implements ufo::ObsOperatorBase.
Definition at line 87 of file ObsComposite.cc.
|
inlineoverridevirtual |
Operator input required from Model.
Implements ufo::ObsOperatorBase.
Definition at line 69 of file ObsComposite.h.
|
overridevirtual |
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 68 of file ObsComposite.cc.
|
overridevirtual |
|
private |
Definition at line 78 of file ObsComposite.h.
|
private |
Definition at line 77 of file ObsComposite.h.
|
private |
Definition at line 79 of file ObsComposite.h.