|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Map and generate DDS and DAS for the CF option for generic HDF5 products. More...
#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <iostream>#include <sstream>#include <BESDebug.h>#include <InternalErr.h>#include "h5cfdaputil.h"#include "h5gmcfdap.h"#include "HDF5CFByte.h"#include "HDF5CFUInt16.h"#include "HDF5CFInt16.h"#include "HDF5CFUInt32.h"#include "HDF5CFInt32.h"#include "HDF5CFFloat32.h"#include "HDF5CFFloat64.h"#include "HDF5CFStr.h"#include "HDF5CFArray.h"#include "HDF5GMCFMissLLArray.h"#include "HDF5GMCFFillIndexArray.h"#include "HDF5GMCFMissNonLLCVArray.h"#include "HDF5GMCFSpecialCVArray.h"#include "HDF5GMSPCFArray.h"
Go to the source code of this file.
Macros | |
| #define | HANDLE_CASE(tid, type) |
| #define | HANDLE_CASE(tid, type) |
Functions | |
| void | gen_dap_onegmcvar_dds (DDS &dds, const HDF5CF::GMCVar *cvar, const hid_t file_id, const string &filename) |
| void | gen_dap_onegmspvar_dds (DDS &dds, const HDF5CF::GMSPVar *spvar, const hid_t fileid, const string &filename) |
| void | gen_gmh5_cfdas (DAS &das, HDF5CF::GMFile *f) |
| void | gen_gmh5_cfdds (DDS &dds, HDF5CF::GMFile *f) |
| void | map_gmh5_cfdas (DAS &das, hid_t file_id, const string &filename) |
| void | map_gmh5_cfdds (DDS &dds, hid_t file_id, const string &filename) |
| void | update_GPM_special_attrs (DAS &das, const HDF5CF::Var *var) |
Map and generate DDS and DAS for the CF option for generic HDF5 products.
Definition in file h5gmcfdap.cc.
| #define HANDLE_CASE | ( | tid, | |
| type | |||
| ) |
Referenced by gen_dap_onegmcvar_dds(), and gen_dap_onegmspvar_dds().
| #define HANDLE_CASE | ( | tid, | |
| type | |||
| ) |
| void gen_dap_onegmcvar_dds | ( | DDS & | dds, |
| const HDF5CF::GMCVar * | cvar, | ||
| const hid_t | file_id, | ||
| const string & | filename | ||
| ) |
Definition at line 352 of file h5gmcfdap.cc.
References CV_EXIST, CV_FILLINDEX, CV_LAT_MISS, CV_LON_MISS, CV_MODIFY, CV_NONLATLON_MISS, CV_SPECIAL, HDF5CF::CVar::getCVType(), HDF5CF::Var::getDimensions(), HDF5CF::Var::getFullPath(), HDF5CF::Var::getNewName(), HDF5CF::GMCVar::getPtType(), HDF5CF::Var::getRank(), HDF5CF::Var::getType(), H5CHAR, H5FLOAT32, H5FLOAT64, H5FSTRING, H5INT16, H5INT32, H5UCHAR, H5UINT16, H5UINT32, H5VSTRING, HANDLE_CASE, and NULL.
Referenced by gen_gmh5_cfdds().

| void gen_dap_onegmspvar_dds | ( | DDS & | dds, |
| const HDF5CF::GMSPVar * | spvar, | ||
| const hid_t | fileid, | ||
| const string & | filename | ||
| ) |
Definition at line 563 of file h5gmcfdap.cc.
References HDF5CF::GMSPVar::getBitNum(), HDF5CF::Var::getDimensions(), HDF5CF::Var::getFullPath(), HDF5CF::Var::getNewName(), HDF5CF::GMSPVar::getOriginalType(), HDF5CF::Var::getRank(), HDF5CF::GMSPVar::getStartBit(), HDF5CF::Var::getType(), H5CHAR, H5FLOAT32, H5FLOAT64, H5FSTRING, H5INT16, H5INT32, H5UCHAR, H5UINT16, H5UINT32, H5VSTRING, HANDLE_CASE, and NULL.
Referenced by gen_gmh5_cfdds().

| void gen_gmh5_cfdas | ( | DAS & | das, |
| HDF5CF::GMFile * | f | ||
| ) |
Definition at line 252 of file h5gmcfdap.cc.
References BESDEBUG, gen_dap_oneobj_das(), HDF5CF::File::getAttributes(), HDF5CF::GMFile::getCVars(), HDF5CF::File::getGroups(), HDF5CF::GMFile::getProductType(), HDF5CF::GMFile::getSPVars(), HDF5CF::File::getVars(), GPM_L1, GPMM_L3, GPMS_L3, NULL, and update_GPM_special_attrs().
Referenced by map_gmh5_cfdas().

| void gen_gmh5_cfdds | ( | DDS & | dds, |
| HDF5CF::GMFile * | f | ||
| ) |
Definition at line 220 of file h5gmcfdap.cc.
References BESDEBUG, gen_dap_onegmcvar_dds(), gen_dap_onegmspvar_dds(), gen_dap_onevar_dds(), HDF5CF::GMFile::getCVars(), HDF5CF::File::getFileID(), HDF5CF::File::getPath(), HDF5CF::GMFile::getSPVars(), and HDF5CF::File::getVars().
Referenced by map_gmh5_cfdds().

| void map_gmh5_cfdas | ( | DAS & | das, |
| hid_t | file_id, | ||
| const string & | filename | ||
| ) |
Definition at line 144 of file h5gmcfdap.cc.
References HDF5CF::GMFile::Add_Dim_Name(), HDF5CF::GMFile::Add_Supplement_Attrs(), HDF5CF::GMFile::Adjust_Obj_Name(), BESDEBUG, HDF5CFDAPUtil::check_beskeys(), check_product(), HDF5CF::GMFile::Flatten_Obj_Name(), gen_gmh5_cfdas(), General_Product, HDF5CF::GMFile::Handle_Coor_Attr(), HDF5CF::GMFile::Handle_CVar(), HDF5CF::GMFile::Handle_Obj_NameClashing(), HDF5CF::GMFile::Handle_SpVar(), HDF5CF::GMFile::Handle_Unsupported_Dspace(), HDF5CF::GMFile::Handle_Unsupported_Dtype(), NULL, OTHERGMS, HDF5CF::GMFile::Retrieve_H5_Info(), HDF5CF::GMFile::Retrieve_H5_Supported_Attr_Values(), and HDF5CF::Exception::what().
Referenced by read_cfdas().

| void map_gmh5_cfdds | ( | DDS & | dds, |
| hid_t | file_id, | ||
| const string & | filename | ||
| ) |
Definition at line 62 of file h5gmcfdap.cc.
References HDF5CF::GMFile::Add_Dim_Name(), HDF5CF::GMFile::Adjust_Dim_Name(), HDF5CF::GMFile::Adjust_Obj_Name(), BESDEBUG, HDF5CFDAPUtil::check_beskeys(), check_product(), HDF5CF::GMFile::Flatten_Obj_Name(), gen_gmh5_cfdds(), General_Product, HDF5CF::GMFile::Handle_CVar(), HDF5CF::GMFile::Handle_DimNameClashing(), HDF5CF::GMFile::Handle_Obj_NameClashing(), HDF5CF::GMFile::Handle_SpVar(), HDF5CF::GMFile::Handle_Unsupported_Dspace(), HDF5CF::GMFile::Handle_Unsupported_Dtype(), NULL, OTHERGMS, HDF5CF::GMFile::Retrieve_H5_Info(), and HDF5CF::Exception::what().
Referenced by read_cfdds().

| void update_GPM_special_attrs | ( | DAS & | das, |
| const HDF5CF::Var * | var | ||
| ) |
Definition at line 632 of file h5gmcfdap.cc.
References HDF5CF::Var::getNewName(), HDF5CF::Var::getType(), H5CHAR, H5FLOAT32, H5FLOAT64, H5INT16, and NULL.
Referenced by gen_gmh5_cfdas().
