UFO
ObsGnssroRefMetOfficeParameters.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021 UK 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 #ifndef UFO_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICEPARAMETERS_H_
9 #define UFO_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICEPARAMETERS_H_
10 
11 #include <string>
12 #include <vector>
13 
14 #include "oops/util/parameters/OptionalParameter.h"
15 #include "oops/util/parameters/Parameters.h"
16 #include "oops/util/parameters/RequiredParameter.h"
18 
19 namespace ufo {
20 
21 /// Configuration options recognized by the refractivity operator.
22 class ObsGnssroRefMetOfficeOptions : public oops::Parameters {
23  OOPS_CONCRETE_PARAMETERS(ObsGnssroRefMetOfficeOptions, Parameters)
24 
25  public:
26  /// If true assume that pressure varies exponentially with height when
27  /// interpolating. Otherwise assume that exner varies linearly with height,
28  /// and derive pressure from this.
29  oops::Parameter<bool> vertInterpOPS{"vert_interp_ops", true, this};
30  /// Whether to use pseudo-levels in the calculation.
31  oops::Parameter<bool> pseudoLevels{"pseudo_ops", true, this};
32  /// The minimum temperature gradient permitted before a profile is considered
33  /// isothermal. Only used if pseudo-levels are also used.
34  oops::Parameter<float> minTempGrad{"min_temp_grad", 1.0e-6, this};
35 };
36 
37 /// Configuration options recognized by the refractivity operator.
40 
41  public:
42  /// Obs Options - settings for the observation operator
43  oops::Parameter<ObsGnssroRefMetOfficeOptions> obsOptions{"obs options",
45 };
46 
47 } // namespace ufo
48 #endif // UFO_GNSSRO_REFMETOFFICE_OBSGNSSROREFMETOFFICEPARAMETERS_H_
Configuration options recognized by the refractivity operator.
oops::Parameter< bool > pseudoLevels
Whether to use pseudo-levels in the calculation.
Configuration options recognized by the refractivity operator.
oops::Parameter< ObsGnssroRefMetOfficeOptions > obsOptions
Obs Options - settings for the observation operator.
Base class of classes storing configuration parameters of specific observation operators and linear o...
Definition: RunCRTM.h:27