UFO
MetOfficeBuddyCheck.cc File Reference
#include "ufo/filters/MetOfficeBuddyCheck.h"
#include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <map>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <boost/format.hpp>
#include "eckit/config/Configuration.h"
#include "ioda/ObsDataVector.h"
#include "ioda/ObsSpace.h"
#include "oops/base/Variables.h"
#include "oops/util/DateTime.h"
#include "oops/util/Duration.h"
#include "oops/util/Logger.h"
#include "oops/util/sqr.h"
#include "ufo/filters/MetOfficeBuddyCheckParameters.h"
#include "ufo/filters/MetOfficeBuddyPair.h"
#include "ufo/filters/MetOfficeBuddyPairFinder.h"
#include "ufo/utils/PiecewiseLinearInterpolation.h"
Include dependency graph for MetOfficeBuddyCheck.cc:

Go to the source code of this file.

Classes

struct  ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::ScalarVariableData
 
struct  ufo::MetOfficeBuddyCheck::MetaData
 Metadata of all observations processed by the filter. More...
 

Namespaces

 ufo
 
 ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}
 

Functions

template<typename T >
std::vector< T > ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::extract1stLev (const std::vector< T > &flattenedArray, const boost::optional< Eigen::ArrayXXi > &profileIndex)
 brief Extract 1st level data from the provided flattened vector. More...
 
Eigen::ArrayXXf ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::unravel (const std::vector< float > &flattenedArray, const boost::optional< Eigen::ArrayXXi > &profileIndex)
 Return a 2D eigen array from the provided flattened vector. More...
 
void ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::updateFlatData (std::vector< float > &flatArray, const Eigen::ArrayXXf &array, const boost::optional< Eigen::ArrayXXi > &profileIndex)
 Update the provided flat array with values from the provided eigen array. More...
 
Eigen::ArrayXXi ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::deriveIndices (const ioda::ObsSpace &obsdb, const int numLevels)
 Derive a mapping between the ObsSpace flat data and an unraveled 2D eigen array representation. More...
 
std::string ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::fullVariableName (const Variable &var)
 
template<typename T >
std::vector< T > ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::uniqueElements (const std::vector< T > &v)
 
template<typename T >
std::vector< int > ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::mapDistinctValuesToDistinctInts (const std::vector< T > &values)
 

Variables

const double ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::expArgMax = 80.0
 
const float ufo::anonymous_namespace{MetOfficeBuddyCheck.cc}::maxGrossErrorProbability = 1.0