UFO
ProfileCheckInterpolation.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_PROFILECHECKINTERPOLATION_H_
9 #define UFO_PROFILE_PROFILECHECKINTERPOLATION_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: interpolation check
29  private ProfileStandardLevels {
30  public:
32  const ProfileIndices &profileIndices,
33  ProfileDataHandler &profileDataHandler,
34  ProfileCheckValidator &profileCheckValidator);
35  /// Run check
36  void runCheck() override;
37 
38  /// Fill variables in validator
39  void fillValidator() override;
40 
41  private:
42  /// Number of failed checks by level
43  std::vector <int> LevErrors_;
44 
45  /// Interpolated value of T
46  std::vector <float> tInterp_;
47  };
48 } // namespace ufo
49 
50 #endif // UFO_PROFILE_PROFILECHECKINTERPOLATION_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
ufo::ProfileCheckInterpolation::runCheck
void runCheck() override
Run check.
Definition: ProfileCheckInterpolation.cc:25
ProfileIndices.h
ufo
Definition: RunCRTM.h:27
ufo::ProfileCheckBase
Profile QC checker base class.
Definition: ProfileCheckBase.h:40
ufo::ProfileCheckInterpolation
Profile QC: interpolation check.
Definition: ProfileCheckInterpolation.h:29
ufo::ProfileCheckInterpolation::ProfileCheckInterpolation
ProfileCheckInterpolation(const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
Definition: ProfileCheckInterpolation.cc:17
ProfileDataHandler.h
ufo::ProfileCheckInterpolation::fillValidator
void fillValidator() override
Fill variables in validator.
Definition: ProfileCheckInterpolation.cc:143
ufo::ProfileConsistencyCheckParameters
Options controlling the operation of the ProfileConsistencyChecks filter.
Definition: ProfileConsistencyCheckParameters.h:33
ProfileCheckValidator.h
ProfileCheckBase.h
ufo::ProfileCheckInterpolation::tInterp_
std::vector< float > tInterp_
Interpolated value of T.
Definition: ProfileCheckInterpolation.h:46
ufo::ProfileCheckInterpolation::LevErrors_
std::vector< int > LevErrors_
Number of failed checks by level.
Definition: ProfileCheckInterpolation.h:43