UFO
StuckCheckParameters.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021 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_STUCKCHECKPARAMETERS_H_
9 #define UFO_FILTERS_STUCKCHECKPARAMETERS_H_
10 
11 #include "oops/util/Duration.h"
12 #include "oops/util/parameters/Parameter.h"
13 #include "oops/util/parameters/Parameters.h"
14 #include "oops/util/parameters/RequiredParameter.h"
16 
17 namespace ufo {
18 class StuckCheckCoreParameters : public oops::Parameters {
19  OOPS_CONCRETE_PARAMETERS(StuckCheckCoreParameters, Parameters)
20 
21  public:
22  /// The maximum number of observations in a row that can have the same observed value
23  /// before the observations may be flagged by this filter.
24  oops::RequiredParameter<size_t> numberStuckTolerance {
25  "number stuck tolerance", this
26  };
27 
28  /// The maximum duration in which an observation value is "stuck" before
29  /// the observations may be flagged (unless all of the observations have that one value,
30  /// in which case the observations could be flagged anyway)
31  oops::RequiredParameter<util::Duration> timeStuckTolerance {
32  "time stuck tolerance", this
33  };
34 };
35 
36 /// \brief Options controlling the operation of stuck check filter.
38  OOPS_CONCRETE_PARAMETERS(StuckCheckParameters, TrackCheckUtilsParameters)
39  public:
41 };
42 
43 } // namespace ufo
44 
45 #endif // UFO_FILTERS_STUCKCHECKPARAMETERS_H_
oops::RequiredParameter< util::Duration > timeStuckTolerance
oops::RequiredParameter< size_t > numberStuckTolerance
Options controlling the operation of stuck check filter.
StuckCheckCoreParameters core
Options controlling the operation of the track check filter.
Definition: RunCRTM.h:27