OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDF5CF::GMFile Class Reference

This class is a derived class of File. It includes methods applied to general HDF5 files only. More...

#include <HDF5CF.h>

Inheritance diagram for HDF5CF::GMFile:
Inheritance graph
Collaboration diagram for HDF5CF::GMFile:
Collaboration graph

Public Member Functions

void Add_Dim_Name () throw (Exception)
 Add dimension name. More...
 
void Add_Supplement_Attrs (bool) throw (Exception)
 Add supplemental attributes such as fullpath and original name for general NASA HDF5 products. More...
 
void Adjust_Dim_Name () throw (Exception)
 Adjust dimension name for general NASA HDF5 products. More...
 
void Adjust_H5_Attr_Value (Attribute *attr) throw (Exception)
 Adjust attribute values for general HDF5 products. More...
 
void Adjust_Obj_Name () throw (Exception)
 Adjust object names based on different general NASA HDF5 products. More...
 
void Flatten_Obj_Name (bool include_attr) throw (Exception)
 Flatten the object name for general NASA HDF5 products. More...
 
const vector< Attribute * > & getAttributes () const
 Public interface to obtain information of all attributes under the root group. More...
 
const vector< GMCVar * > & getCVars () const
 
const hid_t getFileID () const
 Obtain the HDF5 file ID. More...
 
const vector< Group * > & getGroups () const
 Public interface to obtain all the group info. More...
 
const string & getPath () const
 Obtain the path of the file. More...
 
H5GCFProduct getProductType () const
 
const vector< GMSPVar * > & getSPVars () const
 
const vector< Var * > & getVars () const
 Public interface to obtain information of all variables. More...
 
 GMFile (const char *path, hid_t file_id, H5GCFProduct product, GMPattern gproduct_pattern)
 
void Handle_Coor_Attr ()
 Handle "coordinates" attributes for general HDF5 products. More...
 
void Handle_CVar () throw (Exception)
 Handle coordinate variables for general NASA HDF5 products. More...
 
void Handle_DimNameClashing () throw (Exception)
 Handle dimension name clashing. Since COARDS requires the change of cv names, So we need to handle dimension name clashing specially. More...
 
void Handle_Obj_NameClashing (bool) throw (Exception)
 Handle object name clashing for general NASA HDF5 products. More...
 
void Handle_SpVar () throw (Exception)
 Handle special variables for general NASA HDF5 products. More...
 
void Handle_SpVar_Attr () throw (Exception)
 Handle special variable attributes for general NASA HDF5 products. More...
 
void Handle_Unsupported_Dspace () throw (Exception)
 Handle unsupported HDF5 dataspaces for general HDF5 products. More...
 
void Handle_Unsupported_Dtype (bool) throw (Exception)
 Handle unsupported HDF5 datatypes for general HDF5 products. More...
 
void Retrieve_H5_Info (const char *path, hid_t file_id, bool include_attr) throw (Exception)
 Retrieve DDS information from the HDF5 file; real implementation for general HDF5 products. More...
 
void Retrieve_H5_Supported_Attr_Values () throw (Exception)
 Retrieve attribute values for the supported HDF5 datatypes for general HDF5 products. More...
 
virtual ~GMFile ()
 

Protected Member Functions

void Add_Aqu_Attrs () throw (Exception)
 
void Add_Dim_Name_ACOS_L2S () throw (Exception)
 
void Add_Dim_Name_Aqu_L3 () throw (Exception)
 
void Add_Dim_Name_Dimscale_General_Product () throw (Exception)
 
void Add_Dim_Name_General_Product () throw (Exception)
 
void Add_Dim_Name_GPM () throw (Exception)
 
void Add_Dim_Name_Mea_Ozonel3z () throw (Exception)
 
void Add_Dim_Name_Mea_SeaWiFS () throw (Exception)
 
void Add_Dim_Name_OBPG_L3 () throw (Exception)
 
void Add_Dim_Name_SMAP () throw (Exception)
 
void Add_GPM_Attrs () throw (Exception)
 
void Add_One_FakeDim_Name (Dimension *dim) throw (Exception)
 
void Add_One_Float_Attr (Attribute *attr, const string &attrname, float float_value) throw (Exception)
 
void Add_SeaWiFS_Attrs () throw (Exception)
 
void Add_Str_Attr (Attribute *attr, const string &attrname, const string &strvalue) throw (Exception)
 
void Add_UseDimscale_Var_Dim_Names_General_Product (Var *, Attribute *) throw (Exception)
 
void Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone (Var *, Attribute *) throw (Exception)
 
void Adjust_Duplicate_FakeDim_Name (Dimension *dim) throw (Exception)
 
void Adjust_GPM_L3_Obj_Name () throw (Exception)
 
void Adjust_Mea_Ozone_Obj_Name () throw (Exception)
 
void Change_Attr_One_Str_to_Others (Attribute *attr, Var *var) throw (Exception)
 
bool check_cv (string &varname) throw (Exception)
 
void Check_General_Product_Pattern () throw (Exception)
 
void Create_Missing_CV (GMCVar *, const string &) throw (Exception)
 
string get_CF_string (string s)
 
template<typename T >
void GMHandle_General_NameClashing (set< string > &objnameset, vector< T * > &objvec) throw (Exception)
 
void Handle_CVar_Aqu_L3 () throw (Exception)
 
void Handle_CVar_Dimscale_General_Product () throw (Exception)
 
void Handle_CVar_GPM_L1 () throw (Exception)
 
void Handle_CVar_GPM_L3 () throw (Exception)
 
void Handle_CVar_Mea_Ozone () throw (Exception)
 
void Handle_CVar_Mea_SeaWiFS () throw (Exception)
 
void Handle_CVar_OBPG_L3 () throw (Exception)
 
void Handle_CVar_SMAP () throw (Exception)
 
template<typename T >
void Handle_General_NameClashing (set< string > &objnameset, vector< T * > &objvec) throw (Exception)
 
void Handle_GeneralObj_NameClashing (bool, set< string > &objnameset) throw (Exception)
 
void Handle_GMCVar_AttrNameClashing () throw (Exception)
 
void Handle_GMCVar_NameClashing (set< string > &) throw (Exception)
 
void Handle_GMSPVar_AttrNameClashing () throw (Exception)
 
void Handle_GMSPVar_NameClashing (set< string > &) throw (Exception)
 
void Handle_GPM_l1_Coor_Attr () throw (Exception)
 
void Handle_Obj_AttrNameClashing () throw (Exception)
 
void Handle_RootGroup_NameClashing (set< string > &objnameset) throw (Exception)
 
void Handle_SpVar_ACOS () throw (Exception)
 
void Handle_UseDimscale_Var_Dim_Names_General_Product (Var *) throw (Exception)
 
void Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone (Var *) throw (Exception)
 
void Handle_Var_NameClashing (set< string > &objnameset) throw (Exception)
 
void Insert_One_NameSizeMap_Element (string name, hsize_t size) throw (Exception)
 
void Insert_One_NameSizeMap_Element2 (map< string, hsize_t > &, string name, hsize_t size) throw (Exception)
 
bool Is_netCDF_Dimension (Var *var) throw (Exception)
 
virtual void Replace_Var_Attrs (Var *src, Var *target)
 
virtual void Replace_Var_Info (Var *src, Var *target)
 
void Retrieve_H5_Attr_Info (Attribute *, hid_t obj_id, const int j, bool &unsup_attr_dtype) throw (Exception)
 
void Retrieve_H5_Attr_Value (Attribute *attr, string) throw (Exception)
 
void Retrieve_H5_Obj (hid_t grp_id, const char *gname, bool include_attr) throw (Exception)
 
void Retrieve_H5_VarDim (Var *, hid_t dset_id, const string &varname, bool &unsup_var_dspace) throw (Exception)
 
void Retrieve_H5_VarType (Var *, hid_t dset_id, const string &varname, bool &unsup_var_dtype) throw (Exception)
 

Protected Attributes

int addeddimindex
 
map< string, hsize_t > dimname_to_dimsize
 
set< string > dimnamelist
 
map< hsize_t, string > dimsize_to_fakedimname
 Handle added dimension names. More...
 
hid_t fileid
 
vector< Group * > groups
 Non-root group vectors. More...
 
string path
 
vector< Attribute * > root_attrs
 Root attribute vectors. More...
 
hid_t rootid
 
bool unsupported_attr_dtype
 
bool unsupported_var_dspace
 
bool unsupported_var_dtype
 
vector< Var * > vars
 Var vectors. More...
 

Detailed Description

This class is a derived class of File. It includes methods applied to general HDF5 files only.

Definition at line 662 of file HDF5CF.h.

Constructor & Destructor Documentation

GMFile::GMFile ( const char *  path,
hid_t  file_id,
H5GCFProduct  product,
GMPattern  gproduct_pattern 
)

Definition at line 105 of file HDF5GMCF.cc.

GMFile::~GMFile ( )
virtual

Definition at line 111 of file HDF5GMCF.cc.

Member Function Documentation

void GMFile::Add_Aqu_Attrs ( )
throw (Exception
)
protected
void GMFile::Add_Dim_Name_ACOS_L2S ( )
throw (Exception
)
protected

Definition at line 898 of file HDF5GMCF.cc.

References HDF5CF::File::Add_One_FakeDim_Name(), HDF5CF::File::Adjust_Duplicate_FakeDim_Name(), and HDF5CF::File::vars.

Referenced by Add_Dim_Name().

Here is the call graph for this function:

void GMFile::Add_Dim_Name_Aqu_L3 ( )
throw (Exception
)
protected

Definition at line 805 of file HDF5GMCF.cc.

References HDF5CF::File::vars.

Referenced by Add_Dim_Name().

void GMFile::Add_Dim_Name_Dimscale_General_Product ( )
throw (Exception
)
protected
void GMFile::Add_Dim_Name_General_Product ( )
throw (Exception
)
protected

Definition at line 914 of file HDF5GMCF.cc.

References Add_Dim_Name_Dimscale_General_Product(), Check_General_Product_Pattern(), and GENERAL_DIMSCALE.

Referenced by Add_Dim_Name(), and Add_Dim_Name_OBPG_L3().

Here is the call graph for this function:

void GMFile::Add_Dim_Name_Mea_SeaWiFS ( )
throw (Exception
)
protected
void GMFile::Add_Dim_Name_OBPG_L3 ( )
throw (Exception
)
protected

Definition at line 323 of file HDF5GMCF.cc.

References Add_Dim_Name_General_Product().

Referenced by Add_Dim_Name().

Here is the call graph for this function:

void GMFile::Add_Dim_Name_SMAP ( )
throw (Exception
)
protected
void GMFile::Add_GPM_Attrs ( )
throw (Exception
)
protected
void File::Add_One_FakeDim_Name ( Dimension dim)
throw (Exception
)
protectedinherited

Definition at line 1077 of file HDF5CF.cc.

References HDF5CFUtil::gen_unique_name(), throw2, and throw4.

Referenced by Add_Dim_Name_ACOS_L2S(), Add_Dim_Name_GPM(), Add_Dim_Name_Mea_Ozonel3z(), and Add_Dim_Name_SMAP().

Here is the call graph for this function:

void File::Add_One_Float_Attr ( Attribute attr,
const string &  attrname,
float  float_value 
)
throw (Exception
)
protectedinherited

Definition at line 1177 of file HDF5CF.cc.

References H5FLOAT32.

Referenced by Add_Aqu_Attrs(), Add_GPM_Attrs(), and Add_SeaWiFS_Attrs().

void GMFile::Add_SeaWiFS_Attrs ( )
throw (Exception
)
protected

Definition at line 2580 of file HDF5GMCF.cc.

References HDF5CF::File::Add_One_Float_Attr(), H5FLOAT32, and HDF5CF::File::vars.

Here is the call graph for this function:

void File::Add_Str_Attr ( Attribute attr,
const string &  attrname,
const string &  strvalue 
)
throw (Exception
)
protectedinherited
void GMFile::Add_Supplement_Attrs ( bool  add_path)
throw (Exception
)
virtual

Add supplemental attributes such as fullpath and original name for general NASA HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 2132 of file HDF5GMCF.cc.

References HDF5CF::File::Add_Supplement_Attrs(), Aqu_L3, CV_EXIST, CV_MODIFY, General_Product, GPM_L1, GPMM_L3, GPMS_L3, Mea_SeaWiFS_L2, and Mea_SeaWiFS_L3.

Referenced by map_gmh5_cfdas().

Here is the call graph for this function:

void GMFile::Add_UseDimscale_Var_Dim_Names_General_Product ( Var var,
Attribute dimlistattr 
)
throw (Exception
)
protected

Definition at line 1069 of file HDF5GMCF.cc.

References NULL, throw2, and throw4.

void GMFile::Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone ( Var var,
Attribute dimlistattr 
)
throw (Exception
)
protected

Definition at line 426 of file HDF5GMCF.cc.

References NULL, throw2, and throw4.

void GMFile::Adjust_Dim_Name ( )
throw (Exception
)
virtual

Adjust dimension name for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 2078 of file HDF5GMCF.cc.

References throw3, and HDF5CF::File::vars.

Referenced by map_gmh5_cfdds().

void File::Adjust_Duplicate_FakeDim_Name ( Dimension dim)
throw (Exception
)
protectedinherited

Definition at line 1130 of file HDF5CF.cc.

References HDF5CFUtil::gen_unique_name(), and throw2.

Referenced by Add_Dim_Name_ACOS_L2S(), Add_Dim_Name_Mea_Ozonel3z(), and Add_Dim_Name_SMAP().

Here is the call graph for this function:

void GMFile::Adjust_GPM_L3_Obj_Name ( )
throw (Exception
)
protected

Definition at line 1799 of file HDF5GMCF.cc.

References HDF5CF::File::groups, HDF5CFUtil::obtain_string_after_lastslash(), and HDF5CF::File::vars.

Referenced by Adjust_Obj_Name().

Here is the call graph for this function:

void GMFile::Adjust_H5_Attr_Value ( Attribute attr)
throw (Exception
)

Adjust attribute values for general HDF5 products.

Definition at line 178 of file HDF5GMCF.cc.

References ACOS_L2S, and H5VSTRING.

Referenced by Retrieve_H5_Supported_Attr_Values().

void GMFile::Adjust_Mea_Ozone_Obj_Name ( )
throw (Exception
)
protected

Definition at line 1825 of file HDF5GMCF.cc.

References HDF5CFUtil::obtain_string_after_lastslash(), and HDF5CF::File::vars.

Referenced by Adjust_Obj_Name().

Here is the call graph for this function:

void GMFile::Adjust_Obj_Name ( )
throw (Exception
)
virtual

Adjust object names based on different general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 1777 of file HDF5GMCF.cc.

References Adjust_GPM_L3_Obj_Name(), Adjust_Mea_Ozone_Obj_Name(), GPMM_L3, GPMS_L3, Mea_Ozone, and HDF5CF::File::vars.

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void File::Change_Attr_One_Str_to_Others ( Attribute attr,
Var var 
)
throw (Exception
)
protectedinherited

Definition at line 1187 of file HDF5CF.cc.

References H5CHAR, H5FLOAT32, H5FLOAT64, H5FSTRING, H5INT16, H5INT32, H5UCHAR, H5UINT16, H5UINT32, NULL, throw2, throw4, and throw5.

Referenced by Add_GPM_Attrs().

bool GMFile::check_cv ( string &  varname)
throw (Exception
)
protected

Definition at line 692 of file HDF5GMCF.cc.

Referenced by Add_Dim_Name_Mea_Ozonel3z().

void GMFile::Check_General_Product_Pattern ( )
throw (Exception
)
protected

Definition at line 925 of file HDF5GMCF.cc.

References GENERAL_DIMSCALE, HDF5CF::File::Retrieve_H5_Attr_Value(), and HDF5CF::File::vars.

Referenced by Add_Dim_Name_General_Product().

Here is the call graph for this function:

void GMFile::Create_Missing_CV ( GMCVar GMcvar,
const string &  dimname 
)
throw (Exception
)
protected
void GMFile::Flatten_Obj_Name ( bool  include_attr)
throw (Exception
)
virtual

Flatten the object name for general NASA HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 1860 of file HDF5GMCF.cc.

References HDF5CF::File::Flatten_Obj_Name().

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

string GMFile::get_CF_string ( string  s)
protectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 128 of file HDF5GMCF.cc.

References General_Product, HDF5CF::File::get_CF_string(), and OTHERGMS.

Here is the call graph for this function:

const vector< Attribute * >& HDF5CF::File::getAttributes ( ) const
inlineinherited

Public interface to obtain information of all attributes under the root group.

Definition at line 578 of file HDF5CF.h.

References HDF5CF::File::root_attrs.

Referenced by gen_eos5_cfdas(), and gen_gmh5_cfdas().

const vector<GMCVar *>& HDF5CF::GMFile::getCVars ( ) const
inline

Definition at line 671 of file HDF5CF.h.

Referenced by gen_gmh5_cfdas(), and gen_gmh5_cfdds().

const hid_t HDF5CF::File::getFileID ( ) const
inlineinherited

Obtain the HDF5 file ID.

Definition at line 559 of file HDF5CF.h.

References HDF5CF::File::fileid.

Referenced by gen_eos5_cfdds(), and gen_gmh5_cfdds().

const vector< Group * >& HDF5CF::File::getGroups ( ) const
inlineinherited

Public interface to obtain all the group info.

Definition at line 584 of file HDF5CF.h.

References HDF5CF::File::groups.

Referenced by gen_eos5_cfdas(), and gen_gmh5_cfdas().

const string& HDF5CF::File::getPath ( ) const
inlineinherited

Obtain the path of the file.

Definition at line 566 of file HDF5CF.h.

References HDF5CF::File::path.

Referenced by gen_eos5_cfdds(), and gen_gmh5_cfdds().

H5GCFProduct HDF5CF::GMFile::getProductType ( ) const
inline

Definition at line 667 of file HDF5CF.h.

Referenced by gen_gmh5_cfdas().

const vector<GMSPVar *>& HDF5CF::GMFile::getSPVars ( ) const
inline

Definition at line 675 of file HDF5CF.h.

Referenced by gen_gmh5_cfdas(), and gen_gmh5_cfdds().

const vector< Var * >& HDF5CF::File::getVars ( ) const
inlineinherited

Public interface to obtain information of all variables.

Definition at line 572 of file HDF5CF.h.

References HDF5CF::File::vars.

Referenced by gen_eos5_cfdas(), gen_eos5_cfdds(), gen_gmh5_cfdas(), and gen_gmh5_cfdds().

template<class T >
void GMFile::GMHandle_General_NameClashing ( set< string > &  objnameset,
vector< T * > &  objvec 
)
throw (Exception
)
protected

Definition at line 1966 of file HDF5GMCF.cc.

References HDF5CFUtil::gen_unique_name().

Referenced by Handle_DimNameClashing().

Here is the call graph for this function:

void GMFile::Handle_Coor_Attr ( )
virtual

Handle "coordinates" attributes for general HDF5 products.

Implements HDF5CF::File.

Definition at line 2618 of file HDF5GMCF.cc.

References HDF5CF::File::Add_Str_Attr(), CV_LAT_MISS, CV_LON_MISS, CV_NONLATLON_MISS, GPM_L1, Handle_GPM_l1_Coor_Attr(), Mea_SeaWiFS_L2, SMAP, and HDF5CF::File::vars.

Referenced by map_gmh5_cfdas().

Here is the call graph for this function:

void GMFile::Handle_CVar ( )
throw (Exception
)
virtual
void GMFile::Handle_CVar_Dimscale_General_Product ( )
throw (Exception
)
protected

Definition at line 1570 of file HDF5GMCF.cc.

References Create_Missing_CV(), CV_EXIST, CV_FILLINDEX, HDF5CF::File::dimnamelist, Is_netCDF_Dimension(), throw1, throw3, and HDF5CF::File::vars.

Referenced by Handle_CVar(), and Handle_CVar_OBPG_L3().

Here is the call graph for this function:

void GMFile::Handle_CVar_GPM_L1 ( )
throw (Exception
)
protected

Definition at line 1227 of file HDF5GMCF.cc.

References Create_Missing_CV(), CV_EXIST, HDF5CF::File::dimname_to_dimsize, HDF5CF::File::Insert_One_NameSizeMap_Element(), and HDF5CF::File::vars.

Referenced by Handle_CVar().

Here is the call graph for this function:

void GMFile::Handle_CVar_Mea_Ozone ( )
throw (Exception
)
protected

Definition at line 1527 of file HDF5GMCF.cc.

References Create_Missing_CV(), CV_EXIST, HDF5CF::File::dimnamelist, throw1, throw3, and HDF5CF::File::vars.

Referenced by Handle_CVar().

Here is the call graph for this function:

void GMFile::Handle_CVar_Mea_SeaWiFS ( )
throw (Exception
)
protected

Definition at line 1368 of file HDF5GMCF.cc.

References Create_Missing_CV(), CV_EXIST, HDF5CF::File::dimnamelist, throw3, and HDF5CF::File::vars.

Referenced by Handle_CVar().

Here is the call graph for this function:

void GMFile::Handle_CVar_OBPG_L3 ( )
throw (Exception
)
protected

Definition at line 1621 of file HDF5GMCF.cc.

References CV_FILLINDEX, CV_LAT_MISS, CV_LON_MISS, GENERAL_DIMSCALE, H5FLOAT32, Handle_CVar_Dimscale_General_Product(), and HDF5CF::File::vars.

Referenced by Handle_CVar().

Here is the call graph for this function:

void GMFile::Handle_CVar_SMAP ( )
throw (Exception
)
protected

Definition at line 1426 of file HDF5GMCF.cc.

References Create_Missing_CV(), CV_EXIST, HDF5CF::File::dimnamelist, HDF5CF::Var::name, HDF5CF::Var::newname, throw5, and HDF5CF::File::vars.

Referenced by Handle_CVar().

Here is the call graph for this function:

void GMFile::Handle_DimNameClashing ( )
throw (Exception
)
virtual

Handle dimension name clashing. Since COARDS requires the change of cv names, So we need to handle dimension name clashing specially.

Implements HDF5CF::File.

Definition at line 2011 of file HDF5GMCF.cc.

References ACOS_L2S, GMHandle_General_NameClashing(), throw4, and HDF5CF::File::vars.

Referenced by map_gmh5_cfdds().

Here is the call graph for this function:

template<class T >
void File::Handle_General_NameClashing ( set< string > &  objnameset,
vector< T * > &  objvec 
)
throw (Exception
)
protectedinherited
void File::Handle_GeneralObj_NameClashing ( bool  include_attr,
set< string > &  objnameset 
)
throw (Exception
)
protectedinherited
void GMFile::Handle_GMCVar_AttrNameClashing ( )
throw (Exception
)
protected

Definition at line 1943 of file HDF5GMCF.cc.

References HDF5CF::File::Handle_General_NameClashing().

Here is the call graph for this function:

void GMFile::Handle_GMCVar_NameClashing ( set< string > &  objnameset)
throw (Exception
)
protected

Definition at line 1932 of file HDF5GMCF.cc.

void GMFile::Handle_GMSPVar_AttrNameClashing ( )
throw (Exception
)
protected

Definition at line 1953 of file HDF5GMCF.cc.

References HDF5CF::File::Handle_General_NameClashing().

Here is the call graph for this function:

void GMFile::Handle_GMSPVar_NameClashing ( set< string > &  objnameset)
throw (Exception
)
protected

Definition at line 1937 of file HDF5GMCF.cc.

void GMFile::Handle_GPM_l1_Coor_Attr ( )
throw (Exception
)
protected

Definition at line 2706 of file HDF5GMCF.cc.

References HDF5CF::File::Add_Str_Attr(), HDF5CFUtil::obtain_string_after_lastslash(), throw2, throw4, and HDF5CF::File::vars.

Referenced by Handle_Coor_Attr().

Here is the call graph for this function:

void File::Handle_Obj_AttrNameClashing ( )
throw (Exception
)
protectedinherited

Definition at line 939 of file HDF5CF.cc.

References HDF5CF::File::groups, HDF5CF::File::Handle_General_NameClashing(), HDF5CF::File::root_attrs, and HDF5CF::File::vars.

Here is the call graph for this function:

void GMFile::Handle_Obj_NameClashing ( bool  include_attr)
throw (Exception
)

Handle object name clashing for general NASA HDF5 products.

Definition at line 1914 of file HDF5GMCF.cc.

References HDF5CF::File::Handle_GeneralObj_NameClashing().

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void File::Handle_RootGroup_NameClashing ( set< string > &  objnameset)
throw (Exception
)
protectedinherited

Definition at line 911 of file HDF5CF.cc.

References HDF5CFUtil::gen_unique_name().

Here is the call graph for this function:

void GMFile::Handle_SpVar ( )
throw (Exception
)
virtual

Handle special variables for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 1697 of file HDF5GMCF.cc.

References ACOS_L2S, GPM_L1, GPMM_L3, GPMS_L3, Handle_SpVar_ACOS(), and HDF5CF::File::vars.

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void GMFile::Handle_SpVar_ACOS ( )
throw (Exception
)
protected
void GMFile::Handle_SpVar_Attr ( )
throw (Exception
)
virtual

Handle special variable attributes for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 2936 of file HDF5GMCF.cc.

void GMFile::Handle_Unsupported_Dspace ( )
throw (Exception
)
virtual

Handle unsupported HDF5 dataspaces for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 246 of file HDF5GMCF.cc.

References HDF5CF::File::Handle_Unsupported_Dspace(), and HDF5CF::File::unsupported_var_dspace.

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void GMFile::Handle_Unsupported_Dtype ( bool  include_attr)
throw (Exception
)
virtual

Handle unsupported HDF5 datatypes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 194 of file HDF5GMCF.cc.

References HDF5CFUtil::cf_strict_support_type(), and HDF5CF::File::Handle_Unsupported_Dtype().

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void GMFile::Handle_UseDimscale_Var_Dim_Names_General_Product ( Var var)
throw (Exception
)
protected

Definition at line 1003 of file HDF5GMCF.cc.

References NULL, and throw2.

Referenced by Add_Dim_Name_Dimscale_General_Product().

void GMFile::Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone ( Var var)
throw (Exception
)
protected

Definition at line 351 of file HDF5GMCF.cc.

References NULL, and throw2.

Referenced by Add_Dim_Name_Mea_Ozonel3z(), and Add_Dim_Name_Mea_SeaWiFS().

void File::Handle_Var_NameClashing ( set< string > &  objnameset)
throw (Exception
)
protectedinherited

Definition at line 906 of file HDF5CF.cc.

void File::Insert_One_NameSizeMap_Element ( string  name,
hsize_t  size 
)
throw (Exception
)
protectedinherited
void File::Insert_One_NameSizeMap_Element2 ( map< string, hsize_t > &  name_to_size,
string  name,
hsize_t  size 
)
throw (Exception
)
protectedinherited

Definition at line 1054 of file HDF5CF.cc.

References throw4.

bool GMFile::Is_netCDF_Dimension ( Var var)
throw (Exception
)
protected

Definition at line 2908 of file HDF5GMCF.cc.

Referenced by Handle_CVar_Dimscale_General_Product().

void File::Retrieve_H5_Attr_Info ( Attribute attr,
hid_t  obj_id,
const int  j,
bool &  unsup_attr_dtype 
)
throw (Exception
)
protectedinherited

Definition at line 461 of file HDF5CF.cc.

References HDF5CFUtil::cf_strict_support_type(), HDF5CFUtil::H5type_to_H5DAPtype(), NULL, throw1, and throw2.

Here is the call graph for this function:

void GMFile::Retrieve_H5_Info ( const char *  path,
hid_t  file_id,
bool  include_attr 
)
throw (Exception
)
virtual

Retrieve DDS information from the HDF5 file; real implementation for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 138 of file HDF5GMCF.cc.

References General_Product, GPM_L1, GPMM_L3, GPMS_L3, Mea_Ozone, Mea_SeaWiFS_L2, Mea_SeaWiFS_L3, OBPG_L3, and HDF5CF::File::Retrieve_H5_Info().

Referenced by map_gmh5_cfdas(), and map_gmh5_cfdds().

Here is the call graph for this function:

void File::Retrieve_H5_Obj ( hid_t  grp_id,
const char *  gname,
bool  include_attr 
)
throw (Exception
)
protectedinherited
void GMFile::Retrieve_H5_Supported_Attr_Values ( )
throw (Exception
)
virtual

Retrieve attribute values for the supported HDF5 datatypes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 152 of file HDF5GMCF.cc.

References Adjust_H5_Attr_Value(), CV_NONLATLON_MISS, HDF5CF::File::Retrieve_H5_Attr_Value(), and HDF5CF::File::Retrieve_H5_Supported_Attr_Values().

Referenced by map_gmh5_cfdas().

Here is the call graph for this function:

void File::Retrieve_H5_VarDim ( Var var,
hid_t  dset_id,
const string &  varname,
bool &  unsup_var_dspace 
)
throw (Exception
)
protectedinherited

Definition at line 367 of file HDF5CF.cc.

References throw2.

void File::Retrieve_H5_VarType ( Var var,
hid_t  dset_id,
const string &  varname,
bool &  unsup_var_dtype 
)
throw (Exception
)
protectedinherited

Definition at line 334 of file HDF5CF.cc.

References HDF5CFUtil::cf_strict_support_type(), HDF5CFUtil::H5type_to_H5DAPtype(), and throw2.

Here is the call graph for this function:

Member Data Documentation

int HDF5CF::File::addeddimindex
protectedinherited

Definition at line 657 of file HDF5CF.h.

map<string,hsize_t> HDF5CF::File::dimname_to_dimsize
protectedinherited

Definition at line 653 of file HDF5CF.h.

Referenced by Add_Dim_Name_GPM(), Handle_CVar_GPM_L1(), and Handle_CVar_GPM_L3().

map<hsize_t,string> HDF5CF::File::dimsize_to_fakedimname
protectedinherited

Handle added dimension names.

Definition at line 656 of file HDF5CF.h.

hid_t HDF5CF::File::fileid
protectedinherited

Definition at line 635 of file HDF5CF.h.

Referenced by HDF5CF::File::getFileID(), and HDF5CF::File::~File().

string HDF5CF::File::path
protectedinherited

Definition at line 634 of file HDF5CF.h.

Referenced by HDF5CF::File::getPath().

vector< Attribute * > HDF5CF::File::root_attrs
protectedinherited
hid_t HDF5CF::File::rootid
protectedinherited

Definition at line 636 of file HDF5CF.h.

Referenced by HDF5CF::File::~File().

bool HDF5CF::File::unsupported_attr_dtype
protectedinherited

Definition at line 648 of file HDF5CF.h.

bool HDF5CF::File::unsupported_var_dspace
protectedinherited
bool HDF5CF::File::unsupported_var_dtype
protectedinherited

Definition at line 647 of file HDF5CF.h.


The documentation for this class was generated from the following files: