UFO
ufo::ProfileCheckHydrostatic Class Reference

Profile QC: hydrostatic check. More...

#include <ProfileCheckHydrostatic.h>

Inheritance diagram for ufo::ProfileCheckHydrostatic:
Collaboration diagram for ufo::ProfileCheckHydrostatic:

Public Member Functions

 ProfileCheckHydrostatic (const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
 
void runCheck () override
 Run check. More...
 
void fillValidator () override
 Fill variables in validator. More...
 
- Public Member Functions inherited from ufo::ProfileCheckBase
 ProfileCheckBase (const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator)
 
virtual ~ProfileCheckBase ()
 
virtual bool getResult ()
 Get result of check (default fail) More...
 

Private Attributes

std::vector< std::string > HydDesc_
 Hydrostatic error descriptions. More...
 
std::vector< float > DC_
 Constant in thickness calculation. More...
 
std::vector< float > ETol_
 Thickness tolerance. More...
 
std::vector< float > D_
 Thickness calculated from temepature. More...
 
std::vector< float > E_
 Thickness 'error'. More...
 
std::vector< int > HydError_
 Hydrostatic flag by level. More...
 
- Private Attributes inherited from ufo::ProfileStandardLevels
std::vector< float > StandardLevels_
 Standard levels (hPa) More...
 
std::vector< float > BigGaps_
 Big gaps (hPa) used in interpolation check. More...
 
const ProfileConsistencyCheckParametersoptionsSL_
 Configurable parameters. More...
 
int NumSig_
 Number of significant levels. More...
 
int NumStd_
 Number of standard levels. More...
 
std::vector< int > StdLev_
 Index of standard levels. More...
 
std::vector< int > SigBelow_
 Significant level below standard level. More...
 
std::vector< int > SigAbove_
 Significant level above standard level. More...
 
std::vector< float > LogP_
 Log(Pressure) - used for vertical interpolation. More...
 
std::vector< int > IndStd_
 Indices of standard levels. More...
 
int Ind925_ = 1
 Standard level index closest to 925 hPa. More...
 
int Ind100_ = 10
 Standard level index closest to 100 hPa. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ufo::ProfileCheckBase
template<typename T >
void correctVector (const std::vector< T > &v1, const std::vector< T > &v2, std::vector< T > &vout)
 Apply correction to vector of values. More...
 
- Protected Attributes inherited from ufo::ProfileCheckBase
const ProfileConsistencyCheckParametersoptions_
 Configurable parameters. More...
 
const ProfileIndicesprofileIndices_
 Indices of profile's observations in the entire sample. More...
 
ProfileDataHandlerprofileDataHandler_
 Profile data handler. More...
 
ProfileCheckValidatorprofileCheckValidator_
 Profile check validator. More...
 
const float missingValueFloat = util::missingValue(1.0f)
 Missing value (float) More...
 
- Private Member Functions inherited from ufo::ProfileStandardLevels
 ProfileStandardLevels (const ProfileConsistencyCheckParameters &options)
 
virtual ~ProfileStandardLevels ()
 
void calcStdLevels (const int numLevelsToCheck, const std::vector< float > &pressures, const std::vector< float > &tObs, const std::vector< int > &tFlags)
 Calculate standard levels. More...
 
void findHCheckStdLevs ()
 Compute indices of particular standard levels for the hydrostatic check. More...
 
void calcStdLevelsUV (const int numLevelsToCheck, const std::vector< float > &pressures, const std::vector< float > &uObs, const std::vector< float > &vObs, const std::vector< int > &uFlags)
 Calculate standard levels for U and V data. More...
 

Detailed Description

Profile QC: hydrostatic check.

Definition at line 29 of file ProfileCheckHydrostatic.h.

Constructor & Destructor Documentation

◆ ProfileCheckHydrostatic()

ufo::ProfileCheckHydrostatic::ProfileCheckHydrostatic ( const ProfileConsistencyCheckParameters options,
const ProfileIndices profileIndices,
ProfileDataHandler profileDataHandler,
ProfileCheckValidator profileCheckValidator 
)

Definition at line 15 of file ProfileCheckHydrostatic.cc.

Member Function Documentation

◆ fillValidator()

void ufo::ProfileCheckHydrostatic::fillValidator ( )
overridevirtual

Fill variables in validator.

Implements ufo::ProfileCheckBase.

Definition at line 361 of file ProfileCheckHydrostatic.cc.

Here is the call graph for this function:

◆ runCheck()

void ufo::ProfileCheckHydrostatic::runCheck ( )
overridevirtual

Run check.

Implements ufo::ProfileCheckBase.

Definition at line 23 of file ProfileCheckHydrostatic.cc.

Here is the call graph for this function:

Member Data Documentation

◆ D_

std::vector<float> ufo::ProfileCheckHydrostatic::D_
private

Thickness calculated from temepature.

Definition at line 54 of file ProfileCheckHydrostatic.h.

◆ DC_

std::vector<float> ufo::ProfileCheckHydrostatic::DC_
private

Constant in thickness calculation.

Definition at line 48 of file ProfileCheckHydrostatic.h.

◆ E_

std::vector<float> ufo::ProfileCheckHydrostatic::E_
private

Thickness 'error'.

Definition at line 57 of file ProfileCheckHydrostatic.h.

◆ ETol_

std::vector<float> ufo::ProfileCheckHydrostatic::ETol_
private

Thickness tolerance.

Definition at line 51 of file ProfileCheckHydrostatic.h.

◆ HydDesc_

std::vector<std::string> ufo::ProfileCheckHydrostatic::HydDesc_
private

Hydrostatic error descriptions.

Definition at line 45 of file ProfileCheckHydrostatic.h.

◆ HydError_

std::vector<int> ufo::ProfileCheckHydrostatic::HydError_
private

Hydrostatic flag by level.

Definition at line 60 of file ProfileCheckHydrostatic.h.


The documentation for this class was generated from the following files: