24 #ifndef NETCDF_CDMWRITER_H_ 25 #define NETCDF_CDMWRITER_H_ 81 void testVariableExists(
const std::string& varName);
83 NcDimIdMap defineDimensions();
84 NcVarIdMap defineVariables(
const NcDimIdMap& dimMap);
85 void writeAttributes(
const NcVarIdMap& varMap);
86 void writeData(
const NcVarIdMap& varMap);
Definition: CDMWriter.h:37
basic_string< char > string
boost::shared_ptr< CDMReader > cdmReader
Definition: CDMWriter.h:45
virtual ~NetCDF_CDMWriter()
Definition: NetCDF_CDMWriter.h:38
Data structure of the Common Data Model.
Definition: CDM.h:54
const std::string & getVariableName(const std::string &varName) const
const std::string & getDimensionName(const std::string &dimName) const
Definition: C_CDMReader.h:35
Definition: CDMAttribute.h:43
const CDMAttribute & getAttribute(const std::string &varName, const std::string &attName) const
const std::string outputFile
Definition: CDMWriter.h:46
NetCDF_CDMWriter(const boost::shared_ptr< CDMReader > cdmReader, const std::string &outputFile, std::string configFile="", int version=3)