UFO
MetOfficeBuddyPair.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020 Met Office UK
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 
8 #ifndef UFO_FILTERS_METOFFICEBUDDYPAIR_H_
9 #define UFO_FILTERS_METOFFICEBUDDYPAIR_H_
10 
11 namespace ufo {
12 
13 /// \brief Properties of a pair of observations checked against each other during buddy check.
15  MetOfficeBuddyPair(int obsIdA_, int obsIdB_, double distanceInKm_,
16  double rotationAInRad_, double rotationBInRad_)
17  : obsIdA(obsIdA_), obsIdB(obsIdB_), distanceInKm(distanceInKm_),
18  rotationAInRad(rotationAInRad_), rotationBInRad(rotationBInRad_)
19  {}
20 
21  int obsIdA; //< Id of the first observation
22  int obsIdB; //< Id of the second observation
23  double distanceInKm; //< Horizontal distance between observations (in km)
24  double rotationAInRad; //< Direction of ob B from ob A (in rad)
25  double rotationBInRad; //< Reciprocal direction of ob A from B (in rad)
26 };
27 
28 } // namespace ufo
29 
30 #endif // UFO_FILTERS_METOFFICEBUDDYPAIR_H_
Definition: RunCRTM.h:27
Properties of a pair of observations checked against each other during buddy check.
MetOfficeBuddyPair(int obsIdA_, int obsIdB_, double distanceInKm_, double rotationAInRad_, double rotationBInRad_)