8 #ifndef UFO_PROFILE_DATAHANDLERPARAMETERS_H_
9 #define UFO_PROFILE_DATAHANDLERPARAMETERS_H_
15 #include "oops/util/parameters/OptionalParameter.h"
16 #include "oops/util/parameters/Parameter.h"
17 #include "oops/util/parameters/Parameters.h"
36 bool optional =
false;
46 size_t entriesPerProfile = 0;
51 entriesPerProfile = 1;
61 return entriesPerProfile;
68 {
"groups_optional", {
"Corrections",
"Counters"},
this};
72 {
"groups_singlevalue", {},
this};
76 {
"groups_modellevels",
77 {
"ModelLevelsDerivedValue",
"ModelLevelsQCFlags"},
this};
81 {
"groups_modelrholevels",
82 {
"ModelRhoLevelsDerivedValue",
"ModelRhoLevelsFlags"},
this};
89 oops::OptionalParameter<int>
maxlev {
"maxlev",
this};
96 {
"ModelLevelsDerivedValuesFilename",
"ModelLevelsDerivedValues.nc4",
this};
102 {
"defaultVerticalCoordinate",
"air_pressure",
this};
111 {
"alternativeVerticalCoordinate",
112 {{
"eastward_wind",
"air_pressure_levels"}, {
"northward_wind",
"air_pressure_levels"},
113 {
"ExnerPA",
"air_pressure_levels"}, {
"LogPA",
"air_pressure_levels"}},
this};
Options controlling the operation of the EntireSampleDataHandler and ProfileDataHandler classes.
oops::OptionalParameter< int > maxlev
oops::Parameter< bool > ValidateTotalNumProf
If not sorting observations, ensure number of profiles is consistent.
oops::Parameter< int > nErrorsFail
Number of errors, accumulated over checks, that cause the observation to have failed.
oops::Parameter< std::vector< std::string > > groups_singlevalue
Groups of variables which have one value per profile.
size_t getEntriesPerProfile(const std::string &groupname) const
Determine number of entries per profile for a variable group.
oops::Parameter< std::vector< std::string > > groups_modellevels
Groups of variables which are on model levels.
ModelParameters ModParameters
Parameters related to the model.
oops::Parameter< std::vector< std::string > > groups_optional
oops::Parameter< std::vector< std::string > > groups_modelrholevels
Groups of variables which are on model rho levels.
oops::Parameter< std::string > defaultVerticalCoordinate
bool getOptional(const std::string &groupname) const
Determine whether a variable group is optional or not.
oops::Parameter< std::string > ModelLevelsDerivedValuesFilename
Output filename for saving derived values on model levels.
oops::Parameter< std::map< std::string, std::string > > alternativeVerticalCoordinate
Options related to GeoVaLs used in the profile QC code.
size_t numModelLevels() const
Number of model theta levels.
size_t numModelLevels_rho() const