UFO
|
Determine indices of observations making up individual profiles. The indices are computed with respect to the entire sample of observations. Used to extract relevant data and flags from the entire sample. More...
#include <ProfileIndices.h>
Public Types | |
typedef std::map< std::size_t, std::vector< std::size_t > > | ProfIdxMap |
Profile index map. More... | |
typedef ProfIdxMap::const_iterator | ProfIdxIter |
Profile index map iterator. More... | |
Public Member Functions | |
ProfileIndices (ioda::ObsSpace &obsdb, const ProfileConsistencyCheckParameters &options, const std::vector< bool > &apply) | |
void | determineProfileIndices () |
Determine indices in entire sample for this profile. More... | |
const std::vector< size_t > & | getProfileIndices () const |
Return indices for the current profile. More... | |
int | getNumLevelsToCheck () const |
Return number of levels to which QC checks should be applied. More... | |
size_t | getProfileNumCurrent () const |
Get number of current profile. More... | |
Private Member Functions | |
void | validateTotalNumProf () |
Private Attributes | |
ioda::ObsSpace & | obsdb_ |
Observation database. More... | |
const ProfileConsistencyCheckParameters & | options_ |
Configurable parameters. More... | |
const std::vector< bool > & | apply_ |
Observations to apply the filter to. More... | |
const std::vector< size_t > | profileNums_ |
Profile numbers for the entire sample. More... | |
ProfIdxMap | profidx_ |
Iterator over profile indices (used for sorting). More... | |
ProfIdxIter | profidx_current_ |
Iterator pointing to current profile index (initially points to beginning). More... | |
std::vector< size_t > | profileIndices_ |
Indices for this profile. More... | |
int | numLevelsToCheck_ |
Number of profile levels to which QC checks should be applied. More... | |
size_t | profileNumCurrent_ |
Current profile number in the sample. More... | |
size_t | profileNumToFind_ |
Next profile number to find in the sample. More... | |
size_t | profIndex_ |
Determine indices of observations making up individual profiles. The indices are computed with respect to the entire sample of observations. Used to extract relevant data and flags from the entire sample.
It is important to distinguish between:
Definition at line 39 of file ProfileIndices.h.
typedef ProfIdxMap::const_iterator ufo::ProfileIndices::ProfIdxIter |
Profile index map iterator.
Definition at line 61 of file ProfileIndices.h.
typedef std::map<std::size_t, std::vector<std::size_t> > ufo::ProfileIndices::ProfIdxMap |
Profile index map.
Definition at line 58 of file ProfileIndices.h.
ufo::ProfileIndices::ProfileIndices | ( | ioda::ObsSpace & | obsdb, |
const ProfileConsistencyCheckParameters & | options, | ||
const std::vector< bool > & | apply | ||
) |
void ufo::ProfileIndices::determineProfileIndices | ( | ) |
Determine indices in entire sample for this profile.
Definition at line 40 of file ProfileIndices.cc.
|
inline |
Return number of levels to which QC checks should be applied.
Definition at line 52 of file ProfileIndices.h.
|
inline |
Return indices for the current profile.
Definition at line 49 of file ProfileIndices.h.
|
inline |
Get number of current profile.
Definition at line 55 of file ProfileIndices.h.
|
private |
|
private |
Observations to apply the filter to.
Definition at line 75 of file ProfileIndices.h.
|
private |
Number of profile levels to which QC checks should be applied.
Definition at line 90 of file ProfileIndices.h.
|
private |
Observation database.
Definition at line 69 of file ProfileIndices.h.
|
private |
Configurable parameters.
Definition at line 72 of file ProfileIndices.h.
|
private |
Iterator over profile indices (used for sorting).
Definition at line 81 of file ProfileIndices.h.
|
private |
Iterator pointing to current profile index (initially points to beginning).
Definition at line 84 of file ProfileIndices.h.
|
private |
Indices for this profile.
Definition at line 87 of file ProfileIndices.h.
|
private |
Current profile number in the sample.
Definition at line 93 of file ProfileIndices.h.
|
private |
Profile numbers for the entire sample.
Definition at line 78 of file ProfileIndices.h.
|
private |
Next profile number to find in the sample.
Definition at line 96 of file ProfileIndices.h.
|
private |
Definition at line 99 of file ProfileIndices.h.