#include <ObsDiagnostics.h>
|
| ObsDiagnostics (const ioda::ObsSpace &, const Locations &, const oops::Variables &) |
|
| ObsDiagnostics (const eckit::Configuration &, const ioda::ObsSpace &, const oops::Variables &) |
|
| ~ObsDiagnostics () |
|
void | allocate (const int nlev, const oops::Variables &vars) |
| Allocate diagnostics for variables vars with nlev number of levels. More...
|
|
void | save (const std::vector< double > &, const std::string &, const int) |
|
int & | toFortran () |
|
const int & | toFortran () const |
|
bool | has (const std::string &var) const |
|
size_t | nlevs (const std::string &) const |
|
void | get (std::vector< float > &, const std::string &) const |
|
void | get (std::vector< float > &, const std::string &, const int) const |
|
void | write (const eckit::Configuration &config) const |
|
|
void | print (std::ostream &) const |
|
Definition at line 34 of file src/ufo/ObsDiagnostics.h.
◆ ObsDiagnostics() [1/2]
ufo::ObsDiagnostics::ObsDiagnostics |
( |
const ioda::ObsSpace & |
os, |
|
|
const Locations & |
locs, |
|
|
const oops::Variables & |
vars |
|
) |
| |
◆ ObsDiagnostics() [2/2]
ufo::ObsDiagnostics::ObsDiagnostics |
( |
const eckit::Configuration & |
conf, |
|
|
const ioda::ObsSpace & |
os, |
|
|
const oops::Variables & |
vars |
|
) |
| |
◆ ~ObsDiagnostics()
ufo::ObsDiagnostics::~ObsDiagnostics |
( |
| ) |
|
|
inline |
◆ allocate()
void ufo::ObsDiagnostics::allocate |
( |
const int |
nlev, |
|
|
const oops::Variables & |
vars |
|
) |
| |
Allocate diagnostics for variables vars
with nlev
number of levels.
Fails if at least one of the vars
doesn't exist in the ObsDiagnostics object. Only allocates variables that haven't been allocated before. Fails if one of vars
is already allocated with a number of levels different than nlev
; doesn't reallocate variables that are already allocated with nlev
.
Definition at line 37 of file ObsDiagnostics.cc.
◆ get() [1/2]
void ufo::ObsDiagnostics::get |
( |
std::vector< float > & |
vals, |
|
|
const std::string & |
var |
|
) |
| const |
◆ get() [2/2]
void ufo::ObsDiagnostics::get |
( |
std::vector< float > & |
vals, |
|
|
const std::string & |
var, |
|
|
const int |
lev |
|
) |
| const |
◆ has()
bool ufo::ObsDiagnostics::has |
( |
const std::string & |
var | ) |
const |
|
inline |
◆ nlevs()
size_t ufo::ObsDiagnostics::nlevs |
( |
const std::string & |
var | ) |
const |
◆ print()
void ufo::ObsDiagnostics::print |
( |
std::ostream & |
os | ) |
const |
|
private |
◆ save()
void ufo::ObsDiagnostics::save |
( |
const std::vector< double > & |
vals, |
|
|
const std::string & |
var, |
|
|
const int |
lev |
|
) |
| |
◆ toFortran() [1/2]
int& ufo::ObsDiagnostics::toFortran |
( |
| ) |
|
|
inline |
◆ toFortran() [2/2]
const int& ufo::ObsDiagnostics::toFortran |
( |
| ) |
const |
|
inline |
◆ write()
void ufo::ObsDiagnostics::write |
( |
const eckit::Configuration & |
config | ) |
const |
|
inline |
◆ gdiags_
GeoVaLs ufo::ObsDiagnostics::gdiags_ |
|
private |
◆ obsdb_
const ioda::ObsSpace& ufo::ObsDiagnostics::obsdb_ |
|
private |
The documentation for this class was generated from the following files: