8 #ifndef UFO_UTILS_PROBABILITYOFGROSSERROR_H_
9 #define UFO_UTILS_PROBABILITYOFGROSSERROR_H_
15 #include "oops/util/missingValues.h"
43 const std::vector<float> &obsVal,
44 const std::vector<float> &obsErr,
45 const std::vector<float> &bkgVal,
46 const std::vector<float> &bkgErr,
47 const std::vector<float> &PdBad,
48 const bool ModelLevels,
49 std::vector<int> &flags,
50 std::vector<float> &PGE,
51 std::vector<float> &PGEBd,
53 const std::vector<float> *obsVal2 =
nullptr,
54 const std::vector<float> *bkgVal2 =
nullptr);
void BayesianPGEUpdate(const ProbabilityOfGrossErrorParameters &options, const std::vector< float > &obsVal, const std::vector< float > &obsErr, const std::vector< float > &bkgVal, const std::vector< float > &bkgErr, const std::vector< float > &PdBad, const bool ModelLevels, std::vector< int > &flags, std::vector< float > &PGE, std::vector< float > &PGEBd, float ErrVarMax, const std::vector< float > *obsVal2, const std::vector< float > *bkgVal2)
Bayesian update of probability of gross error (PGE)