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.
14
struct
MetOfficeBuddyPair
{
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_
ufo
Definition:
RunCRTM.h:27
ufo::MetOfficeBuddyPair
Properties of a pair of observations checked against each other during buddy check.
Definition:
MetOfficeBuddyPair.h:14
ufo::MetOfficeBuddyPair::obsIdA
int obsIdA
Definition:
MetOfficeBuddyPair.h:21
ufo::MetOfficeBuddyPair::MetOfficeBuddyPair
MetOfficeBuddyPair(int obsIdA_, int obsIdB_, double distanceInKm_, double rotationAInRad_, double rotationBInRad_)
Definition:
MetOfficeBuddyPair.h:15
ufo::MetOfficeBuddyPair::obsIdB
int obsIdB
Definition:
MetOfficeBuddyPair.h:22
ufo::MetOfficeBuddyPair::rotationBInRad
double rotationBInRad
Definition:
MetOfficeBuddyPair.h:25
ufo::MetOfficeBuddyPair::rotationAInRad
double rotationAInRad
Definition:
MetOfficeBuddyPair.h:24
ufo::MetOfficeBuddyPair::distanceInKm
double distanceInKm
Definition:
MetOfficeBuddyPair.h:23
mpas-bundle
ufo
src
ufo
filters
MetOfficeBuddyPair.h
Generated on Wed Sep 8 2021 16:37:36 for UFO by
1.9.1