UFO
ufo::DataExtractorBackend< ExtractedValue > Class Template Referenceabstract

Provides data to the DataExtractor. More...

#include <DataExtractorBackend.h>

Inheritance diagram for ufo::DataExtractorBackend< ExtractedValue >:

Public Member Functions

virtual ~DataExtractorBackend ()=default
 
virtual DataExtractorInput< ExtractedValue > loadData (const std::string &payloadGroup) const =0
 Load data for subsequent extraction. More...
 

Detailed Description

template<typename ExtractedValue>
class ufo::DataExtractorBackend< ExtractedValue >

Provides data to the DataExtractor.

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

Definition at line 25 of file DataExtractorBackend.h.

Constructor & Destructor Documentation

◆ ~DataExtractorBackend()

template<typename ExtractedValue >
virtual ufo::DataExtractorBackend< ExtractedValue >::~DataExtractorBackend ( )
virtualdefault

Member Function Documentation

◆ loadData()

template<typename ExtractedValue >
virtual DataExtractorInput<ExtractedValue> ufo::DataExtractorBackend< ExtractedValue >::loadData ( const std::string &  payloadGroup) const
pure virtual

Load data for subsequent extraction.

Parameters
payloadGroupGroup (e.g. ObsBias or ErrorVariance) containing the payload variable, i.e. the variable that will be interpolated. The data source must contain exactly one variable from this group.
Returns
An object encapsulating the payload variable, all coordinates indexing it and the mapping between dimensions of the payload array and coordinates.

Implemented in ufo::DataExtractorNetCDFBackend< ExtractedValue >, and ufo::DataExtractorCSVBackend< ExtractedValue >.


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