MetNoFimex::NetCDF_CDMWriter Class Reference

#include <NetCDF_CDMWriter.h>

Inheritance diagram for MetNoFimex::NetCDF_CDMWriter:

MetNoFimex::CDMWriter

List of all members.

Public Member Functions

 NetCDF_CDMWriter (const boost::shared_ptr< CDMReader > cdmReader, const std::string &outputFile, std::string configFile="", int version=3)
virtual ~NetCDF_CDMWriter ()
const std::stringgetVariableName (const std::string &varName) const
const std::stringgetDimensionName (const std::string &dimName) const
const CDMAttributegetAttribute (const std::string &varName, const std::string &attName) const throw (CDMException)


Constructor & Destructor Documentation

MetNoFimex::NetCDF_CDMWriter::NetCDF_CDMWriter ( const boost::shared_ptr< CDMReader cdmReader,
const std::string outputFile,
std::string  configFile = "",
int  version = 3 
)

Parameters:
cdmReader dataSource
outputFile file-name to write to
configFile xml-configuration
netcdf version, can be 3 or 4; 4 requires compilation against netcdf-4.0 or higher

virtual MetNoFimex::NetCDF_CDMWriter::~NetCDF_CDMWriter (  )  [virtual]


Member Function Documentation

const std::string& MetNoFimex::NetCDF_CDMWriter::getVariableName ( const std::string varName  )  const

Warning:
only public for testing
Returns:
the new name of a variable, eventually changed by the writers config

const std::string& MetNoFimex::NetCDF_CDMWriter::getDimensionName ( const std::string dimName  )  const

Warning:
only public for testing
Returns:
the new name of a dimension, eventually changed by the writers config

const CDMAttribute& MetNoFimex::NetCDF_CDMWriter::getAttribute ( const std::string varName,
const std::string attName 
) const throw (CDMException)

Warning:
only public for testing
Parameters:
varName original variable name (before config: newname)
attName original attribute name (before config: newname)
Returns:
an attribute contained in the writers attribute, possibly added by config


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

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