# MI - Fimex: MetNoFimex::CDMTimeInterpolator Class Reference

# MetNoFimex::CDMTimeInterpolator Class Reference

`#include <CDMTimeInterpolator.h>`

Inheritance diagram for MetNoFimex::CDMTimeInterpolator:

List of all members.

## Public Member Functions

| CDMTimeInterpolator (boost::shared_ptr< CDMReader > dataReader)
virtual | ~CDMTimeInterpolator ()
virtual boost::shared_ptr< Data > | getDataSlice (const std::string &varName, size_t unLimDimPos=0) throw (CDMException)
| retrieve data from the underlying dataReader and interpolate the values due to the current projection
virtual void | changeTimeAxis (std::string timeSpec) throw (CDMException)

## Constructor & Destructor Documentation

MetNoFimex::CDMTimeInterpolator::CDMTimeInterpolator | ( | boost::shared_ptr< CDMReader > | dataReader | ) |

virtual MetNoFimex::CDMTimeInterpolator::~CDMTimeInterpolator | ( |  | ) | `[virtual]`

## Member Function Documentation

virtual boost::shared_ptr<Data> MetNoFimex::CDMTimeInterpolator::getDataSlice | ( | const std::string & | varName,
|  | size_t | unLimDimPos = `0` |
| ) |  |  | throw (CDMException)`[virtual]`

retrieve data from the underlying dataReader and interpolate the values due to the current projection

Parameters:

  | varName | name of variable
  | size_t | unLimDimPos position of the unlimited dimension, most commonly time-position of the output as set in changeTimeAxis

virtual void MetNoFimex::CDMTimeInterpolator::changeTimeAxis | ( | std::string | timeSpec | ) | throw (CDMException)`[virtual]`

change the time-axis from from the one given to a new specification

Parameters:

  | timeSpec | string of time-specification

Exceptions:

  | CDMException | on unparsable timeSpec

See also:
  secTimeSpec

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

- include/fimex/CDMTimeInterpolator.h