FV3 Bundle
oops::Observer< MODEL, STATE > Class Template Reference

Computes observation equivalent during model run. More...

#include <Observer.h>

Inheritance diagram for oops::Observer< MODEL, STATE >:
[legend]
Collaboration diagram for oops::Observer< MODEL, STATE >:
[legend]

Public Member Functions

 Observer (const ObsSpace_ &, const ObsOperator_ &, const ObsAuxCtrl_ &, const ObsFilters_ &, const util::Duration &tslot=util::Duration(0), const bool subwin=false)
 
 ~Observer ()
 
Observations_release ()
 
void processTraj (const STATE &, std::vector< boost::shared_ptr< InterpolatorTraj_ > > &) const
 
void finalizeTraj (const STATE &, LinearObsOperator_ &)
 
- Public Member Functions inherited from oops::PostBase< STATE >
 PostBase ()
 Constructors and basic operators. More...
 
 PostBase (const util::Duration &freq)
 
 PostBase (const eckit::Configuration &conf)
 
 PostBase (const util::DateTime &start, const eckit::Configuration &conf)
 
 PostBase (const util::DateTime &start, const util::DateTime &finish, const util::Duration &freq=util::Duration(0))
 
virtual ~PostBase ()
 
void initialize (const STATE &xx, const util::DateTime &end, const util::Duration &tstep)
 Setup. More...
 
void process (const STATE &xx)
 Process state or increment. More...
 
void finalize (const STATE &xx)
 Final. More...
 

Private Types

typedef GeoVaLs< MODEL > GeoVaLs_
 
typedef InterpolatorTraj< MODEL > InterpolatorTraj_
 
typedef LinearObsOperators< MODEL > LinearObsOperator_
 
typedef ObsAuxControl< MODEL > ObsAuxCtrl_
 
typedef ObsFilters< MODEL > ObsFilters_
 
typedef Observations< MODEL > Observations_
 
typedef ObsOperators< MODEL > ObsOperator_
 
typedef ObsSpaces< MODEL > ObsSpace_
 
typedef std::vector< boost::shared_ptr< InterpolatorTraj_ > > vspit
 

Private Member Functions

void doInitialize (const STATE &, const util::DateTime &, const util::Duration &) override
 
void doProcessing (const STATE &) override
 Actual processing. More...
 
void doFinalize (const STATE &) override
 
void print (std::ostream &) const
 

Private Attributes

const ObsSpace_obspace_
 
const ObsOperator_hop_
 
std::auto_ptr< Observations_yobs_
 
const ObsAuxCtrl_ybias_
 
util::DateTime winbgn_
 Begining of assimilation window. More...
 
util::DateTime winend_
 End of assimilation window. More...
 
util::DateTime bgn_
 Begining of currently active observations. More...
 
util::DateTime end_
 End of currently active observations. More...
 
util::Duration hslot_
 Half time slot. More...
 
const bool subwindows_
 
std::vector< boost::shared_ptr< GeoVaLs_ > > gvals_
 
const ObsFilters_ filters_
 

Detailed Description

template<typename MODEL, typename STATE>
class oops::Observer< MODEL, STATE >

Computes observation equivalent during model run.

Definition at line 43 of file Observer.h.

Member Typedef Documentation

◆ GeoVaLs_

template<typename MODEL, typename STATE>
typedef GeoVaLs<MODEL> oops::Observer< MODEL, STATE >::GeoVaLs_
private

Definition at line 44 of file Observer.h.

◆ InterpolatorTraj_

template<typename MODEL, typename STATE>
typedef InterpolatorTraj<MODEL> oops::Observer< MODEL, STATE >::InterpolatorTraj_
private

Definition at line 45 of file Observer.h.

◆ LinearObsOperator_

template<typename MODEL, typename STATE>
typedef LinearObsOperators<MODEL> oops::Observer< MODEL, STATE >::LinearObsOperator_
private

Definition at line 46 of file Observer.h.

◆ ObsAuxCtrl_

template<typename MODEL, typename STATE>
typedef ObsAuxControl<MODEL> oops::Observer< MODEL, STATE >::ObsAuxCtrl_
private

Definition at line 47 of file Observer.h.

◆ Observations_

template<typename MODEL, typename STATE>
typedef Observations<MODEL> oops::Observer< MODEL, STATE >::Observations_
private

Definition at line 49 of file Observer.h.

◆ ObsFilters_

template<typename MODEL, typename STATE>
typedef ObsFilters<MODEL> oops::Observer< MODEL, STATE >::ObsFilters_
private

Definition at line 48 of file Observer.h.

◆ ObsOperator_

template<typename MODEL, typename STATE>
typedef ObsOperators<MODEL> oops::Observer< MODEL, STATE >::ObsOperator_
private

Definition at line 50 of file Observer.h.

◆ ObsSpace_

template<typename MODEL, typename STATE>
typedef ObsSpaces<MODEL> oops::Observer< MODEL, STATE >::ObsSpace_
private

Definition at line 51 of file Observer.h.

◆ vspit

template<typename MODEL, typename STATE>
typedef std::vector<boost::shared_ptr<InterpolatorTraj_> > oops::Observer< MODEL, STATE >::vspit
private

Definition at line 88 of file Observer.h.

Constructor & Destructor Documentation

◆ Observer()

template<typename MODEL , typename STATE >
oops::Observer< MODEL, STATE >::Observer ( const ObsSpace_ obsdb,
const ObsOperator_ hop,
const ObsAuxCtrl_ ybias,
const ObsFilters_ filters,
const util::Duration &  tslot = util::Duration(0),
const bool  subwin = false 
)

Definition at line 94 of file Observer.h.

◆ ~Observer()

template<typename MODEL, typename STATE>
oops::Observer< MODEL, STATE >::~Observer ( )
inline

Definition at line 56 of file Observer.h.

Member Function Documentation

◆ doFinalize()

template<typename MODEL , typename STATE>
void oops::Observer< MODEL, STATE >::doFinalize ( const STATE &  )
overrideprivatevirtual

Reimplemented from oops::PostBase< STATE >.

Definition at line 178 of file Observer.h.

◆ doInitialize()

template<typename MODEL , typename STATE>
void oops::Observer< MODEL, STATE >::doInitialize ( const STATE &  xx,
const util::DateTime &  end,
const util::Duration &  tstep 
)
overrideprivatevirtual

Reimplemented from oops::PostBase< STATE >.

Definition at line 110 of file Observer.h.

◆ doProcessing()

template<typename MODEL , typename STATE>
void oops::Observer< MODEL, STATE >::doProcessing ( const STATE &  )
overrideprivatevirtual

Actual processing.

Implements oops::PostBase< STATE >.

Definition at line 137 of file Observer.h.

◆ finalizeTraj()

template<typename MODEL , typename STATE>
void oops::Observer< MODEL, STATE >::finalizeTraj ( const STATE &  xx,
LinearObsOperator_ htlad 
)

Definition at line 168 of file Observer.h.

◆ print()

template<typename MODEL , typename STATE >
void oops::Observer< MODEL, STATE >::print ( std::ostream &  ) const
private

Definition at line 189 of file Observer.h.

◆ processTraj()

template<typename MODEL, typename STATE>
void oops::Observer< MODEL, STATE >::processTraj ( const STATE &  ,
std::vector< boost::shared_ptr< InterpolatorTraj_ > > &   
) const

Definition at line 152 of file Observer.h.

◆ release()

template<typename MODEL, typename STATE>
Observations_* oops::Observer< MODEL, STATE >::release ( )
inline

Definition at line 58 of file Observer.h.

Member Data Documentation

◆ bgn_

template<typename MODEL, typename STATE>
util::DateTime oops::Observer< MODEL, STATE >::bgn_
private

Begining of currently active observations.

Definition at line 80 of file Observer.h.

◆ end_

template<typename MODEL, typename STATE>
util::DateTime oops::Observer< MODEL, STATE >::end_
private

End of currently active observations.

Definition at line 81 of file Observer.h.

◆ filters_

template<typename MODEL, typename STATE>
const ObsFilters_ oops::Observer< MODEL, STATE >::filters_
private

Definition at line 86 of file Observer.h.

◆ gvals_

template<typename MODEL, typename STATE>
std::vector<boost::shared_ptr<GeoVaLs_> > oops::Observer< MODEL, STATE >::gvals_
private

Definition at line 85 of file Observer.h.

◆ hop_

template<typename MODEL, typename STATE>
const ObsOperator_& oops::Observer< MODEL, STATE >::hop_
private

Definition at line 72 of file Observer.h.

◆ hslot_

template<typename MODEL, typename STATE>
util::Duration oops::Observer< MODEL, STATE >::hslot_
private

Half time slot.

Definition at line 82 of file Observer.h.

◆ obspace_

template<typename MODEL, typename STATE>
const ObsSpace_& oops::Observer< MODEL, STATE >::obspace_
private

Definition at line 71 of file Observer.h.

◆ subwindows_

template<typename MODEL, typename STATE>
const bool oops::Observer< MODEL, STATE >::subwindows_
private

Definition at line 83 of file Observer.h.

◆ winbgn_

template<typename MODEL, typename STATE>
util::DateTime oops::Observer< MODEL, STATE >::winbgn_
private

Begining of assimilation window.

Definition at line 78 of file Observer.h.

◆ winend_

template<typename MODEL, typename STATE>
util::DateTime oops::Observer< MODEL, STATE >::winend_
private

End of assimilation window.

Definition at line 79 of file Observer.h.

◆ ybias_

template<typename MODEL, typename STATE>
const ObsAuxCtrl_& oops::Observer< MODEL, STATE >::ybias_
private

Definition at line 76 of file Observer.h.

◆ yobs_

template<typename MODEL, typename STATE>
std::auto_ptr<Observations_> oops::Observer< MODEL, STATE >::yobs_
private

Definition at line 75 of file Observer.h.


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