UFO
ufo::Cal_ProfileHorizontalDrift Class Reference

Profile horizontal drift calculation. More...

#include <Cal_ProfileHorizontalDrift.h>

Inheritance diagram for ufo::Cal_ProfileHorizontalDrift:
Collaboration diagram for ufo::Cal_ProfileHorizontalDrift:

Public Member Functions

 Cal_ProfileHorizontalDrift (const VariableTransformsParameters &options, const ObsFilterData &data, const std::shared_ptr< ioda::ObsDataVector< int >> &flags)
 
void runTransform (const std::vector< bool > &apply) override
 Run variable conversion. More...
 
- Public Member Functions inherited from ufo::TransformBase
 TransformBase (const VariableTransformsParameters &options, const ObsFilterData &data, const std::shared_ptr< ioda::ObsDataVector< int >> &flags)
 
virtual ~TransformBase ()
 Destructor. More...
 
virtual Variables requiredVariables () const
 Return list of required geovals. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ufo::TransformBase
template<typename T >
void getObservation (const std::string &originalTag, const std::string &varName, std::vector< T > &obsVector, bool require=false) const
 templated function for float, int data types More...
 
template<typename T >
void putObservation (const std::string &varName, const std::vector< T > &obsVector)
 Save a transformed variable to the DerivedObsValue group of the obs space. More...
 
formulas::MethodFormulation method () const
 subclasses to access Method and formualtion used for the calculation More...
 
formulas::MethodFormulation formulation () const
 
bool UseValidDataOnly () const
 
bool AllowSuperSaturation () const
 
void SetUseValidDataOnly (bool t)
 
std::string obsName () const
 subclasses to access the observation name More...
 
- Protected Attributes inherited from ufo::TransformBase
const VariableTransformsParametersoptions_
 Configurable parameters. More...
 
ObsFilterData data_
 Observation and geoval data. More...
 
ioda::ObsSpace & obsdb_ = data_.obsspace()
 Observation space. More...
 
ioda::ObsDataVector< int > & flags_
 
const int missingValueInt = util::missingValue(1)
 Missing value (int) More...
 
const float missingValueFloat = util::missingValue(1.0f)
 Missing value (float) More...
 
const std::string outputTag = "DerivedObsValue"
 output tag for derived parameters More...
 

Detailed Description

Profile horizontal drift calculation.

This computes the horizontal drift positions (and times) given the horizontal wind speeds, heights, and an assumed rate of ascent.

This function should only be applied to sondes whose horizontal position was not already measured (i.e. not to sondes reporting in BUFR format).

Example:

obs filters:
- filter: Variables Transform
Transform: ["ProfileHorizontalDrift"]

See VariableTransformsParameters for filter setup.

Definition at line 40 of file Cal_ProfileHorizontalDrift.h.

Constructor & Destructor Documentation

◆ Cal_ProfileHorizontalDrift()

ufo::Cal_ProfileHorizontalDrift::Cal_ProfileHorizontalDrift ( const VariableTransformsParameters options,
const ObsFilterData data,
const std::shared_ptr< ioda::ObsDataVector< int >> &  flags 
)

Definition at line 20 of file Cal_ProfileHorizontalDrift.cc.

Member Function Documentation

◆ runTransform()

void ufo::Cal_ProfileHorizontalDrift::runTransform ( const std::vector< bool > &  apply)
overridevirtual

Run variable conversion.

Implements ufo::TransformBase.

Definition at line 28 of file Cal_ProfileHorizontalDrift.cc.

Here is the call graph for this function:

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