UFO
ufo::ProfileCheckRH Class Reference

Profile QC: relative humidity check. More...

#include <ProfileCheckRH.h>

Inheritance diagram for ufo::ProfileCheckRH:
Collaboration diagram for ufo::ProfileCheckRH:

Public Member Functions

 ProfileCheckRH (const ConventionalProfileProcessingParameters &options)
 
void runCheck (ProfileDataHandler &profileDataHandler) override
 Run check. More...
 
void fillValidationData (ProfileDataHandler &profileDataHandler) override
 Fill variables in validator. More...
 
- Public Member Functions inherited from ufo::ProfileCheckBase
 ProfileCheckBase (const ConventionalProfileProcessingParameters &options)
 
virtual ~ProfileCheckBase ()
 
virtual bool getResult ()
 Get result of check (default fail) More...
 
virtual bool runOnEntireSample ()
 Run this check on the entire sample? 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< float > Press_
 Observed pressure for selected levels (hPa) More...
 
std::vector< float > Temp_
 Observed temperature for selected levels (K) More...
 
std::vector< float > rh_
 Observed relative humidity for selected levels (%) More...
 
std::vector< float > td_
 Observed dew point temperature for selected levels (K) More...
 
std::vector< float > tbk_
 Model temperature for selected levels (K) More...
 
std::vector< float > rhbk_
 Model relative humidity for selected levels (%) More...
 
std::vector< int > FlagH_
 Flags for RH checks. More...
 
std::vector< int > Indx_
 Indices of selected levels. 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...
 

Detailed Description

Profile QC: relative humidity check.

  • Check for increasing dew-point at the top of cloud levels (cloud errors).
  • Check for large humidity errors at the top of the profile (hi-lev errors).

Definition at line 28 of file ProfileCheckRH.h.

Constructor & Destructor Documentation

◆ ProfileCheckRH()

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

Definition at line 15 of file ProfileCheckRH.cc.

Member Function Documentation

◆ fillValidationData()

void ufo::ProfileCheckRH::fillValidationData ( ProfileDataHandler profileDataHandler)
overridevirtual

Fill variables in validator.

Reimplemented from ufo::ProfileCheckBase.

Definition at line 190 of file ProfileCheckRH.cc.

Here is the call graph for this function:

◆ runCheck()

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

Run check.

Implements ufo::ProfileCheckBase.

Definition at line 20 of file ProfileCheckRH.cc.

Here is the call graph for this function:

Member Data Documentation

◆ FlagH_

std::vector<int> ufo::ProfileCheckRH::FlagH_
private

Flags for RH checks.

Definition at line 58 of file ProfileCheckRH.h.

◆ Indx_

std::vector<int> ufo::ProfileCheckRH::Indx_
private

Indices of selected levels.

Definition at line 61 of file ProfileCheckRH.h.

◆ Press_

std::vector<float> ufo::ProfileCheckRH::Press_
private

Observed pressure for selected levels (hPa)

Definition at line 40 of file ProfileCheckRH.h.

◆ rh_

std::vector<float> ufo::ProfileCheckRH::rh_
private

Observed relative humidity for selected levels (%)

Definition at line 46 of file ProfileCheckRH.h.

◆ rhbk_

std::vector<float> ufo::ProfileCheckRH::rhbk_
private

Model relative humidity for selected levels (%)

Definition at line 55 of file ProfileCheckRH.h.

◆ tbk_

std::vector<float> ufo::ProfileCheckRH::tbk_
private

Model temperature for selected levels (K)

Definition at line 52 of file ProfileCheckRH.h.

◆ td_

std::vector<float> ufo::ProfileCheckRH::td_
private

Observed dew point temperature for selected levels (K)

Definition at line 49 of file ProfileCheckRH.h.

◆ Temp_

std::vector<float> ufo::ProfileCheckRH::Temp_
private

Observed temperature for selected levels (K)

Definition at line 43 of file ProfileCheckRH.h.


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