IODA Bundle
Ingester::DataObject Class Referenceabstract

Abstract base class for intermediate data object that bridges the Parsers with the IodaEncoder. More...

#include <DataObject.h>

Inheritance diagram for Ingester::DataObject:
[legend]

Public Member Functions

virtual ioda::Variable createVariable (ioda::ObsGroup &obsGroup, const std::string &name, const std::vector< ioda::Variable > &dimensions, const std::vector< ioda::Dimensions_t > &chunks, int compressionLevel)=0
 Makes an ioda::Variable and ads it to the given ioda::ObsGroup. More...
 
virtual void print () const =0
 Print data to stdout for debug purposes. More...
 
virtual size_t ncols () const =0
 Get number of columns represented in the data. More...
 
virtual size_t nrows () const =0
 Get number of rows represented in the data. More...
 

Detailed Description

Abstract base class for intermediate data object that bridges the Parsers with the IodaEncoder.

Definition at line 20 of file DataObject.h.

Member Function Documentation

◆ createVariable()

virtual ioda::Variable Ingester::DataObject::createVariable ( ioda::ObsGroup obsGroup,
const std::string &  name,
const std::vector< ioda::Variable > &  dimensions,
const std::vector< ioda::Dimensions_t > &  chunks,
int  compressionLevel 
)
pure virtual

Makes an ioda::Variable and ads it to the given ioda::ObsGroup.

Parameters
obsGroupObsgroup were to add the variable
nameThe name to associate with the variable (ex "latitude@MetaData")
dimensionsList of Variables to use as the dimensions for this new variable
chunksList of integers specifying the chunking dimensions
compressionLevelThe GZip compression level to use, must be 0-9

Implemented in Ingester::StrVecDataObject, and Ingester::ArrayDataObject.

◆ ncols()

virtual size_t Ingester::DataObject::ncols ( ) const
pure virtual

Get number of columns represented in the data.

Implemented in Ingester::StrVecDataObject, and Ingester::ArrayDataObject.

◆ nrows()

virtual size_t Ingester::DataObject::nrows ( ) const
pure virtual

Get number of rows represented in the data.

Implemented in Ingester::StrVecDataObject, and Ingester::ArrayDataObject.

◆ print()

virtual void Ingester::DataObject::print ( ) const
pure virtual

Print data to stdout for debug purposes.

Implemented in Ingester::StrVecDataObject, and Ingester::ArrayDataObject.


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