UFO
ProfileCheckHydrostatic.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_PROFILECHECKHYDROSTATIC_H_
9 #define UFO_PROFILE_PROFILECHECKHYDROSTATIC_H_
10 
11 #include <algorithm>
12 #include <string>
13 #include <utility>
14 #include <vector>
15 
21 
22 namespace ufo {
23  class ProfileConsistencyCheckParameters;
24 }
25 
26 namespace ufo {
27 
28  /// \brief Profile QC: hydrostatic check
30  private ProfileStandardLevels {
31  public:
33  const ProfileIndices &profileIndices,
34  ProfileDataHandler &profileDataHandler,
35  ProfileCheckValidator &profileCheckValidator);
36 
37  /// Run check
38  void runCheck() override;
39 
40  /// Fill variables in validator
41  void fillValidator() override;
42 
43  private:
44  /// Hydrostatic error descriptions
45  std::vector <std::string> HydDesc_;
46 
47  /// Constant in thickness calculation
48  std::vector <float> DC_;
49 
50  /// Thickness tolerance
51  std::vector <float> ETol_;
52 
53  /// Thickness calculated from temepature
54  std::vector <float> D_;
55 
56  /// Thickness 'error'
57  std::vector <float> E_;
58 
59  /// Hydrostatic flag by level
60  std::vector <int> HydError_;
61  };
62 } // namespace ufo
63 
64 #endif // UFO_PROFILE_PROFILECHECKHYDROSTATIC_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::ProfileCheckHydrostatic::ETol_
std::vector< float > ETol_
Thickness tolerance.
Definition: ProfileCheckHydrostatic.h:51
ufo::ProfileCheckValidator
Profile QC check validator.
Definition: ProfileCheckValidator.h:27
ufo::ProfileStandardLevels
Calculate standard levels.
Definition: ProfileStandardLevels.h:31
ProfileIndices.h
ufo
Definition: RunCRTM.h:27
ufo::ProfileCheckBase
Profile QC checker base class.
Definition: ProfileCheckBase.h:40
ProfileDataHandler.h
ufo::ProfileCheckHydrostatic::ProfileCheckHydrostatic
ProfileCheckHydrostatic(const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
Definition: ProfileCheckHydrostatic.cc:15
ufo::ProfileCheckHydrostatic::HydDesc_
std::vector< std::string > HydDesc_
Hydrostatic error descriptions.
Definition: ProfileCheckHydrostatic.h:45
ufo::ProfileCheckHydrostatic
Profile QC: hydrostatic check.
Definition: ProfileCheckHydrostatic.h:30
ufo::ProfileCheckHydrostatic::D_
std::vector< float > D_
Thickness calculated from temepature.
Definition: ProfileCheckHydrostatic.h:54
ufo::ProfileCheckHydrostatic::HydError_
std::vector< int > HydError_
Hydrostatic flag by level.
Definition: ProfileCheckHydrostatic.h:60
ufo::ProfileConsistencyCheckParameters
Options controlling the operation of the ProfileConsistencyChecks filter.
Definition: ProfileConsistencyCheckParameters.h:33
ufo::ProfileCheckHydrostatic::DC_
std::vector< float > DC_
Constant in thickness calculation.
Definition: ProfileCheckHydrostatic.h:48
ProfileCheckValidator.h
ufo::ProfileCheckHydrostatic::E_
std::vector< float > E_
Thickness 'error'.
Definition: ProfileCheckHydrostatic.h:57
ProfileCheckBase.h
ufo::ProfileCheckHydrostatic::fillValidator
void fillValidator() override
Fill variables in validator.
Definition: ProfileCheckHydrostatic.cc:361
ufo::ProfileCheckHydrostatic::runCheck
void runCheck() override
Run check.
Definition: ProfileCheckHydrostatic.cc:23