UFO
ufo::ModelHeightAdjustedWindVectorComponent< northwardWind > Class Template Reference

Function to calculate surface wind observation values adjusted from station height to model surface height. Outputs a derived eastward and northward wind adjusted to the model surface height. Observed winds from stations above the model surface are divided by a scaling factor (S) based only on height difference (dh). Scaling factors are: More...

#include <ModelHeightAdjustedWindVectorComponent.h>

Inheritance diagram for ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >:
Collaboration diagram for ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >:

Public Member Functions

 ModelHeightAdjustedWindVectorComponent (const eckit::LocalConfiguration &=eckit::LocalConfiguration())
 
void compute (const ObsFilterData &, ioda::ObsDataVector< float > &) const
 compute the result of the function More...
 
const ufo::VariablesrequiredVariables () const
 geovals required to compute the function More...
 
- Public Member Functions inherited from ufo::ObsFunctionBase< float >
 ObsFunctionBase (const eckit::LocalConfiguration conf=eckit::LocalConfiguration())
 
virtual ~ObsFunctionBase ()
 

Private Attributes

ModelHeightAdjustedWindVectorParameters parameters_
 
ufo::Variables invars_
 

Additional Inherited Members

- Public Types inherited from ufo::ObsFunctionBase< float >
typedef float Value_
 Type of the values produced by the function. More...
 

Detailed Description

template<bool northwardWind>
class ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >

Function to calculate surface wind observation values adjusted from station height to model surface height. Outputs a derived eastward and northward wind adjusted to the model surface height. Observed winds from stations above the model surface are divided by a scaling factor (S) based only on height difference (dh). Scaling factors are:

  • S = 1.0 for dh < 100m
  • S = 1 + 0.002*(dh - 100) for 100 < dh < 1100
  • S = 3 for dh > 1100

Definition at line 44 of file ModelHeightAdjustedWindVectorComponent.h.

Constructor & Destructor Documentation

◆ ModelHeightAdjustedWindVectorComponent()

template<bool northwardWind>
ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >::ModelHeightAdjustedWindVectorComponent ( const eckit::LocalConfiguration &  conf = eckit::LocalConfiguration())
explicit

Definition at line 29 of file ModelHeightAdjustedWindVectorComponent.cc.

Member Function Documentation

◆ compute()

template<bool northwardWind>
void ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >::compute ( const ObsFilterData ,
ioda::ObsDataVector< float > &   
) const
virtual

compute the result of the function

Implements ufo::ObsFunctionBase< float >.

Definition at line 50 of file ModelHeightAdjustedWindVectorComponent.cc.

Here is the call graph for this function:

◆ requiredVariables()

template<bool northwardWind>
const ufo::Variables & ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >::requiredVariables
virtual

geovals required to compute the function

Implements ufo::ObsFunctionBase< float >.

Definition at line 90 of file ModelHeightAdjustedWindVectorComponent.cc.

Member Data Documentation

◆ invars_

template<bool northwardWind>
ufo::Variables ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >::invars_
private

Definition at line 55 of file ModelHeightAdjustedWindVectorComponent.h.

◆ parameters_

template<bool northwardWind>
ModelHeightAdjustedWindVectorParameters ufo::ModelHeightAdjustedWindVectorComponent< northwardWind >::parameters_
private

Definition at line 54 of file ModelHeightAdjustedWindVectorComponent.h.


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