FV3 Bundle
ioda::ObsSpace Class Reference

Wrapper around ObsHelpQG, mostly to hide the factory. More...

#include <ObsSpace.h>

Inheritance diagram for ioda::ObsSpace:
[legend]
Collaboration diagram for ioda::ObsSpace:
[legend]

Public Member Functions

 ObsSpace (const eckit::Configuration &, const util::DateTime &, const util::DateTime &)
 
 ObsSpace (const ObsSpace &)
 
 ~ObsSpace ()
 
void getObsVector (const std::string &, std::vector< double > &) const
 
void putObsVector (const std::string &, const std::vector< double > &) const
 
Locationslocations (const util::DateTime &, const util::DateTime &) const
 
void generateDistribution (const eckit::Configuration &)
 Pure virtual methods. More...
 
const std::string & obsname () const
 
const util::DateTime & windowStart () const
 
const util::DateTime & windowEnd () const
 
int nobs () const
 
int nlocs () const
 
void get_db (const std::string &, const std::string &, const std::size_t &, int[]) const
 
void get_db (const std::string &, const std::string &, const std::size_t &, double[]) const
 
void put_db (const std::string &, const std::string &, const std::size_t &, const int[]) const
 
void put_db (const std::string &, const std::string &, const std::size_t &, const double[]) const
 
const eckit::mpi::Comm & comm () const
 
void printJo (const ObsVector &, const ObsVector &)
 
- 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
 

Private Member Functions

void print (std::ostream &) const
 
ObsSpaceoperator= (const ObsSpace &)
 

Private Attributes

std::string obsname_
 
const util::DateTime winbgn_
 
const util::DateTime winend_
 
F90odb keyOspace_
 
const eckit::mpi::Comm & commMPI_
 

Static Private Attributes

static std::map< std::string, int > theObsFileCount_
 

Detailed Description

Wrapper around ObsHelpQG, mostly to hide the factory.

Definition at line 34 of file src/ioda/ObsSpace.h.

Constructor & Destructor Documentation

◆ ObsSpace() [1/2]

ioda::ObsSpace::ObsSpace ( const eckit::Configuration &  config,
const util::DateTime &  bgn,
const util::DateTime &  end 
)

Definition at line 25 of file ObsSpace.cc.

Here is the call graph for this function:

◆ ObsSpace() [2/2]

ioda::ObsSpace::ObsSpace ( const ObsSpace )

◆ ~ObsSpace()

ioda::ObsSpace::~ObsSpace ( )

Definition at line 40 of file ObsSpace.cc.

Here is the call graph for this function:

Member Function Documentation

◆ comm()

const eckit::mpi::Comm& ioda::ObsSpace::comm ( ) const
inline

Definition at line 59 of file src/ioda/ObsSpace.h.

Here is the caller graph for this function:

◆ generateDistribution()

void ioda::ObsSpace::generateDistribution ( const eckit::Configuration &  )
virtual

Pure virtual methods.

Implements oops::ObsSpaceBase.

Definition at line 106 of file ObsSpace.cc.

Here is the call graph for this function:

◆ get_db() [1/2]

void ioda::ObsSpace::get_db ( const std::string &  group,
const std::string &  name,
const std::size_t &  vsize,
int  vdata[] 
) const

Definition at line 57 of file ObsSpace.cc.

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

◆ get_db() [2/2]

void ioda::ObsSpace::get_db ( const std::string &  group,
const std::string &  name,
const std::size_t &  vsize,
double  vdata[] 
) const

Definition at line 62 of file ObsSpace.cc.

Here is the call graph for this function:

◆ getObsVector()

void ioda::ObsSpace::getObsVector ( const std::string &  name,
std::vector< double > &  vec 
) const

Definition at line 46 of file ObsSpace.cc.

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

◆ locations()

Locations * ioda::ObsSpace::locations ( const util::DateTime &  t1,
const util::DateTime &  t2 
) const

Definition at line 78 of file ObsSpace.cc.

Here is the call graph for this function:

◆ nlocs()

int ioda::ObsSpace::nlocs ( ) const

Definition at line 98 of file ObsSpace.cc.

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

◆ nobs()

int ioda::ObsSpace::nobs ( ) const

Definition at line 89 of file ObsSpace.cc.

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

◆ obsname()

const std::string& ioda::ObsSpace::obsname ( ) const
inline

Definition at line 47 of file src/ioda/ObsSpace.h.

Here is the caller graph for this function:

◆ operator=()

ObsSpace& ioda::ObsSpace::operator= ( const ObsSpace )
private

◆ print()

void ioda::ObsSpace::print ( std::ostream &  os) const
private

Definition at line 116 of file ObsSpace.cc.

◆ printJo()

void ioda::ObsSpace::printJo ( const ObsVector dy,
const ObsVector grad 
)

Definition at line 122 of file ObsSpace.cc.

Here is the call graph for this function:

◆ put_db() [1/2]

void ioda::ObsSpace::put_db ( const std::string &  group,
const std::string &  name,
const std::size_t &  vsize,
const int  vdata[] 
) const

Definition at line 67 of file ObsSpace.cc.

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

◆ put_db() [2/2]

void ioda::ObsSpace::put_db ( const std::string &  group,
const std::string &  name,
const std::size_t &  vsize,
const double  vdata[] 
) const

Definition at line 72 of file ObsSpace.cc.

Here is the call graph for this function:

◆ putObsVector()

void ioda::ObsSpace::putObsVector ( const std::string &  name,
const std::vector< double > &  vec 
) const

Definition at line 52 of file ObsSpace.cc.

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

◆ windowEnd()

const util::DateTime& ioda::ObsSpace::windowEnd ( ) const
inline

Definition at line 49 of file src/ioda/ObsSpace.h.

◆ windowStart()

const util::DateTime& ioda::ObsSpace::windowStart ( ) const
inline

Definition at line 48 of file src/ioda/ObsSpace.h.

Member Data Documentation

◆ commMPI_

const eckit::mpi::Comm& ioda::ObsSpace::commMPI_
private

Definition at line 70 of file src/ioda/ObsSpace.h.

◆ keyOspace_

F90odb ioda::ObsSpace::keyOspace_
private

Definition at line 69 of file src/ioda/ObsSpace.h.

◆ obsname_

std::string ioda::ObsSpace::obsname_
private

Definition at line 66 of file src/ioda/ObsSpace.h.

◆ theObsFileCount_

std::map< std::string, int > ioda::ObsSpace::theObsFileCount_
staticprivate

Definition at line 72 of file src/ioda/ObsSpace.h.

◆ winbgn_

const util::DateTime ioda::ObsSpace::winbgn_
private

Definition at line 67 of file src/ioda/ObsSpace.h.

◆ winend_

const util::DateTime ioda::ObsSpace::winend_
private

Definition at line 68 of file src/ioda/ObsSpace.h.


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