bes Updated for version 3.20.13
h5gmcfdap.cc File Reference

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 <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
Muqun 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 883 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 1345 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 1118 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 1597 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 871 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdas()

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

Definition at line 482 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdds()

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

Definition at line 421 of file h5gmcfdap.cc.

◆ gen_gmh5_cfdmr()

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

Definition at line 692 of file h5gmcfdap.cc.

◆ map_gmh5_cfdas()

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

Definition at line 200 of file h5gmcfdap.cc.

◆ map_gmh5_cfdds()

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

Definition at line 69 of file h5gmcfdap.cc.

◆ map_gmh5_cfdmr()

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

Definition at line 291 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 1190 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 1255 of file h5gmcfdap.cc.