48 NcFile(
const std::string& filePath,
int ncFileFlags);
67 void create(
const std::string& filePath,
int ncFileFlags);
74 void open(
const std::string& filePath,
int ncFileFlags);
115 void set_Fill(
int fillmode,
int *old_modep);
Class represents a netCDF root group.
NcFile()
Constructor generates a null object.
NcFile(const std::string &filePath, int ncFileFlags)
Opens a netCDF file.
void sync()
Synchronize an open netcdf dataset to disk.
void enddef()
Leave define mode, used for classic model.
void open(const std::string &filePath, FileMode fMode)
Opens a netCDF file.
void set_Fill(int fillmode, int *old_modep)
Elect a fill parameter different that the one currently being used.
NcFile(const std::string &filePath, FileMode fMode)
Opens a netCDF file.
@ newFile
Create new file, fail if already exists.
@ read
File exists, open read-only.
@ write
File exists, open for writing.
@ replace
Create new file, even if already exists.
void open(const std::string &filePath, int ncFileFlags)
Opens a netCDF file.
void open(const std::string &filePath, FileMode fMode, FileFormat fFormat)
Creates a netCDF file of a specified format.
void close()
Close a file before destructor call.
void create(const std::string &filePath, int ncFileFlags)
Create a netCDF file.
NcFile(const std::string &filePath, FileMode fMode, FileFormat fFormat)
Creates a netCDF file of a specified format.
virtual ~NcFile()
destructor
void redef()
Redefine variable.
@ classic
Classic format, classic data model.
@ classic64
64-bit offset format, classic data model
@ nc4
(default) netCDF-4/HDF5 format, enhanced data model
@ nc4classic
netCDF-4/HDF5 format, classic data model
Class represents a netCDF group.