|
OOPS
|
ObsSpace for QG model. More...
#include <ObsSpaceQG.h>


Public Types | |
| typedef ObsSpaceQGParameters | Parameters_ |
Public Member Functions | |
| ObsSpaceQG (const Parameters_ &, const eckit::mpi::Comm &, const util::DateTime &, const util::DateTime &, const eckit::mpi::Comm &) | |
| create full ObsSpace (read or generate data) More... | |
| ~ObsSpaceQG () | |
| void | save () const |
| save and close file More... | |
| void | getdb (const std::string &, int &) const |
| read data or metadata More... | |
| void | putdb (const std::string &, const int &) const |
| save data or metadata More... | |
| std::unique_ptr< LocationsQG > | locations () const |
| create locations for the whole time window More... | |
| int | nobs () const |
| return number of observations (unique locations) More... | |
| const oops::Variables & | obsvariables () const |
| return variables simulated by ObsOperators More... | |
| const std::string & | obsname () const |
| observation type More... | |
| ObsIteratorQG | begin () const |
| iterator to the first observation More... | |
| ObsIteratorQG | end () const |
| iterator to the observation past-the-last More... | |
| const F90odb & | toFortran () const |
| interface with Fortran More... | |
Public Member Functions inherited from oops::ObsSpaceBase | |
| ObsSpaceBase (const ObsSpaceParametersBase &, const eckit::mpi::Comm &, const util::DateTime &, const util::DateTime &) | |
| virtual | ~ObsSpaceBase () |
| const util::DateTime & | windowStart () const |
| Access information. More... | |
| const util::DateTime & | windowEnd () const |
| int64_t | getSeed () const |
Private Member Functions | |
| void | print (std::ostream &) const |
Private Attributes | |
| F90odb | key_ |
| const std::string | obsname_ |
| const util::DateTime | winbgn_ |
| const util::DateTime | winend_ |
| oops::Variables | obsvars_ |
Static Private Attributes | |
| static std::map< std::string, F90odb > | theObsFileRegister_ |
| static int | theObsFileCount_ = 0 |
ObsSpace for QG model.
ObsSpaceQG is created for each obs type. The underlying Fortran structure (key_) is created for each matching input-output filename pair (i.e. different obstypes can be stored in the same Fortran structure). For mapping between ObsSpaceQG and Fortran structures, ObsSpaceQG::theObsFileRegister_ map is used
Definition at line 81 of file ObsSpaceQG.h.
Definition at line 83 of file ObsSpaceQG.h.
| qg::ObsSpaceQG::ObsSpaceQG | ( | const Parameters_ & | params, |
| const eckit::mpi::Comm & | comm, | ||
| const util::DateTime & | bgn, | ||
| const util::DateTime & | end, | ||
| const eckit::mpi::Comm & | timeComm | ||
| ) |
create full ObsSpace (read or generate data)
Definition at line 39 of file ObsSpaceQG.cc.

| qg::ObsSpaceQG::~ObsSpaceQG | ( | ) |
Definition at line 112 of file ObsSpaceQG.cc.
| ObsIteratorQG qg::ObsSpaceQG::begin | ( | ) | const |
iterator to the first observation
Definition at line 156 of file ObsSpaceQG.cc.

| ObsIteratorQG qg::ObsSpaceQG::end | ( | ) | const |
iterator to the observation past-the-last
Definition at line 160 of file ObsSpaceQG.cc.


| void qg::ObsSpaceQG::getdb | ( | const std::string & | col, |
| int & | keyData | ||
| ) | const |
read data or metadata
Definition at line 127 of file ObsSpaceQG.cc.


| std::unique_ptr< LocationsQG > qg::ObsSpaceQG::locations | ( | ) | const |
create locations for the whole time window
Definition at line 139 of file ObsSpaceQG.cc.


| int qg::ObsSpaceQG::nobs | ( | ) | const |
return number of observations (unique locations)
Definition at line 148 of file ObsSpaceQG.cc.


|
inline |
observation type
Definition at line 108 of file ObsSpaceQG.h.

|
inline |
return variables simulated by ObsOperators
Definition at line 105 of file ObsSpaceQG.h.

|
private |
| void qg::ObsSpaceQG::putdb | ( | const std::string & | col, |
| const int & | keyData | ||
| ) | const |
save data or metadata
Definition at line 133 of file ObsSpaceQG.cc.


| void qg::ObsSpaceQG::save | ( | ) | const |
save and close file
Definition at line 116 of file ObsSpaceQG.cc.

|
inline |
interface with Fortran
Definition at line 116 of file ObsSpaceQG.h.
|
mutableprivate |
Definition at line 121 of file ObsSpaceQG.h.
|
private |
Definition at line 122 of file ObsSpaceQG.h.
|
private |
Definition at line 125 of file ObsSpaceQG.h.
|
staticprivate |
Definition at line 129 of file ObsSpaceQG.h.
|
staticprivate |
Definition at line 128 of file ObsSpaceQG.h.
|
private |
Definition at line 123 of file ObsSpaceQG.h.
|
private |
Definition at line 124 of file ObsSpaceQG.h.