bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
DDS/DODS request processing source. More...
#include <memory>
#include <libdap/InternalErr.h>
#include <BESDebug.h>
#include <libdap/mime_util.h>
#include "hdf5_handler.h"
#include "HDF5Int32.h"
#include "HDF5UInt32.h"
#include "HDF5UInt16.h"
#include "HDF5Int16.h"
#include "HDF5Byte.h"
#include "HDF5Array.h"
#include "HDF5Float32.h"
#include "HDF5Float64.h"
#include "HDF5Url.h"
#include "HDF5Structure.h"
#include "HDF5CFUtil.h"
Go to the source code of this file.
Functions | |
bool | depth_first (hid_t pid, const char *gname, DDS &dds, const char *fname) |
void | read_objects (DDS &dds_table, const string &varname, const string &filename) |
void | read_objects_base_type (DDS &dds_table, const string &varname, const string &filename) |
void | read_objects_structure (DDS &dds_table, const string &varname, const string &filename) |
DDS/DODS request processing source.
This file is part of h5_dap_handler, a C++ implementation of the DAP handler for HDF5 data.
This file contains functions which use depth-first search to walk through an HDF5 file and build the in-memory DDS.
Definition in file h5dds.cc.
will fill DDS table.
This function will walk through hdf5 gname group using the depth-first approach to obtain data information (data type and data pattern) of all hdf5 datasets and then put them into ithe dds table.
pid | group id |
gname | group name (the absolute path from the root group) |
dds | reference of DDS object |
fname | the HDF5 file name |
fills in information of a dataset (name, data type, data space) into one DDS table.
dds_table | Destination for the HDF5 objects. |
varname | Absolute name of an HDF5 dataset. |
filename | The HDF5 file name that maps to the DDS dataset name. |
error | a string of error message to the dods interface. |
fills in information of a dataset (name, data type, data space) into one DDS table.
Given a reference to an instance of class DDS, a filename that refers to an hdf5 file and an HDF5 dataset name, read hdf5 file and extract all the dimensions of the HDF5 dataset. Add the HDF5 dataset that maps to the DAP variable and its dimensions to the instance of DDS.
It will use dynamic cast to put necessary information into subclass of dods datatype.
dds_table | Destination for the HDF5 objects. |
varname | Absolute name of an HDF5 dataset. |
filename | The HDF5 dataset name that maps to the DDS dataset name. |
error | a string of error message to the dods interface. |
fills in information of a structure dataset (name, data type, data space) into a DDS table. HDF5 compound datatype will map to DAP structure.
dds_table | Destination for the HDF5 objects. |
varname | Absolute name of structure |
filename | The HDF5 file name that maps to the DDS dataset name. |
error | a string of error message to the dods interface. |