#include <GribApiCDMWriter_Impl2.h>
Public Member Functions | |
GribApiCDMWriter_Impl2 (const boost::shared_ptr< CDMReader > &cdmReader, const std::string &outputFile, const std::string &configFile) | |
virtual | ~GribApiCDMWriter_Impl2 () |
virtual void | setParameter (const std::string &varName, const FimexTime &fTime, double levelValue) throw (CDMException) |
virtual void | setProjection (const std::string &varName) throw (CDMException) |
virtual void | setLevel (const std::string &varName, double levelValue) |
virtual boost::shared_ptr< Data > | handleTypeScaleAndMissingData (const std::string &varName, const FimexTime &fTime, double levelValue, boost::shared_ptr< Data > inData) |
MetNoFimex::GribApiCDMWriter_Impl2::GribApiCDMWriter_Impl2 | ( | const boost::shared_ptr< CDMReader > & | cdmReader, | |
const std::string & | outputFile, | |||
const std::string & | configFile | |||
) |
virtual MetNoFimex::GribApiCDMWriter_Impl2::~GribApiCDMWriter_Impl2 | ( | ) | [virtual] |
virtual void MetNoFimex::GribApiCDMWriter_Impl2::setParameter | ( | const std::string & | varName, | |
const FimexTime & | fTime, | |||
double | levelValue | |||
) | throw (CDMException) [virtual] |
Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.
virtual void MetNoFimex::GribApiCDMWriter_Impl2::setProjection | ( | const std::string & | varName | ) | throw (CDMException) [virtual] |
set the projection parameters, throw an exception if none are available
varName |
CDMException | if parameters cannot be set |
Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.
virtual void MetNoFimex::GribApiCDMWriter_Impl2::setLevel | ( | const std::string & | varName, | |
double | levelValue | |||
) | [virtual] |
Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.
virtual boost::shared_ptr<Data> MetNoFimex::GribApiCDMWriter_Impl2::handleTypeScaleAndMissingData | ( | const std::string & | varName, | |
const FimexTime & | fTime, | |||
double | levelValue, | |||
boost::shared_ptr< Data > | inData | |||
) | [virtual] |
add the missing value to the gribHandle, rescale the data if needed and change the datatype if needed, change the missingValue of the data if need
Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.