UFO
ufo::TrackCheck::TrackObservation Class Reference

Attributes of an observation belonging to a track. More...

Collaboration diagram for ufo::TrackCheck::TrackObservation:

Public Member Functions

 TrackObservation (float latitude, float longitude, const util::DateTime &time, float pressure)
 
float pressure () const
 
bool rejectedInPreviousSweep () const
 
bool rejectedBeforePreviousSweep () const
 
bool rejected () const
 
int numNeighborsVisitedInPreviousSweep (Direction dir) const
 
void setNumNeighborsVisitedInPreviousSweep (Direction dir, int num)
 
CheckResults checkAgainstBuddy (const TrackObservation &buddyObs, const TrackCheckParameters &options, const PiecewiseLinearInterpolation &maxValidSpeedAtPressure, float referencePressure) const
 
void registerCheckResults (const CheckResults &result)
 
void unregisterCheckResults (const CheckResults &result)
 
void registerSweepOutcome (bool rejectedInSweep)
 
float getFailedChecksFraction ()
 

Private Attributes

TrackCheckUtils::ObsLocationTime obsLocationTime_
 
TrackCheckUtils::CheckCounter checkCounter_
 
float pressure_
 
bool rejectedInPreviousSweep_
 
bool rejectedBeforePreviousSweep_
 
int numNeighborsVisitedInPreviousSweep_ [NUM_DIRECTIONS]
 

Detailed Description

Attributes of an observation belonging to a track.

Definition at line 93 of file src/ufo/filters/TrackCheck.h.

Constructor & Destructor Documentation

◆ TrackObservation()

ufo::TrackCheck::TrackObservation::TrackObservation ( float  latitude,
float  longitude,
const util::DateTime &  time,
float  pressure 
)

Definition at line 34 of file TrackCheck.cc.

Member Function Documentation

◆ checkAgainstBuddy()

TrackCheck::CheckResults ufo::TrackCheck::TrackObservation::checkAgainstBuddy ( const TrackObservation buddyObs,
const TrackCheckParameters options,
const PiecewiseLinearInterpolation maxValidSpeedAtPressure,
float  referencePressure 
) const

Estimates the instantaneous speed and climb rate by comparing this observation against buddyObs. Checks if these estimates are in the accepted ranges and if the two observations are far enough from each other to be considered "distinct".

Parameters
buddyObsObservation to compare against.
optionsTrack check options.
maxValidSpeedAtPressureFunction mapping air pressure (in Pa) to the maximum realistic speed (in m/s).
referencePressurePressure at which the maximum speed should be evaluated.
Returns
An object enapsulating the check results.

Definition at line 41 of file TrackCheck.cc.

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

◆ getFailedChecksFraction()

float ufo::TrackCheck::TrackObservation::getFailedChecksFraction ( )

Definition at line 92 of file TrackCheck.cc.

Here is the caller graph for this function:

◆ numNeighborsVisitedInPreviousSweep()

int ufo::TrackCheck::TrackObservation::numNeighborsVisitedInPreviousSweep ( Direction  dir) const
inline

Definition at line 102 of file src/ufo/filters/TrackCheck.h.

Here is the caller graph for this function:

◆ pressure()

float ufo::TrackCheck::TrackObservation::pressure ( ) const
inline

Definition at line 96 of file src/ufo/filters/TrackCheck.h.

Here is the caller graph for this function:

◆ registerCheckResults()

void ufo::TrackCheck::TrackObservation::registerCheckResults ( const CheckResults result)

Definition at line 77 of file TrackCheck.cc.

Here is the caller graph for this function:

◆ registerSweepOutcome()

void ufo::TrackCheck::TrackObservation::registerSweepOutcome ( bool  rejectedInSweep)

Definition at line 87 of file TrackCheck.cc.

◆ rejected()

bool ufo::TrackCheck::TrackObservation::rejected ( ) const
inline

Definition at line 99 of file src/ufo/filters/TrackCheck.h.

Here is the caller graph for this function:

◆ rejectedBeforePreviousSweep()

bool ufo::TrackCheck::TrackObservation::rejectedBeforePreviousSweep ( ) const
inline

Definition at line 98 of file src/ufo/filters/TrackCheck.h.

◆ rejectedInPreviousSweep()

bool ufo::TrackCheck::TrackObservation::rejectedInPreviousSweep ( ) const
inline

Definition at line 97 of file src/ufo/filters/TrackCheck.h.

Here is the caller graph for this function:

◆ setNumNeighborsVisitedInPreviousSweep()

void ufo::TrackCheck::TrackObservation::setNumNeighborsVisitedInPreviousSweep ( Direction  dir,
int  num 
)
inline

Definition at line 105 of file src/ufo/filters/TrackCheck.h.

Here is the caller graph for this function:

◆ unregisterCheckResults()

void ufo::TrackCheck::TrackObservation::unregisterCheckResults ( const CheckResults result)

Definition at line 82 of file TrackCheck.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ checkCounter_

TrackCheckUtils::CheckCounter ufo::TrackCheck::TrackObservation::checkCounter_
private

Definition at line 133 of file src/ufo/filters/TrackCheck.h.

◆ numNeighborsVisitedInPreviousSweep_

int ufo::TrackCheck::TrackObservation::numNeighborsVisitedInPreviousSweep_[NUM_DIRECTIONS]
private

Definition at line 137 of file src/ufo/filters/TrackCheck.h.

◆ obsLocationTime_

TrackCheckUtils::ObsLocationTime ufo::TrackCheck::TrackObservation::obsLocationTime_
private

Definition at line 132 of file src/ufo/filters/TrackCheck.h.

◆ pressure_

float ufo::TrackCheck::TrackObservation::pressure_
private

Definition at line 134 of file src/ufo/filters/TrackCheck.h.

◆ rejectedBeforePreviousSweep_

bool ufo::TrackCheck::TrackObservation::rejectedBeforePreviousSweep_
private

Definition at line 136 of file src/ufo/filters/TrackCheck.h.

◆ rejectedInPreviousSweep_

bool ufo::TrackCheck::TrackObservation::rejectedInPreviousSweep_
private

Definition at line 135 of file src/ufo/filters/TrackCheck.h.


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