UFO
ufo::DataExtractorInput< ExtractedValue > Struct Template Reference

Input data for the DataExtractor. More...

#include <DataExtractorInput.h>

Inheritance diagram for ufo::DataExtractorInput< ExtractedValue >:
Collaboration diagram for ufo::DataExtractorInput< ExtractedValue >:

Public Attributes

boost::multi_array< ExtractedValue, 3 > payloadArray
 Array from which values will be extracted. More...
 
- Public Attributes inherited from ufo::DataExtractorInputBase
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...
 

Additional Inherited Members

- Public Types inherited from ufo::DataExtractorInputBase
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...
 

Detailed Description

template<typename ExtractedValue>
struct ufo::DataExtractorInput< ExtractedValue >

Input data for the DataExtractor.

Template Parameters
ExtractedValueType of the values to be extracted. Must be float, int or std::string.

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 53 of file DataExtractorInput.h.

Member Data Documentation

◆ payloadArray

template<typename ExtractedValue >
boost::multi_array<ExtractedValue, 3> ufo::DataExtractorInput< ExtractedValue >::payloadArray

Array from which values will be extracted.

Definition at line 55 of file DataExtractorInput.h.


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