UFO
ufo::DataExtractorInputBase Struct Reference

Parts of the input data for the DataExtractor that don't depend on the type of the extracted values. More...

#include <DataExtractorInput.h>

Inheritance diagram for ufo::DataExtractorInputBase:

Public Types

typedef boost::variant< std::vector< int >, std::vector< float >, std::vector< std::string > > Coordinate
 A coordinate indexing a dimension of the payload array, i.e. the array from which a DataExtractor will extract data. More...
 
typedef std::unordered_map< std::string, CoordinateCoordinates
 A collection of named coordinate vectors. More...
 

Public Attributes

Coordinates coordsVals
 Coordinates indexing the payload array. More...
 
std::unordered_map< std::string, int > coord2DimMapping
 Maps coordinate names to dimensions (0 or 1) of the payload array. More...
 
std::vector< std::vector< std::string > > dim2CoordMapping
 Maps dimensions of the payload array (0 or 1) to coordinate names. More...
 

Detailed Description

Parts of the input data for the DataExtractor that don't depend on the type of the extracted values.

Note: the names of all coordinates are expected to be of the form Group/var (ioda-v2 style) rather than var@Group (ioda-v1 style).

Definition at line 26 of file DataExtractorInput.h.

Member Typedef Documentation

◆ Coordinate

typedef boost::variant<std::vector<int>, std::vector<float>, std::vector<std::string> > ufo::DataExtractorInputBase::Coordinate

A coordinate indexing a dimension of the payload array, i.e. the array from which a DataExtractor will extract data.

Definition at line 32 of file DataExtractorInput.h.

◆ Coordinates

typedef std::unordered_map<std::string, Coordinate> ufo::DataExtractorInputBase::Coordinates

A collection of named coordinate vectors.

Definition at line 34 of file DataExtractorInput.h.

Member Data Documentation

◆ coord2DimMapping

std::unordered_map<std::string, int> ufo::DataExtractorInputBase::coord2DimMapping

Maps coordinate names to dimensions (0 or 1) of the payload array.

Definition at line 40 of file DataExtractorInput.h.

◆ coordsVals

Coordinates ufo::DataExtractorInputBase::coordsVals

Coordinates indexing the payload array.

Definition at line 37 of file DataExtractorInput.h.

◆ dim2CoordMapping

std::vector<std::vector<std::string> > ufo::DataExtractorInputBase::dim2CoordMapping

Maps dimensions of the payload array (0 or 1) to coordinate names.

Definition at line 42 of file DataExtractorInput.h.


The documentation for this struct was generated from the following file: