UFO
ProfileCheckUInterp.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_PROFILECHECKUINTERP_H_
9 #define UFO_PROFILE_PROFILECHECKUINTERP_H_
10 
11 #include <algorithm>
12 #include <utility>
13 #include <vector>
14 
20 
21 namespace ufo {
22  class ProfileConsistencyCheckParameters;
23 }
24 
25 namespace ufo {
26 
27  /// \brief Profile QC: wind speed interpolation check
29  private ProfileStandardLevels {
30  public:
32  const ProfileIndices &profileIndices,
33  ProfileDataHandler &profileDataHandler,
34  ProfileCheckValidator &profileCheckValidator);
35 
36  /// Run check
37  void runCheck() override;
38 
39  /// Fill variables in validator
40  void fillValidator() override;
41 
42  private:
43  /// Number of failed checks by level
44  std::vector <int> LevErrors_;
45 
46  /// Interpolated value of u
47  std::vector <float> uInterp_;
48 
49  /// Interpolated value of v
50  std::vector <float> vInterp_;
51  };
52 } // namespace ufo
53 
54 #endif // UFO_PROFILE_PROFILECHECKUINTERP_H_
ProfileStandardLevels.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::ProfileCheckValidator
Profile QC check validator.
Definition: ProfileCheckValidator.h:27
ufo::ProfileStandardLevels
Calculate standard levels.
Definition: ProfileStandardLevels.h:31
ProfileIndices.h
ufo::ProfileCheckUInterp::fillValidator
void fillValidator() override
Fill variables in validator.
Definition: ProfileCheckUInterp.cc:154
ufo
Definition: RunCRTM.h:27
ufo::ProfileCheckBase
Profile QC checker base class.
Definition: ProfileCheckBase.h:40
ufo::ProfileCheckUInterp::LevErrors_
std::vector< int > LevErrors_
Number of failed checks by level.
Definition: ProfileCheckUInterp.h:44
ufo::ProfileCheckUInterp::vInterp_
std::vector< float > vInterp_
Interpolated value of v.
Definition: ProfileCheckUInterp.h:50
ProfileDataHandler.h
ufo::ProfileCheckUInterp::uInterp_
std::vector< float > uInterp_
Interpolated value of u.
Definition: ProfileCheckUInterp.h:47
ufo::ProfileCheckUInterp
Profile QC: wind speed interpolation check.
Definition: ProfileCheckUInterp.h:29
ufo::ProfileConsistencyCheckParameters
Options controlling the operation of the ProfileConsistencyChecks filter.
Definition: ProfileConsistencyCheckParameters.h:33
ProfileCheckValidator.h
ProfileCheckBase.h
ufo::ProfileCheckUInterp::runCheck
void runCheck() override
Run check.
Definition: ProfileCheckUInterp.cc:24
ufo::ProfileCheckUInterp::ProfileCheckUInterp
ProfileCheckUInterp(const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
Definition: ProfileCheckUInterp.cc:16