MI - Fimex
|
#include <fimex/CDMTimeInterpolator.h>
Public Member Functions | |
CDMTimeInterpolator (boost::shared_ptr< CDMReader > dataReader) | |
virtual | ~CDMTimeInterpolator () |
virtual DataPtr | getDataSlice (const std::string &varName, size_t unLimDimPos=0) |
retrieve data from the underlying dataReader and interpolate the values due to the current projection More... | |
virtual void | changeTimeAxis (std::string timeSpec) |
![]() | |
CDMReader () | |
virtual | ~CDMReader () |
virtual const CDM & | getCDM () const |
virtual CDM & | getInternalCDM () |
virtual std::vector< std::size_t > | getDims (std::string varName) |
Read the sizes of the dimensions belonging to a variable. More... | |
virtual std::vector< std::size_t > | getDimsSlice (std::string varName) |
Read the sizes of the dimensions belonging to a variable slice. More... | |
virtual DataPtr | getDataSlice (const std::string &varName, const SliceBuilder &sb) |
data-reading function to be called from the CDMWriter More... | |
virtual DataPtr | getData (const std::string &varName) |
data-reading function to be called from the CDMWriter More... | |
virtual DataPtr | getScaledDataSlice (const std::string &varName, size_t unLimDimPos) |
read and scale a dataslice More... | |
virtual DataPtr | getScaledDataSliceInUnit (const std::string &varName, const std::string &unit, size_t unLimDimPos) |
read and scale a dataslice to a known unit More... | |
virtual DataPtr | getScaledDataSlice (const std::string &varName, const SliceBuilder &sb) |
read and scale a dataslice More... | |
virtual DataPtr | getScaledDataSliceInUnit (const std::string &varName, const std::string &unit, const SliceBuilder &sb) |
read and scale a dataslice to a set unit More... | |
virtual DataPtr | getScaledData (const std::string &varName) |
read and scale the complete data More... | |
virtual DataPtr | getScaledDataInUnit (const std::string &varName, const std::string &unit) |
read and scale the complete data to a set unit More... | |
Additional Inherited Members | |
![]() | |
virtual DataPtr | getDataSliceFromMemory (const CDMVariable &variable, size_t unLimDimPos=0) |
void | getScaleAndOffsetOf (const std::string &varName, double &scale, double &offset) const |
![]() | |
boost::shared_ptr< CDM > | cdm_ |
MetNoFimex::CDMTimeInterpolator::CDMTimeInterpolator | ( | boost::shared_ptr< CDMReader > | dataReader | ) |
|
virtual |
|
virtual |
change the time-axis from from the one given to a new specification
timeSpec | string of time-specification |
CDMException | on unparsable timeSpec |
|
virtual |
retrieve data from the underlying dataReader and interpolate the values due to the current projection
varName | name of variable |
unLimDimPos | position of the unlimited dimension, most commonly time-position of the output as set in changeTimeAxis |
Implements MetNoFimex::CDMReader.