UFO
ImpactHeight.h
Go to the documentation of this file.
1 /* -----------------------------------------------------------------------------
2  * (C) British Crown Copyright 2020 Met Office
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 
9 #ifndef UFO_FILTERS_OBSFUNCTIONS_IMPACTHEIGHT_H_
10 #define UFO_FILTERS_OBSFUNCTIONS_IMPACTHEIGHT_H_
11 
12 #include <vector>
13 
16 #include "ufo/filters/Variables.h"
17 
18 namespace ufo {
19 ///
20 /// \brief Function calculates the GNSS-RO impact height as the difference
21 /// between the impact parameter and earth's radius of curvature.
22 ///
23 class ImpactHeight : public ObsFunctionBase<float> {
24  public:
25  explicit ImpactHeight(const eckit::LocalConfiguration &);
26  ~ImpactHeight();
27 
28  void compute(const ObsFilterData &,
30  const ufo::Variables & requiredVariables() const;
31  private:
33 };
34 // -----------------------------------------------------------------------------
35 
36 } // namespace ufo
37 
38 #endif // UFO_FILTERS_OBSFUNCTIONS_IMPACTHEIGHT_H_
Function calculates the GNSS-RO impact height as the difference between the impact parameter and eart...
Definition: ImpactHeight.h:23
void compute(const ObsFilterData &, ioda::ObsDataVector< float > &) const
compute the result of the function
Definition: ImpactHeight.cc:47
const ufo::Variables & requiredVariables() const
geovals required to compute the function
Definition: ImpactHeight.cc:66
ImpactHeight(const eckit::LocalConfiguration &)
Definition: ImpactHeight.cc:32
ufo::Variables invars_
Definition: ImpactHeight.h:32
ObsFilterData provides access to all data related to an ObsFilter.
Definition: RunCRTM.h:27