|
OOPS
|
A Simple Observation Data Handler. More...
#include <ObsTable.h>


Public Types | |
| typedef ObsTableParameters | Parameters_ |
Public Member Functions | |
| ObsTable (const Parameters_ &, const eckit::mpi::Comm &, const util::DateTime &, const util::DateTime &, const eckit::mpi::Comm &) | |
| ~ObsTable () | |
| void | save () const |
| void | putdb (const std::string &, const std::vector< int > &) const |
| void | putdb (const std::string &, const std::vector< float > &) const |
| void | putdb (const std::string &, const std::vector< double > &) const |
| void | getdb (const std::string &, std::vector< int > &) const |
| void | getdb (const std::string &, std::vector< float > &) const |
| void | getdb (const std::string &, std::vector< double > &) const |
| bool | has (const std::string &col) const |
| void | generateDistribution (const ObsGenerateParameters ¶ms) |
| void | random (std::vector< double > &) const |
| unsigned int | nobs () const |
| const std::vector< double > & | locations () const |
| const std::vector< util::DateTime > & | times () const |
| const oops::Variables & | obsvariables () const |
| const std::string & | obsname () const |
| ObsIterator | begin () const |
| iterator to the first observation More... | |
| ObsIterator | end () const |
| iterator to the observation past-the-last 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 |
Static Public Member Functions | |
| static const std::string | classname () |
Private Member Functions | |
| void | print (std::ostream &) const |
| void | otOpen (const std::string &) |
| void | otWrite (const std::string &) const |
Private Attributes | |
| const util::DateTime | winbgn_ |
| const util::DateTime | winend_ |
| std::vector< util::DateTime > | times_ |
| std::vector< double > | locations_ |
| std::map< std::string, std::vector< double > > | data_ |
| const eckit::mpi::Comm & | comm_ |
| const oops::Variables | obsvars_ |
| std::string | nameIn_ |
| std::string | nameOut_ |
| const std::string | obsname_ = "Lorenz 95" |
A Simple Observation Data Handler.
ObsTable defines a simple observation handler that mimicks the interfaces required from ODB.
Definition at line 66 of file ObsTable.h.
Definition at line 71 of file ObsTable.h.
| lorenz95::ObsTable::ObsTable | ( | const Parameters_ & | params, |
| const eckit::mpi::Comm & | comm, | ||
| const util::DateTime & | bgn, | ||
| const util::DateTime & | end, | ||
| const eckit::mpi::Comm & | timeComm | ||
| ) |
| lorenz95::ObsTable::~ObsTable | ( | ) |
Definition at line 66 of file ObsTable.cc.
| ObsIterator lorenz95::ObsTable::begin | ( | ) | const |
iterator to the first observation
Definition at line 344 of file ObsTable.cc.
|
inlinestatic |
Definition at line 69 of file ObsTable.h.
| ObsIterator lorenz95::ObsTable::end | ( | ) | const |
iterator to the observation past-the-last
Definition at line 348 of file ObsTable.cc.
| void lorenz95::ObsTable::generateDistribution | ( | const ObsGenerateParameters & | params | ) |
Definition at line 176 of file ObsTable.cc.


| void lorenz95::ObsTable::getdb | ( | const std::string & | col, |
| std::vector< double > & | vec | ||
| ) | const |
| void lorenz95::ObsTable::getdb | ( | const std::string & | col, |
| std::vector< float > & | vec | ||
| ) | const |
| void lorenz95::ObsTable::getdb | ( | const std::string & | col, |
| std::vector< int > & | vec | ||
| ) | const |
Definition at line 128 of file ObsTable.cc.


| bool lorenz95::ObsTable::has | ( | const std::string & | col | ) | const |
Definition at line 78 of file ObsTable.cc.
|
inline |
|
inline |
|
inline |
Definition at line 93 of file ObsTable.h.
|
inline |
Definition at line 92 of file ObsTable.h.
|
private |
Definition at line 237 of file ObsTable.cc.


|
private |
Definition at line 288 of file ObsTable.cc.


|
private |
Definition at line 353 of file ObsTable.cc.
| void lorenz95::ObsTable::putdb | ( | const std::string & | col, |
| const std::vector< double > & | vec | ||
| ) | const |
| void lorenz95::ObsTable::putdb | ( | const std::string & | col, |
| const std::vector< float > & | vec | ||
| ) | const |
| void lorenz95::ObsTable::putdb | ( | const std::string & | col, |
| const std::vector< int > & | vec | ||
| ) | const |
| void lorenz95::ObsTable::random | ( | std::vector< double > & | data | ) | const |
Definition at line 228 of file ObsTable.cc.


| void lorenz95::ObsTable::save | ( | ) | const |
|
inline |
|
private |
Definition at line 112 of file ObsTable.h.
|
mutableprivate |
Definition at line 110 of file ObsTable.h.
|
private |
Definition at line 109 of file ObsTable.h.
|
private |
Definition at line 114 of file ObsTable.h.
|
private |
Definition at line 115 of file ObsTable.h.
|
private |
Definition at line 116 of file ObsTable.h.
|
private |
Definition at line 113 of file ObsTable.h.
|
private |
Definition at line 108 of file ObsTable.h.
|
private |
Definition at line 105 of file ObsTable.h.
|
private |
Definition at line 106 of file ObsTable.h.