FV3 Bundle
lorenz95::ObsTable Class Reference

A Simple Observation Data Handler. More...

#include <ObsTable.h>

Inheritance diagram for lorenz95::ObsTable:
[legend]
Collaboration diagram for lorenz95::ObsTable:
[legend]

Public Member Functions

 ObsTable (const eckit::Configuration &, const util::DateTime &, const util::DateTime &)
 
 ~ObsTable ()
 
void putdb (const std::string &, const std::vector< double > &) const
 
void getdb (const std::string &, std::vector< double > &) const
 
LocsL95locations (const util::DateTime &t1, const util::DateTime &t2) const
 
std::vector< int > timeSelect (const util::DateTime &, const util::DateTime &) const
 
void generateDistribution (const eckit::Configuration &)
 Pure virtual methods. More...
 
void printJo (const ObsVec1D &, const ObsVec1D &)
 
unsigned int nobs () const
 
- Public Member Functions inherited from oops::ObsSpaceBase
 ObsSpaceBase (const eckit::Configuration &config, const util::DateTime &bgn, const util::DateTime &end)
 
virtual ~ObsSpaceBase ()
 
const eckit::Configuration & config () const
 Access information. More...
 
const util::DateTime & windowStart () const
 
const util::DateTime & windowEnd () 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_
 
std::string nameIn_
 
std::string nameOut_
 

Detailed Description

A Simple Observation Data Handler.

ObsTable defines a simple observation handler that mimicks the interfaces required from ODB.

Definition at line 39 of file ObsTable.h.

Constructor & Destructor Documentation

◆ ObsTable()

lorenz95::ObsTable::ObsTable ( const eckit::Configuration &  config,
const util::DateTime &  bgn,
const util::DateTime &  end 
)

Definition at line 34 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:

◆ ~ObsTable()

lorenz95::ObsTable::~ObsTable ( )

Definition at line 55 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

static const std::string lorenz95::ObsTable::classname ( )
inlinestatic

Definition at line 42 of file ObsTable.h.

◆ generateDistribution()

void lorenz95::ObsTable::generateDistribution ( const eckit::Configuration &  )
virtual

Pure virtual methods.

Implements oops::ObsSpaceBase.

Definition at line 103 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:

◆ getdb()

void lorenz95::ObsTable::getdb ( const std::string &  col,
std::vector< double > &  vec 
) const

Definition at line 72 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ locations()

LocsL95 * lorenz95::ObsTable::locations ( const util::DateTime &  t1,
const util::DateTime &  t2 
) const

Definition at line 83 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nobs()

unsigned int lorenz95::ObsTable::nobs ( ) const
inline

Definition at line 54 of file ObsTable.h.

Here is the caller graph for this function:

◆ otOpen()

void lorenz95::ObsTable::otOpen ( const std::string &  filename)
private

Definition at line 163 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ otWrite()

void lorenz95::ObsTable::otWrite ( const std::string &  filename) const
private

Definition at line 207 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

void lorenz95::ObsTable::print ( std::ostream &  os) const
private

Definition at line 237 of file src/lorenz95/ObsTable.cc.

◆ printJo()

void lorenz95::ObsTable::printJo ( const ObsVec1D ydep,
const ObsVec1D grad 
)

Definition at line 155 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:

◆ putdb()

void lorenz95::ObsTable::putdb ( const std::string &  col,
const std::vector< double > &  vec 
) const

Definition at line 64 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeSelect()

std::vector< int > lorenz95::ObsTable::timeSelect ( const util::DateTime &  t1,
const util::DateTime &  t2 
) const

Definition at line 93 of file src/lorenz95/ObsTable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ data_

std::map<std::string, std::vector<double> > lorenz95::ObsTable::data_
mutableprivate

Definition at line 66 of file ObsTable.h.

◆ locations_

std::vector<double> lorenz95::ObsTable::locations_
private

Definition at line 65 of file ObsTable.h.

◆ nameIn_

std::string lorenz95::ObsTable::nameIn_
private

Definition at line 68 of file ObsTable.h.

◆ nameOut_

std::string lorenz95::ObsTable::nameOut_
private

Definition at line 69 of file ObsTable.h.

◆ times_

std::vector<util::DateTime> lorenz95::ObsTable::times_
private

Definition at line 64 of file ObsTable.h.

◆ winbgn_

const util::DateTime lorenz95::ObsTable::winbgn_
private

Definition at line 61 of file ObsTable.h.

◆ winend_

const util::DateTime lorenz95::ObsTable::winend_
private

Definition at line 62 of file ObsTable.h.


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