8 #ifndef UFO_FILTERS_METOFFICEBUDDYCHECKPARAMETERS_H_
9 #define UFO_FILTERS_METOFFICEBUDDYCHECKPARAMETERS_H_
15 #include "eckit/exception/Exceptions.h"
16 #include "oops/util/parameters/OptionalParameter.h"
17 #include "oops/util/parameters/Parameter.h"
18 #include "oops/util/parameters/Parameters.h"
30 bool contains(
float latitude,
float longitude)
const {
35 oops::Parameter<float>
minLatitude{
"min_latitude", -90,
this};
49 oops::OptionalParameter<int>
numLevels{
"num_levels",
this};
99 "max_num_buddies_with_same_station_id", 5,
this};
122 "horizontal_correlation_scale", {{-90.0f, 100.f}, {90.0f, 100.f}},
this};
126 util::Duration(
"PT6H"),
this};
152 oops::Parameter<std::vector<LatLonBoxParameters>>
tracedBoxes{
"traced_boxes", {},
this};
Parameters shared by all filters having a default action (typically "reject").
A box covering a specified (closed) interval of latitudes and longitudes.
oops::Parameter< float > maxLatitude
oops::Parameter< float > maxLongitude
bool contains(float latitude, float longitude) const
oops::Parameter< float > minLatitude
oops::Parameter< float > minLongitude
Options controlling the operation of the MetOfficeBuddyCheck filter.
oops::Parameter< double > verticalCorrelationScale
Vertical correlation scale (relates to the ratio of pressures).
oops::Parameter< int > maxNumBuddiesWithSameStationId
oops::Parameter< int > maxTotalNumBuddies
oops::Parameter< float > searchRadius
Maximum distance between two observations that may be classified as buddies, in km.
oops::Parameter< bool > sortByPressure
oops::Parameter< util::Duration > temporalCorrelationScale
Temporal correlation scale.
oops::Parameter< bool > useLegacyBuddyCollector
oops::Parameter< std::map< float, float > > horizontalCorrelationScaleInterpolationPoints
oops::Parameter< double > dampingFactor1
oops::Parameter< int > numZonalBands
oops::OptionalParameter< int > numLevels
oops::Parameter< double > nonDivergenceConstraint
Non-divergence constraint. Used only for vector variables.
oops::Parameter< double > dampingFactor2
oops::OptionalParameter< Variable > stationIdVariable
oops::Parameter< float > rejectionThreshold
Observations will be rejected if the gross error probability lies at or above this threshold.
oops::Parameter< std::vector< LatLonBoxParameters > > tracedBoxes
Tracing information will be output for observations lying within any of the specified boxes.
oops::Parameter< int > maxNumBuddiesFromSingleBand