MetNoFimex::GribApiCDMWriter_Impl2 Class Reference

#include <GribApiCDMWriter_Impl2.h>

Inheritance diagram for MetNoFimex::GribApiCDMWriter_Impl2:

MetNoFimex::GribApiCDMWriter_ImplAbstract MetNoFimex::CDMWriter

List of all members.

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< DatahandleTypeScaleAndMissingData (const std::string &varName, const FimexTime &fTime, double levelValue, boost::shared_ptr< Data > inData)


Detailed Description

Implemenationn of a writer using GribApi for grib2

Constructor & Destructor Documentation

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]


Member Function Documentation

virtual void MetNoFimex::GribApiCDMWriter_Impl2::setParameter ( const std::string varName,
const FimexTime fTime,
double  levelValue 
) throw (CDMException) [virtual]

virtual void MetNoFimex::GribApiCDMWriter_Impl2::setProjection ( const std::string varName  )  throw (CDMException) [virtual]

set the projection parameters, throw an exception if none are available

Parameters:
varName 
Exceptions:
CDMException if parameters cannot be set

Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.

virtual void MetNoFimex::GribApiCDMWriter_Impl2::setLevel ( const std::string varName,
double  levelValue 
) [virtual]

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

Returns:
modified data

Implements MetNoFimex::GribApiCDMWriter_ImplAbstract.


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

Generated on Fri May 7 15:50:16 2010 for MI - Fimex by  doxygen 1.5.5