37 #define RETURNAS_NETCDF "netcdf"
38 #define RETURNAS_NETCDF4 "netcdf-4"
63 BESDEBUG(
"fonc",
"FONcBaseType::define - defining "
67 if( stax != NC_NOERR )
69 string err = (string)
"fileout.netcdf - "
70 +
"Failed to define variable "
75 BESDEBUG(
"fonc",
"FONcBaseType::define - done defining "
106 BESDEBUG(
"fonc",
"FONcBaseType::setVersion: "
125 string err = (string)
"fileout.netcdf - "
126 +
"Failed to define netcdf version: variable "
virtual void clear_embedded()
Clears the list of embedded variable names.
virtual bool isNetCDF4()
Returns true if NetCDF4 features will be required.
virtual void define(int ncid)
Define the variable in the netcdf file.
static void handle_error(int stax, string &err, const string &file, int line)
handle any netcdf errors
static string gen_name(const vector< string > &embed, const string &name, string &original)
generate a new name for the embedded variable
#define BESDEBUG(x, y)
macro used to send debug information to the debug stream
virtual void convert(vector< string > embed)
virtual nc_type type()
Returns the type of data of this variable.
virtual void setVersion(string version)
Identifies variable with use of NetCDF4 features.