33#ifndef _HDF5CFDAPUtil_H
34#define _HDF5CFDAPUtil_H
39#include <TheBESKeys.h>
41#include <libdap/D4Attributes.h>
43const size_t NC_JAVA_STR_SIZE_LIMIT=32767;
49 static H5DataType get_mem_dtype(H5DataType,
size_t);
50 static string print_type(H5DataType h5type);
51 static string print_attr(H5DataType h5type,
unsigned int loc,
void *vals);
52 static void replace_double_quote(
string &str);
60 static string escattr(
string s);
63 static string octstring(
unsigned char val);
68 static D4AttributeType print_type_dap4(H5DataType h5type);
This file includes several helper functions for translating HDF5 to CF-compliant.
static string escattr(string s)
static D4AttributeType daptype_strrep_to_dap4_attrtype(const string &s)
static string octstring(unsigned char val)
Helper function for escattr.