UFO
|
Profile QC checker base class. More...
#include <ProfileCheckBase.h>
Public Member Functions | |
ProfileCheckBase (const ProfileConsistencyCheckParameters &options, const ProfileIndices &profileIndices, ProfileDataHandler &profileDataHandler, ProfileCheckValidator &profileCheckValidator) | |
virtual | ~ProfileCheckBase () |
virtual void | runCheck ()=0 |
Run check. More... | |
virtual void | fillValidator ()=0 |
Fill variables in validator. More... | |
virtual bool | getResult () |
Get result of check (default fail) More... | |
Protected Member Functions | |
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 | |
const ProfileConsistencyCheckParameters & | options_ |
Configurable parameters. More... | |
const ProfileIndices & | profileIndices_ |
Indices of profile's observations in the entire sample. More... | |
ProfileDataHandler & | profileDataHandler_ |
Profile data handler. More... | |
ProfileCheckValidator & | profileCheckValidator_ |
Profile check validator. More... | |
const float | missingValueFloat = util::missingValue(1.0f) |
Missing value (float) More... | |
Profile QC checker base class.
Definition at line 40 of file ProfileCheckBase.h.
ufo::ProfileCheckBase::ProfileCheckBase | ( | const ProfileConsistencyCheckParameters & | options, |
const ProfileIndices & | profileIndices, | ||
ProfileDataHandler & | profileDataHandler, | ||
ProfileCheckValidator & | profileCheckValidator | ||
) |
Definition at line 16 of file ProfileCheckBase.cc.
|
inlinevirtual |
Definition at line 46 of file ProfileCheckBase.h.
|
inlineprotected |
Apply correction to vector of values.
Definition at line 60 of file ProfileCheckBase.h.
|
pure virtual |
Fill variables in validator.
Implemented in ufo::ProfileCheckBackgroundGeopotentialHeight, ufo::ProfileCheckBackgroundRelativeHumidity, ufo::ProfileCheckBackgroundTemperature, ufo::ProfileCheckBackgroundWindSpeed, ufo::ProfileCheckTime, ufo::ProfileCheckPermanentReject, ufo::ProfileCheckHydrostatic, ufo::ProfileCheckRH, ufo::ProfileCheckUInterp, ufo::ProfileCheckInterpolation, ufo::ProfileCheckUnstableLayer, ufo::ProfileCheckBasic, ufo::ProfileCheckSamePDiffT, and ufo::ProfileCheckSign.
|
inlinevirtual |
Get result of check (default fail)
Reimplemented in ufo::ProfileCheckBasic.
Definition at line 55 of file ProfileCheckBase.h.
|
pure virtual |
Run check.
Implemented in ufo::ProfileCheckBackgroundGeopotentialHeight, ufo::ProfileCheckBackgroundRelativeHumidity, ufo::ProfileCheckBackgroundTemperature, ufo::ProfileCheckBackgroundWindSpeed, ufo::ProfileCheckTime, ufo::ProfileCheckPermanentReject, ufo::ProfileCheckHydrostatic, ufo::ProfileCheckRH, ufo::ProfileCheckUInterp, ufo::ProfileCheckInterpolation, ufo::ProfileCheckUnstableLayer, ufo::ProfileCheckBasic, ufo::ProfileCheckSamePDiffT, and ufo::ProfileCheckSign.
|
protected |
Missing value (float)
Definition at line 83 of file ProfileCheckBase.h.
|
protected |
Configurable parameters.
Definition at line 71 of file ProfileCheckBase.h.
|
protected |
Profile check validator.
Definition at line 80 of file ProfileCheckBase.h.
|
protected |
Profile data handler.
Definition at line 77 of file ProfileCheckBase.h.
|
protected |
Indices of profile's observations in the entire sample.
Definition at line 74 of file ProfileCheckBase.h.