39#include <libdap/BaseType.h>
48#define FONC_EMBEDDED_SEPARATOR "."
49#define FONC_ATTRIBUTE_SEPARATOR "."
50#define FONC_ORIGINAL_NAME "fonc_original_name"
63 static nc_type
get_nc_type(libdap::BaseType *element,
bool isNC4_ENHANCED);
65 static FONcBaseType * convert(libdap::BaseType *v,
const string & version,
const bool classic_model);
67 static void handle_error(
int stax,
const string &err,
const string &file,
int line);
A DAP BaseType with file out netcdf information included.
Utilities used to help in the return of an OPeNDAP DataDDS object as a netcdf file.
static void handle_error(int stax, const string &err, const string &file, int line)
handle any netcdf errors
static string name_prefix
If a variable name, dimension name, or attribute name begins with a character that is not supported b...
static void reset()
Resets the FONc transformation for a new input and out file.
static nc_type get_nc_type(libdap::BaseType *element, bool isNC4_ENHANCED)
translate the OPeNDAP data type to a netcdf data type
static string id2netcdf(string in)
convert the provided string to a netcdf allowed identifier.
static string gen_name(const vector< string > &embed, const string &name, string &original)
generate a new name for the embedded variable