UFO
ufo::ProfileCheckUInterpAlternative Class Reference

Profile QC: alternative wind speed interpolation check. This check is passed all of the profiles in the sample and runs on each in sequence. This check is otherwise identical to the ProfileCheckUInterp. More...

#include <ProfileCheckUInterpAlternative.h>

Inheritance diagram for ufo::ProfileCheckUInterpAlternative:
Collaboration diagram for ufo::ProfileCheckUInterpAlternative:

Public Member Functions

 ProfileCheckUInterpAlternative (const ConventionalProfileProcessingParameters &options)
 
void runCheck (ProfileDataHandler &profileDataHandler) override
 Run check on all profiles. More...
 
void runCheckOnProfile (ProfileDataHolder &profile)
 Run check on an individual profile. More...
 
void fillValidationData (ProfileDataHolder &profileDataHolder)
 Fill variables in validator. More...
 
bool runOnEntireSample () override
 Run this check on the entire sample? More...
 
- Public Member Functions inherited from ufo::ProfileCheckBase
 ProfileCheckBase (const ConventionalProfileProcessingParameters &options)
 
virtual ~ProfileCheckBase ()
 
virtual void fillValidationData (ProfileDataHandler &profileDataHandler)
 
virtual bool getResult ()
 Get result of check (default fail) More...
 
virtual oops::Variables getGeoVaLNames ()
 List of names of required GeoVaLs. More...
 
virtual oops::Variables getValidationGeoVaLNames ()
 List of names of GeoVaLs used in check validation. More...
 
virtual oops::Variables getObsDiagNames ()
 List of names of required obs diagnostics. More...
 

Private Attributes

std::vector< int > LevErrors_
 Number of failed checks by level. More...
 
std::vector< float > uInterp_
 Interpolated value of u. More...
 
std::vector< float > vInterp_
 Interpolated value of v. 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 ConventionalProfileProcessingParametersoptionsSL_
 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...
 
template<typename T >
void SetQCFlag (const int &flag, const size_t &jlev, std::vector< T > &vec)
 
template<typename T , typename... Args>
void SetQCFlag (const int &flag, const size_t &jlev, std::vector< T > &vec1, Args &... vecs)
 
- Protected Attributes inherited from ufo::ProfileCheckBase
const ConventionalProfileProcessingParametersoptions_
 Configurable parameters. More...
 
const int missingValueInt = util::missingValue(1)
 Missing value (int) More...
 
const float missingValueFloat = util::missingValue(1.0f)
 Missing value (float) More...
 
- Private Member Functions inherited from ufo::ProfileStandardLevels
 ProfileStandardLevels (const ConventionalProfileProcessingParameters &options)
 
virtual ~ProfileStandardLevels ()
 
void calcStdLevels (const int numProfileLevels, 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 numProfileLevels, 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: alternative wind speed interpolation check. This check is passed all of the profiles in the sample and runs on each in sequence. This check is otherwise identical to the ProfileCheckUInterp.

Definition at line 29 of file ProfileCheckUInterpAlternative.h.

Constructor & Destructor Documentation

◆ ProfileCheckUInterpAlternative()

ufo::ProfileCheckUInterpAlternative::ProfileCheckUInterpAlternative ( const ConventionalProfileProcessingParameters options)
explicit

Definition at line 19 of file ProfileCheckUInterpAlternative.cc.

Member Function Documentation

◆ fillValidationData()

void ufo::ProfileCheckUInterpAlternative::fillValidationData ( ProfileDataHolder profileDataHolder)

Fill variables in validator.

Definition at line 205 of file ProfileCheckUInterpAlternative.cc.

Here is the caller graph for this function:

◆ runCheck()

void ufo::ProfileCheckUInterpAlternative::runCheck ( ProfileDataHandler profileDataHandler)
overridevirtual

Run check on all profiles.

Implements ufo::ProfileCheckBase.

Definition at line 25 of file ProfileCheckUInterpAlternative.cc.

Here is the call graph for this function:

◆ runCheckOnProfile()

void ufo::ProfileCheckUInterpAlternative::runCheckOnProfile ( ProfileDataHolder profile)

Run check on an individual profile.

Definition at line 76 of file ProfileCheckUInterpAlternative.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runOnEntireSample()

bool ufo::ProfileCheckUInterpAlternative::runOnEntireSample ( )
inlineoverridevirtual

Run this check on the entire sample?

Reimplemented from ufo::ProfileCheckBase.

Definition at line 45 of file ProfileCheckUInterpAlternative.h.

Member Data Documentation

◆ LevErrors_

std::vector<int> ufo::ProfileCheckUInterpAlternative::LevErrors_
private

Number of failed checks by level.

Definition at line 49 of file ProfileCheckUInterpAlternative.h.

◆ uInterp_

std::vector<float> ufo::ProfileCheckUInterpAlternative::uInterp_
private

Interpolated value of u.

Definition at line 52 of file ProfileCheckUInterpAlternative.h.

◆ vInterp_

std::vector<float> ufo::ProfileCheckUInterpAlternative::vInterp_
private

Interpolated value of v.

Definition at line 55 of file ProfileCheckUInterpAlternative.h.


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