UFO
|
Parts of the input data for the DataExtractor that don't depend on the type of the extracted values. More...
#include <DataExtractorInput.h>
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, Coordinate > | Coordinates |
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... | |
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.
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.
typedef std::unordered_map<std::string, Coordinate> ufo::DataExtractorInputBase::Coordinates |
A collection of named coordinate vectors.
Definition at line 34 of file DataExtractorInput.h.
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.
Coordinates ufo::DataExtractorInputBase::coordsVals |
Coordinates indexing the payload array.
Definition at line 37 of file DataExtractorInput.h.
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.