34 #include <InternalErr.h>
36 #include <mime_util.h>
44 void read_cfdds(DDS & dds,
const string &filename,hid_t myfile_id) {
46 BESDEBUG(
"h5",
"Coming to CF DDS read function read_cfdds "<<endl);
48 dds.set_dataset_name(name_path(filename));
50 hid_t fileid = myfile_id;
54 fileid = H5Fopen(filename.c_str(),H5F_ACC_RDONLY,H5P_DEFAULT);
57 "h5_cf_dds handler: Cannot open the HDF5 file ";
59 throw InternalErr(__FILE__, __LINE__, msg);
83 void read_cfdas(DAS & das,
const string &filename,hid_t myfile_id) {
85 BESDEBUG(
"h5",
"Coming to CF DAS read function read_cfdas "<<endl);
86 hid_t fileid = myfile_id;
90 fileid = H5Fopen(filename.c_str(),H5F_ACC_RDONLY,H5P_DEFAULT);
93 "h5_cf_das handler: Cannot open the HDF5 file ";
95 throw InternalErr(__FILE__, __LINE__, msg);
void map_gmh5_cfdds(DDS &dds, hid_t file_id, const string &filename)
The main wrapper of headers of the HDF5 OPeNDAP handler for the CF option.
void read_cfdds(DDS &, const string &, hid_t)
void read_cfdas(DAS &, const string &, hid_t)
H5CFModule check_module(hid_t fileid)
void map_eos5_cfdas(DAS &das, hid_t file_id, const string &filename)
void map_gmh5_cfdas(DAS &das, hid_t file_id, const string &filename)
void map_eos5_cfdds(DDS &dds, hid_t file_id, const string &filename)
#define BESDEBUG(x, y)
macro used to send debug information to the debug stream