UFO
ProfileCheckBackgroundTemperature.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_PROFILECHECKBACKGROUNDTEMPERATURE_H_
9 #define UFO_PROFILE_PROFILECHECKBACKGROUNDTEMPERATURE_H_
10 
11 #include <algorithm>
12 #include <cmath>
13 #include <vector>
14 
19 
21 
22 namespace ioda {
23  class ObsSpace;
24 }
25 
26 namespace ufo {
27  class ProfileConsistencyCheckParameters;
28 }
29 
30 namespace ufo {
31 
32  /// \brief Profile QC: compare temperature data with model background values
33  /// using a Bayesian method.
34  /// This check can be performed on both reported level data and on data which have been
35  /// averaged onto model levels.
36  /// QC flags are not set for reported level data so that all levels
37  /// (except those with PGE > 0.999) will be used in vertical averaging.
39  public:
41  const ProfileIndices &profileIndices,
42  ProfileDataHandler &profileDataHandler,
43  ProfileCheckValidator &profileCheckValidator);
44 
45  /// Run check
46  void runCheck() override;
47 
48  /// Fill variables in validator
49  void fillValidator() override {}
50  };
51 } // namespace ufo
52 
53 #endif // UFO_PROFILE_PROFILECHECKBACKGROUNDTEMPERATURE_H_
ufo::ProfileDataHandler
Retrieve and store data for individual profiles. To do this, first the vector of values in the entire...
Definition: ProfileDataHandler.h:40
ufo::ProfileIndices
Determine indices of observations making up individual profiles. The indices are computed with respec...
Definition: ProfileIndices.h:39
ufo::ProfileCheckBackgroundTemperature::runCheck
void runCheck() override
Run check.
Definition: ProfileCheckBackgroundTemperature.cc:23
ufo::ProfileCheckValidator
Profile QC check validator.
Definition: ProfileCheckValidator.h:27
ProfileIndices.h
ioda
Definition: ObsAtmSfcInterp.h:24
ufo
Definition: RunCRTM.h:27
ufo::ProfileCheckBase
Profile QC checker base class.
Definition: ProfileCheckBase.h:40
ufo::ProfileCheckBackgroundTemperature::ProfileCheckBackgroundTemperature
ProfileCheckBackgroundTemperature(const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
Definition: ProfileCheckBackgroundTemperature.cc:16
ProfileDataHandler.h
ufo::ProfileCheckBackgroundTemperature::fillValidator
void fillValidator() override
Fill variables in validator.
Definition: ProfileCheckBackgroundTemperature.h:49
ufo::ProfileConsistencyCheckParameters
Options controlling the operation of the ProfileConsistencyChecks filter.
Definition: ProfileConsistencyCheckParameters.h:33
ProfileCheckValidator.h
ProfileCheckBase.h
ProbabilityOfGrossError.h
ufo::ProfileCheckBackgroundTemperature
Profile QC: compare temperature data with model background values using a Bayesian method....
Definition: ProfileCheckBackgroundTemperature.h:38