UFO
ProfileCheckBackgroundGeopotentialHeight.h
Go to the documentation of this file.
1 /*
2  * (C) Crown copyright 2020, Met Office
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 UFO_PROFILE_PROFILECHECKBACKGROUNDGEOPOTENTIALHEIGHT_H_
9 #define UFO_PROFILE_PROFILECHECKBACKGROUNDGEOPOTENTIALHEIGHT_H_
10 
11 #include <algorithm>
12 #include <cmath>
13 #include <vector>
14 
17 
19 
20 namespace ioda {
21  class ObsSpace;
22 }
23 
24 namespace ufo {
25  class ConventionalProfileProcessingParameters;
26 }
27 
28 namespace ufo {
29 
30  /// \brief Profile QC: compare geopotential height data against model background values
31  /// using a Bayesian method.
32  /// This check can be performed on both reported level data and on data which have been
33  /// averaged onto model levels.
34  /// QC flags are not set for reported level data so that all levels
35  /// (except those with PGE > 0.999) will be used in vertical averaging.
37  public:
40 
41  /// Run check
42  void runCheck(ProfileDataHandler &profileDataHandler) override;
43 
44  /// List of names of required obs diagnostics.
45  oops::Variables getObsDiagNames() override {
46  return oops::Variables({ufo::VariableNames::bkgerr_geopotential_height});
47  }
48  };
49 } // namespace ufo
50 
51 #endif // UFO_PROFILE_PROFILECHECKBACKGROUNDGEOPOTENTIALHEIGHT_H_
Options controlling the operation of the ConventionalProfileProcessing filter.
Profile QC: compare geopotential height data against model background values using a Bayesian method....
void runCheck(ProfileDataHandler &profileDataHandler) override
Run check.
oops::Variables getObsDiagNames() override
List of names of required obs diagnostics.
ProfileCheckBackgroundGeopotentialHeight(const ConventionalProfileProcessingParameters &options)
Profile QC checker base class.
Retrieve and store data for individual profiles. To do this, first the vector of values in the entire...
Forward declarations.
Definition: ObsAodExt.h:25
Definition: RunCRTM.h:27
static constexpr const char *const bkgerr_geopotential_height
Definition: VariableNames.h:55