|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <cstdlib>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <string>#include <mime_util.h>#include <InternalErr.h>#include <Ancillary.h>#include <debug.h>#include "HDF4RequestHandler.h"#include <BESResponseNames.h>#include <BESDapNames.h>#include <BESDASResponse.h>#include <BESDDSResponse.h>#include <BESDataDDSResponse.h>#include <BESInfo.h>#include <BESResponseHandler.h>#include <BESVersionInfo.h>#include <BESServiceRegistry.h>#include <BESUtil.h>#include <TheBESKeys.h>#include <BESInternalError.h>#include <BESDapError.h>#include "config_hdf.h"#include "HE2CF.h"#include "HDF4_DDS.h"#include "HDFCFUtil.h"
Go to the source code of this file.
Macros | |
| #define | HDF4_NAME "h4" |
Functions | |
| void | close_hdf4_fileid (const int sdfd, const int fileid, HDFSP::File *h4file) |
| void | read_das (DAS &das, const string &filename) |
| bool | read_das_hdfsp (DAS &das, const string &filename, int32 sdfd, int32 fileid, HDFSP::File **h4fileptr) |
| void | read_dds (DDS &dds, const string &filename) |
| bool | read_dds_hdfsp (DDS &dds, const string &filename, int32 sdfd, int32 fileid, HDFSP::File *h4file) |
| #define HDF4_NAME "h4" |
Definition at line 67 of file HDF4RequestHandler.cc.
Referenced by HDF4RequestHandler::hdf4_build_help().
| void close_hdf4_fileid | ( | const int | sdfd, |
| const int | fileid, | ||
| HDFSP::File * | h4file | ||
| ) |
Definition at line 1163 of file HDF4RequestHandler.cc.
References NULL.
Referenced by HDF4RequestHandler::hdf4_build_das(), HDF4RequestHandler::hdf4_build_data(), HDF4RequestHandler::hdf4_build_data_with_IDs(), and HDF4RequestHandler::hdf4_build_dds().
| void read_das | ( | DAS & | das, |
| const string & | filename | ||
| ) |
Definition at line 3913 of file hdfdesc.cc.
References basename(), NULL, and THROW.
Referenced by HDF4RequestHandler::hdf4_build_das(), HDF4RequestHandler::hdf4_build_data(), and HDF4RequestHandler::hdf4_build_dds().

| bool read_das_hdfsp | ( | DAS & | das, |
| const string & | filename, | ||
| int32 | sdfd, | ||
| int32 | fileid, | ||
| HDFSP::File ** | h4fileptr | ||
| ) |
Definition at line 2251 of file hdfdesc.cc.
References HDFCFUtil::add_missing_cf_attrs(), HDFCFUtil::add_obpg_special_attrs(), BESDEBUG, CER_AVG, CER_ES4, CER_SRB, CER_ZAVG, HDFCFUtil::check_beskeys(), HDFCFUtil::check_obpg_global_attrs(), HDFCFUtil::correct_fvalue_type(), HDFCFUtil::correct_scale_offset_type(), HDFCFUtil::escattr(), HDFSP::SD::getAttributes(), HDFSP::SD::getFields(), HDFSP::File::getSD(), HDFSP::File::getSPType(), HDFSP::File::getVgattrs(), HDFCFUtil::handle_merra_ceres_attrs_with_bes_keys(), HDFCFUtil::handle_otherhdf_special_attrs(), HDFCFUtil::handle_vdata_attrs_with_desc_key(), HDFSP::File::Has_Dim_NoScale_Field(), hdfeos_delete_buffer(), hdfeos_string(), hdfeosparse(), NULL, OTHERHDF, HDFSP::File::Prepare(), HDFCFUtil::print_attr(), HDFCFUtil::print_type(), HDFSP::File::Read(), BESLog::TheLog(), TRMML2_V6, TRMML2_V7, TRMML3M_V7, TRMML3S_V7, and HDFSP::Exception::what().
Referenced by HDF4RequestHandler::hdf4_build_das(), HDF4RequestHandler::hdf4_build_data(), HDF4RequestHandler::hdf4_build_data_with_IDs(), and HDF4RequestHandler::hdf4_build_dds().

| void read_dds | ( | DDS & | dds, |
| const string & | filename | ||
| ) |
Definition at line 3900 of file hdfdesc.cc.
References basename(), and THROW.
Referenced by HDF4RequestHandler::hdf4_build_data(), and HDF4RequestHandler::hdf4_build_dds().

| bool read_dds_hdfsp | ( | DDS & | dds, |
| const string & | filename, | ||
| int32 | sdfd, | ||
| int32 | fileid, | ||
| HDFSP::File * | h4file | ||
| ) |
Definition at line 2158 of file hdfdesc.cc.
References basename(), BESDEBUG, CER_AVG, CER_ES4, CER_SRB, CER_ZAVG, HDFCFUtil::check_beskeys(), HDFSP::SD::getFields(), HDFSP::File::getSD(), HDFSP::File::getSPType(), HDFSP::File::getVDATAs(), HDFSP::File::Has_Dim_NoScale_Field(), HDFSP::File::Prepare(), HDFSP::File::Read(), read_dds_spfields(), read_dds_spvdfields(), and HDFSP::Exception::what().
Referenced by HDF4RequestHandler::hdf4_build_data(), HDF4RequestHandler::hdf4_build_data_with_IDs(), and HDF4RequestHandler::hdf4_build_dds().
