bes
Updated for version 3.20.6
|
32 #ifndef FONcBaseType_h_
33 #define FONcBaseType_h_ 1
43 #define RETURNAS_NETCDF "netcdf"
44 #define RETURNAS_NETCDF4 "netcdf-4"
62 std::string _orig_varname;
63 std::vector<std::string> _embed;
65 std::string _ncVersion;
72 virtual void convert(std::vector<std::string> embed);
73 virtual void define(
int ncid);
74 virtual void write(
int ) { }
76 virtual std::string name() = 0;
77 virtual nc_type
type();
79 virtual int varid()
const {
return _varid; }
81 virtual void dump(std::ostream &strm)
const = 0;
88 #endif // FONcBaseType_h_
virtual void define(int ncid)
Define the variable in the netcdf file.
virtual void dump(std::ostream &strm) const =0
dump the contents of this object to the specified ostream
virtual nc_type type()
Returns the type of data of this variable.
virtual void clear_embedded()
Clears the list of embedded variable names.
top level BES object to house generic methods
A DAP BaseType with file out netcdf information included.
virtual bool isNetCDF4()
Returns true if NetCDF4 features will be required.
virtual void setVersion(std::string version)
Identifies variable with use of NetCDF4 features.