8 #ifndef UFO_FILTERS_OBSFUNCTIONS_CLOUDCOSTFUNCTION_H_
9 #define UFO_FILTERS_OBSFUNCTIONS_CLOUDCOSTFUNCTION_H_
14 #include "oops/util/parameters/Parameter.h"
15 #include "oops/util/parameters/Parameters.h"
16 #include "oops/util/parameters/RequiredParameter.h"
34 oops::RequiredParameter<std::string>
chanlist{
"cost channels list",
this};
43 oops::RequiredParameter<std::vector<std::string>>
62 oops::Parameter<float>
min_q{
"minimum specific humidity", 3.0e-6f,
this};
68 oops::Parameter<float>
minTb{
"minimum ObsValue", 70.0,
this};
71 oops::Parameter<float>
maxTb{
"maximum ObsValue", 340.0,
this};
74 oops::Parameter<float>
maxCost{
"maximum final cost", 1600.0,
this};
83 oops::Parameter<std::string>
HofXGroup{
"HofX group",
"HofX",
this};
115 = eckit::LocalConfiguration());
Bayesian cost function for detecting cloud-affected radiances.
std::vector< std::string > fields_
std::vector< int > channels_
CloudCostFunctionParameters options_
const ufo::Variables & requiredVariables() const
geovals required to compute the function
void compute(const ObsFilterData &, ioda::ObsDataVector< float > &) const
compute the result of the function
CloudCostFunction(const eckit::LocalConfiguration &=eckit::LocalConfiguration())
Options for calculating Bayesian cost function.
oops::RequiredParameter< std::vector< std::string > > field_names
List of geovals describing fields required from the B-matrix.
oops::Parameter< bool > qtotal_split_rain
Include treatment of rain when splitting total humidity into constituent phases.
oops::Parameter< bool > qtotal_lnq_gkg
B-matrix file contains error covariances for ln(qtotal in units g/kg)
oops::Parameter< bool > reverse_Jacobian
Jacobian vertical ordering is reverse of geovals.
oops::Parameter< float > maxTb
Maximum bound for ObsValue brightness temperature.
oops::RequiredParameter< std::string > chanlist
Set of channels used in the calculation of the cost function.
oops::RequiredParameter< std::string > rmatrix_filepath
Path to location of file describing the R-matrix.
oops::Parameter< std::string > HofXGroup
Name of the H(x) group used in the cost function calculation.
oops::Parameter< float > maxCost
Maximum value for final cost returned by the ObsFunction.
oops::Parameter< float > min_q
Limit specific humidity to minimum value.
oops::RequiredParameter< std::string > bmatrix_filepath
Path to location of file describing the B-matrix.
oops::Parameter< float > minTb
Minimum bound for ObsValue brightness temperature.
oops::Parameter< bool > scattering_switch
Include gradient due to ice in brightness temperature total humidity Jacobian.
ObsFilterData provides access to all data related to an ObsFilter.