#include <TimeLevelDataSliceFetcher.h>
Public Member Functions | |
TimeLevelDataSliceFetcher (boost::shared_ptr< CDMReader > cdmReader, const std::string &varName) | |
virtual | ~TimeLevelDataSliceFetcher () |
boost::shared_ptr< Data > | getTimeLevelSlice (size_t time, size_t level) throw (CDMException) |
MetNoFimex::TimeLevelDataSliceFetcher::TimeLevelDataSliceFetcher | ( | boost::shared_ptr< CDMReader > | cdmReader, | |
const std::string & | varName | |||
) |
initialize the Fetcher
cdmReader | the reader to fetch the original data from | |
varName | the variable to read the data from |
virtual MetNoFimex::TimeLevelDataSliceFetcher::~TimeLevelDataSliceFetcher | ( | ) | [virtual] |
boost::shared_ptr<Data> MetNoFimex::TimeLevelDataSliceFetcher::getTimeLevelSlice | ( | size_t | time, | |
size_t | level | |||
) | throw (CDMException) |
get the slice of time at position time and level at position level join unlimited dimensions if needed, slice data if needed
time | the position of the time according to the variables level-dimension | |
level | the position of the level according to the level-dimension |