32 const std::string&
name,
33 const std::vector<ioda::Variable>& dimensions,
34 const std::vector<ioda::Dimensions_t>&
chunks,
35 int compressionLevel)
final;
38 void print() const final;
41 size_t nrows() const final;
44 size_t ncols() const final;
57 const std::vector<ioda::Dimensions_t>&
chunks,
58 int compressionLevel);
Abstract base class for intermediate data object that bridges the Parsers with the IodaEncoder.
Container for data that can be expressed as lists of strings.
const std::vector< std::string > strVector_
The data.
void print() const final
Print data to stdout for debug purposes.
StrVecDataObject(const std::vector< std::string > &strVector)
static ioda::VariableCreationParameters makeCreationParams(const std::vector< ioda::Dimensions_t > &chunks, int compressionLevel)
Create an ioda::VariableCreationParameters for the data.
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) final
Makes an ioda::Variable and ads it to the given ioda::ObsGroup.
size_t ncols() const final
Get the number of columns represented in the data.
size_t nrows() const final
Get the number of rows represented in the data.
std::vector< std::string > get() const
~StrVecDataObject()=default
An ObsGroup is a specialization of a ioda::Group. It provides convenience functions and guarantees th...
Used to specify Variable creation-time properties.