UFO
Example.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2017-2018 UCAR
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
*/
7
8
#ifndef TOOLS_NEW_QC_EXAMPLE_EXAMPLE_H_
9
#define TOOLS_NEW_QC_EXAMPLE_EXAMPLE_H_
10
11
#include <memory>
12
#include <ostream>
13
#include <string>
14
15
#include "ioda/ObsDataVector.h"
16
#include "oops/base/Variables.h"
17
#include "oops/util/ObjectCounter.h"
18
#include "oops/util/Printable.h"
19
#include "
tools/new_qc/example/Example.interface.h
"
20
21
namespace
eckit
{
22
class
Configuration;
23
}
24
25
namespace
ioda
{
26
class
ObsSpace;
27
class
ObsVector;
28
}
29
30
namespace
ufo
{
31
class
GeoVaLs;
32
class
ObsDiagnostics;
33
34
/// Example filter
35
36
class
Example
:
public
util::Printable,
37
private
util::ObjectCounter<Example> {
38
public
:
39
static
const
std::string
classname
() {
return
"ufo::Example"
;}
40
41
Example
(ioda::ObsSpace &,
const
eckit::Configuration &,
42
std::shared_ptr<
ioda::ObsDataVector<int>
>,
43
std::shared_ptr<
ioda::ObsDataVector<float>
>);
44
~Example
();
45
46
void
preProcess
()
const
{}
47
void
priorFilter
(
const
GeoVaLs
&)
const
;
48
void
postFilter
(
const
ioda::ObsVector &,
const
ObsDiagnostics
&)
const
;
49
50
const
oops::Variables &
requiredVars
()
const
{
return
geovars_
;}
51
const
oops::Variables &
requiredHdiagnostics
()
const
{
return
diagnostics_
;}
52
53
private
:
54
void
print
(std::ostream &)
const
;
55
F90check
key_
;
56
57
ioda::ObsSpace &
obsdb_
;
58
oops::Variables
geovars_
;
59
oops::Variables
diagnostics_
;
60
ioda::ObsDataVector<int>
&
flags_
;
61
};
62
63
}
// namespace ufo
64
65
#endif // TOOLS_NEW_QC_EXAMPLE_EXAMPLE_H_
ufo::Example::flags_
ioda::ObsDataVector< int > & flags_
Definition:
Example.h:60
ufo::Example::geovars_
oops::Variables geovars_
Definition:
Example.h:58
ufo::Example::obsdb_
ioda::ObsSpace & obsdb_
Definition:
Example.h:57
ufo::Example::diagnostics_
oops::Variables diagnostics_
Definition:
Example.h:59
ufo::Example::requiredVars
const oops::Variables & requiredVars() const
Definition:
Example.h:50
ioda
Definition:
ObsAtmSfcInterp.h:24
ufo
Definition:
RunCRTM.h:27
ufo::F90check
int F90check
Definition:
Example.interface.h:26
eckit
Forward declarations.
Definition:
ObsAtmSfcInterp.h:20
ufo::ObsDiagnostics
Definition:
src/ufo/ObsDiagnostics.h:35
ufo::Example::Example
Example(ioda::ObsSpace &, const eckit::Configuration &, std::shared_ptr< ioda::ObsDataVector< int > >, std::shared_ptr< ioda::ObsDataVector< float > >)
Definition:
Example.cc:25
ufo::Example::postFilter
void postFilter(const ioda::ObsVector &, const ObsDiagnostics &) const
Definition:
Example.cc:51
ufo::GeoVaLs
GeoVaLs: geophysical values at locations.
Definition:
src/ufo/GeoVaLs.h:39
ioda::ObsDataVector< int >
ufo::Example::requiredHdiagnostics
const oops::Variables & requiredHdiagnostics() const
Definition:
Example.h:51
ufo::Example::priorFilter
void priorFilter(const GeoVaLs &) const
Definition:
Example.cc:44
ufo::Example
Example filter.
Definition:
Example.h:37
Example.interface.h
ufo::Example::print
void print(std::ostream &) const
Definition:
Example.cc:59
ufo::Example::key_
F90check key_
Definition:
Example.h:55
ufo::Example::classname
static const std::string classname()
Definition:
Example.h:39
ufo::Example::preProcess
void preProcess() const
Definition:
Example.h:46
ufo::Example::~Example
~Example()
Definition:
Example.cc:37
fv3-bundle
ufo
tools
new_qc
example
Example.h
Generated on Sat Oct 24 2020 19:14:55 for UFO by
1.8.18