#include <CDMExtractor.h>
Inheritance diagram for MetNoFimex::CDMExtractor:
Public Member Functions | |
CDMExtractor (boost::shared_ptr< CDMReader > dataReader) | |
virtual | ~CDMExtractor () |
virtual const boost::shared_ptr< Data > | getDataSlice (const std::string &varName, size_t unLimDimPos=0) throw (CDMException) |
data-reading function to be called from the CDMWriter | |
virtual void | removeVariable (std::string variable) throw (CDMException) |
Remove a variable from the CDM. | |
virtual void | reduceDimension (std::string dimName, size_t start, size_t length) throw (CDMException) |
Reduce a dimension of the file. | |
virtual void | reduceDimensionStartEnd (std::string dimName, size_t start=0, long end=0) throw (CDMException) |
Reduce a dimension of the file. | |
virtual void | changeDataType (std::string variable, CDMDataType datatype) throw (CDMException) |
change the datatype of the variable |
|
|
|
|
|
change the datatype of the variable a change of the variable will also change the datatype of the _FillValue attribute
|
|
data-reading function to be called from the CDMWriter This function needs to be implemented by the CDMReader. It should provide the data for each variable, either by reading from disk, converting from another CDMReader or reading from an in-memory data-section.
Implements MetNoFimex::CDMReader. |
|
Reduce a dimension of the file.
|
|
Reduce a dimension of the file.
|
|
Remove a variable from the CDM.
|