bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
h5gmcfdap.cc File Reference

Map and generate DDS and DAS for the CF option for generic HDF5 products. More...

#include <fcntl.h>
#include <iostream>
#include <BESDebug.h>
#include <libdap/InternalErr.h>
#include "HDF5RequestHandler.h"
#include "h5cfdaputil.h"
#include "h5gmcfdap.h"
#include "HDF5CFInt8.h"
#include "HDF5CFByte.h"
#include "HDF5CFUInt16.h"
#include "HDF5CFInt16.h"
#include "HDF5CFUInt32.h"
#include "HDF5CFInt32.h"
#include "HDF5CFInt64.h"
#include "HDF5CFUInt64.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"
Include dependency graph for h5gmcfdap.cc:

Go to the source code of this file.

Macros

#define HANDLE_CASE(tid, type)
 
#define HANDLE_CASE(tid, type)
 
#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_onegmcvar_dmr (D4Group *d4_root, const GMCVar *cvar, const hid_t fileid, const string &filename)
 
void gen_dap_onegmspvar_dds (DDS &dds, const HDF5CF::GMSPVar *spvar, const hid_t fileid, const string &filename)
 
void gen_dap_onegmspvar_dmr (D4Group *d4_root, const GMSPVar *spvar, const hid_t fileid, const string &filename)
 
void gen_gmh5_cf_ignored_obj_info (DAS &das, HDF5CF::GMFile *f)
 
void gen_gmh5_cfdas (DAS &das, HDF5CF::GMFile *f)
 
void gen_gmh5_cfdds (DDS &dds, HDF5CF::GMFile *f)
 
void gen_gmh5_cfdmr (D4Group *d4_root, const 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 map_gmh5_cfdmr (D4Group *d4_root, hid_t file_id, const string &filename)
 
void update_GPM_special_attrs (DAS &das, const HDF5CF::Var *var, bool is_cvar)
 
void update_GPM_special_attrs_cfdmr (libdap::D4Group *d4_root, const vector< HDF5CF::GMCVar * > &cvars)
 

Detailed Description

Map and generate DDS and DAS for the CF option for generic HDF5 products.

Author
Kent Yang myang.nosp@m.6@hd.nosp@m.fgrou.nosp@m.p.or.nosp@m.g

Definition in file h5gmcfdap.cc.

Macro Definition Documentation

◆ HANDLE_CASE [1/4]

#define HANDLE_CASE ( tid,
type )
Value:
case tid: \
bt = new (type)(cvar->getNewName(),cvar->getFullPath()); \
break;

◆ HANDLE_CASE [2/4]

#define HANDLE_CASE ( tid,
type )
Value:
case tid: \
bt = new (type)(spvar->getNewName(),spvar->getFullPath()); \
break;

◆ HANDLE_CASE [3/4]

#define HANDLE_CASE ( tid,
type )
Value:
case tid: \
bt = new (type)(cvar->getNewName(),cvar->getFullPath()); \
break;

◆ HANDLE_CASE [4/4]

#define HANDLE_CASE ( tid,
type )
Value:
case tid: \
bt = new (type)(spvar->getNewName(),spvar->getFullPath()); \
break;

Function Documentation

◆ gen_dap_onegmcvar_dds()

void gen_dap_onegmcvar_dds ( DDS & dds,
const HDF5CF::GMCVar * cvar,
const hid_t file_id,
const string & filename )

Definition at line 817 of file h5gmcfdap.cc.

◆ gen_dap_onegmcvar_dmr()

void gen_dap_onegmcvar_dmr ( D4Group * d4_root,
const GMCVar * cvar,
const hid_t fileid,
const string & filename )

Definition at line 1241 of file h5gmcfdap.cc.

◆ gen_dap_onegmspvar_dds()

void gen_dap_onegmspvar_dds ( DDS & dds,
const HDF5CF::GMSPVar * spvar,
const hid_t fileid,
const string & filename )

Definition at line 1017 of file h5gmcfdap.cc.

◆ gen_dap_onegmspvar_dmr()

void gen_dap_onegmspvar_dmr ( D4Group * d4_root,
const GMSPVar * spvar,
const hid_t fileid,
const string & filename )

Definition at line 1456 of file h5gmcfdap.cc.

◆ gen_gmh5_cf_ignored_obj_info()

void gen_gmh5_cf_ignored_obj_info ( DAS & das,
HDF5CF::GMFile * f )

Definition at line 805 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdas()

void gen_gmh5_cfdas ( DAS & das,
HDF5CF::GMFile * f )

Definition at line 445 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdds()

void gen_gmh5_cfdds ( DDS & dds,
HDF5CF::GMFile * f )

Definition at line 391 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdmr()

void gen_gmh5_cfdmr ( D4Group * d4_root,
const HDF5CF::GMFile * f )

Definition at line 632 of file h5gmcfdap.cc.

◆ map_gmh5_cfdas()

void map_gmh5_cfdas ( DAS & das,
hid_t file_id,
const string & filename )

Definition at line 189 of file h5gmcfdap.cc.

◆ map_gmh5_cfdds()

void map_gmh5_cfdds ( DDS & dds,
hid_t file_id,
const string & filename )

Definition at line 65 of file h5gmcfdap.cc.

◆ map_gmh5_cfdmr()

void map_gmh5_cfdmr ( D4Group * d4_root,
hid_t file_id,
const string & filename )

Definition at line 270 of file h5gmcfdap.cc.

◆ update_GPM_special_attrs()

void update_GPM_special_attrs ( DAS & das,
const HDF5CF::Var * var,
bool is_cvar )

Definition at line 1083 of file h5gmcfdap.cc.

◆ update_GPM_special_attrs_cfdmr()

void update_GPM_special_attrs_cfdmr ( libdap::D4Group * d4_root,
const vector< HDF5CF::GMCVar * > & cvars )

Definition at line 1148 of file h5gmcfdap.cc.