bes  Updated for version 3.20.6
h5commoncfdap.cc File Reference

Functions to generate DDS and DAS for one object(variable). More...

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <InternalErr.h>
#include <BESDebug.h>
#include "HDF5RequestHandler.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 "HDF5CFInt64.h"
#include "HDF5CFUInt64.h"
#include "HDF5CFStr.h"
#include "HDF5CFArray.h"
#include "HDF5CFGeoCF1D.h"
#include "HDF5CFGeoCFProj.h"
#include "HDF5Int64.h"
Include dependency graph for h5commoncfdap.cc:

Go to the source code of this file.

Macros

#define HANDLE_CASE(tid, type)
 

Functions

void add_cf_grid_cv_attrs (DAS &das, const vector< HDF5CF::Var * > &vars, EOS5GridPCType cv_proj_code, const vector< HDF5CF::Dimension * > &dims, const vector< double > &eos5_proj_params, const unsigned short g_suffix)
 
void add_cf_grid_cvs (DDS &dds, EOS5GridPCType cv_proj_code, float cv_point_lower, float cv_point_upper, float cv_point_left, float cv_point_right, const vector< HDF5CF::Dimension * > &dims)
 
void add_cf_grid_mapinfo_var (DDS &dds, const EOS5GridPCType grid_proj_code, const unsigned short g_suffix)
 
void add_cf_grid_mapping_attr (DAS &das, const vector< HDF5CF::Var * > &vars, const string &cf_projection, const string &dim0name, hsize_t dim0size, const string &dim1name, hsize_t dim1size)
 
void add_cf_projection_attrs (DAS &das, EOS5GridPCType cv_proj_code, const vector< double > &eos5_proj_params, const string &cf_projection)
 
void add_ll_valid_range (AttrTable *at, bool is_lat)
 
void check_update_int64_attr (const string &obj_name, const HDF5CF::Attribute *attr)
 
void gen_dap_oneobj_das (AttrTable *at, const HDF5CF::Attribute *attr, const HDF5CF::Var *var)
 
void gen_dap_onevar_dds (DDS &dds, const HDF5CF::Var *var, const hid_t file_id, const string &filename)
 
void gen_dap_special_oneobj_das (AttrTable *at, const HDF5CF::Attribute *attr, const HDF5CF::Var *var)
 
void gen_dap_str_attr (AttrTable *at, const HDF5CF::Attribute *attr)
 
bool is_fvalue_valid (H5DataType var_dtype, const HDF5CF::Attribute *attr)
 
void map_cfh5_attrs_to_dap4 (const HDF5CF::Var *var, BaseType *d4_var)
 
bool need_attr_values_for_dap4 (const HDF5CF::Var *var)
 
bool need_special_attribute_handling (const HDF5CF::Attribute *attr, const HDF5CF::Var *var)
 

Detailed Description

Functions to generate DDS and DAS for one object(variable).

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

Definition in file h5commoncfdap.cc.

Macro Definition Documentation

◆ HANDLE_CASE

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