#include <NetcdfReporting.hpp>
Public Member Functions | |
NetcdfReporting (const std::string &fr_name) | |
bool | startHook () |
void | stopHook () |
Protected Attributes | |
int | dimsid |
RTT::marsh::MarshallInterface * | fbody |
RTT::marsh::MarshallInterface * | fheader |
int | ncid |
RTT::Property< std::string > | repfile |
A component which writes data reports to a netCDF file.
Definition at line 13 of file NetcdfReporting.hpp.
OCL::NetcdfReporting::NetcdfReporting | ( | const std::string & | fr_name | ) |
Definition at line 12 of file NetcdfReporting.cpp.
bool OCL::NetcdfReporting::startHook | ( | ) | [virtual] |
Create a new netcdf dataset in the NC_CLOBBER mode. This means that the nc_create function overwrites any existing dataset.
Create a new dimension to an open netcdf dataset, called time. Size NC_UNLIMITED indicates that the length of this dimension is undefined.
Leave define mode and enter data mode.
Reimplemented from OCL::ReportingComponent.
Definition at line 25 of file NetcdfReporting.cpp.
void OCL::NetcdfReporting::stopHook | ( | ) | [virtual] |
Close netcdf dataset
Reimplemented from OCL::ReportingComponent.
Definition at line 66 of file NetcdfReporting.cpp.
int OCL::NetcdfReporting::dimsid [protected] |
Dimension ID of unlimited dimension
Definition at line 30 of file NetcdfReporting.hpp.
RTT::marsh::MarshallInterface* OCL::NetcdfReporting::fbody [protected] |
Definition at line 33 of file NetcdfReporting.hpp.
RTT::marsh::MarshallInterface* OCL::NetcdfReporting::fheader [protected] |
Definition at line 32 of file NetcdfReporting.hpp.
int OCL::NetcdfReporting::ncid [protected] |
Netcdf ID
Definition at line 26 of file NetcdfReporting.hpp.
RTT::Property<std::string> OCL::NetcdfReporting::repfile [protected] |
File name of netCDF file.
Definition at line 21 of file NetcdfReporting.hpp.