#include <NcmlCDMReader.h>
Public Member Functions | |
NcmlCDMReader (std::string configFile) throw (CDMException) | |
NcmlCDMReader (const boost::shared_ptr< CDMReader > dataReader, std::string configFile) throw (CDMException) | |
virtual | ~NcmlCDMReader () |
virtual boost::shared_ptr< Data > | getDataSlice (const std::string &varName, size_t unLimDimPos=0) throw (CDMException) |
In the case of a real reader, the ncml-configuration file needs to have the 'location' field set, which must point to a netcdf-file readable by NetCDF_CF10_CDMReader
The configuration file must be a standard ncml-file (versionn 2.2) as defined by http://www.unidata.ucar.edu/software/netcdf/ncml/.
MetNoFimex::NcmlCDMReader::NcmlCDMReader | ( | std::string | configFile | ) | throw (CDMException) |
MetNoFimex::NcmlCDMReader::NcmlCDMReader | ( | const boost::shared_ptr< CDMReader > | dataReader, | |
std::string | configFile | |||
) | throw (CDMException) |
cdmReader | a file reader opened elsewhere | |
configFile | ncml-file with location set |
CDMException |
virtual MetNoFimex::NcmlCDMReader::~NcmlCDMReader | ( | ) | [virtual] |
virtual boost::shared_ptr<Data> MetNoFimex::NcmlCDMReader::getDataSlice | ( | const std::string & | varName, | |
size_t | unLimDimPos = 0 | |||
) | throw (CDMException) [virtual] |
reading the data from the required source
Implements MetNoFimex::CDMReader.