bes Updated for version 3.20.10
|
This class is a derived class of File. It includes methods applied to general HDF5 files only. More...
#include <HDF5CF.h>
Public Member Functions | |
void | Add_Dim_Name () |
Add dimension name. More... | |
void | Add_Path_Coord_Attr () |
Update the coordinate attribute to include path and also flatten. More... | |
virtual void | Add_Supplement_Attrs (bool) |
Add supplemental attributes such as fullpath and original name for general NASA HDF5 products. More... | |
virtual void | Adjust_Dim_Name () |
Adjust dimension name for general NASA HDF5 products. More... | |
void | Adjust_H5_Attr_Value (Attribute *attr) |
Adjust attribute values for general HDF5 products. More... | |
virtual void | Adjust_Obj_Name () |
Adjust object names based on different general NASA HDF5 products. More... | |
virtual void | Flatten_Obj_Name (bool include_attr) |
Flatten the object name for general NASA HDF5 products. More... | |
virtual const std::string & | Get_Ignored_Msg () |
Get the message that contains the ignored obj. info. More... | |
virtual bool | Get_IgnoredInfo_Flag () |
Obtain ignored info. flag. More... | |
const std::vector< Attribute * > & | getAttributes () const |
Public interface to obtain information of all attributes under the root group. More... | |
const std::vector< GMCVar * > & | getCVars () const |
bool | getDap4 () const |
hid_t | getFileID () const |
Obtain the HDF5 file ID. More... | |
const std::vector< Group * > & | getGroups () const |
Public interface to obtain all the group info. More... | |
const std::string & | getPath () const |
Obtain the path of the file. More... | |
H5GCFProduct | getProductType () const |
const std::vector< GMSPVar * > & | getSPVars () const |
const std::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) | |
virtual void | Handle_Coor_Attr () |
Handle "coordinates" attributes for general HDF5 products. More... | |
virtual void | Handle_CVar () |
Handle coordinate variables for general NASA HDF5 products. More... | |
virtual void | Handle_DimNameClashing () |
template<class T > | |
void | Handle_General_NameClashing (set< string > &objnameset, vector< T * > &objvec) |
virtual void | Handle_Grid_Mapping_Vars () |
Handle Grid Mapping Vars. More... | |
void | Handle_Hybrid_EOS5 () |
void | Handle_Obj_NameClashing (bool) |
Handle object name clashing for general NASA HDF5 products. More... | |
virtual void | Handle_SpVar () |
Handle special variables for general NASA HDF5 products. More... | |
virtual void | Handle_SpVar_Attr () |
Handle special variable attributes for general NASA HDF5 products. More... | |
virtual void | Handle_SpVar_DMR () |
virtual void | Handle_Unsupported_Dspace (bool) |
Handle unsupported HDF5 dataspaces for general HDF5 products. More... | |
virtual void | Handle_Unsupported_Dtype (bool) |
Handle unsupported HDF5 datatypes for general HDF5 products. More... | |
virtual void | Handle_Unsupported_Others (bool) |
Handle other unmapped objects/attributes for general HDF5 products. More... | |
virtual bool | Have_Grid_Mapping_Attrs () |
Check if having Grid Mapping Attrs. More... | |
bool | HaveUnlimitedDim () const |
Has unlimited dimensions. More... | |
bool | Is_Hybrid_EOS5 () |
void | Remove_Unneeded_Objects () |
Remove unneeded objects. More... | |
void | Remove_Unused_FakeDimVars () |
Unsupported datatype array may generate FakeDim. Remove them. More... | |
void | Rename_NC4_NonCoordVars () |
Remove the _nc4_non_coord from the variable new names. More... | |
virtual void | Retrieve_H5_CVar_Supported_Attr_Values () |
Retrieve coordinate variable attributes. More... | |
virtual void | Retrieve_H5_Info (const char *path, hid_t file_id, bool include_attr) |
Retrieve DDS information from the HDF5 file; real implementation for general HDF5 products. More... | |
virtual void | Retrieve_H5_Supported_Attr_Values () |
Retrieve attribute values for the supported HDF5 datatypes for general HDF5 products. More... | |
virtual void | Retrieve_H5_Var_Attr_Values (Var *var) |
Retrieve attribute values for a variable. More... | |
void | setDap4 (bool is_dap4) |
void | Update_Product_Type () |
Update "product type" attributes for general HDF5 products. More... | |
Protected Attributes | |
bool | _is_dap4 |
int | addeddimindex |
bool | check_ignored |
std::map< std::string, hsize_t > | dimname_to_dimsize |
std::map< std::string, bool > | dimname_to_unlimited |
std::set< std::string > | dimnamelist |
std::map< hsize_t, std::string > | dimsize_to_fakedimname |
Handle added dimension names. More... | |
hid_t | fileid |
std::vector< Group * > | groups |
Non-root group vectors. More... | |
bool | have_ignored |
bool | have_udim |
std::string | ignored_msg |
std::string | path |
std::vector< Attribute * > | root_attrs |
Root attribute vectors. More... | |
hid_t | rootid |
bool | unsupported_attr_dspace |
bool | unsupported_attr_dtype |
bool | unsupported_var_attr_dspace |
bool | unsupported_var_dspace |
bool | unsupported_var_dtype |
std::vector< Var * > | vars |
Var vectors. More... | |
This class is a derived class of File. It includes methods applied to general HDF5 files only.
GMFile::GMFile | ( | const char * | path, |
hid_t | file_id, | ||
H5GCFProduct | product, | ||
GMPattern | gproduct_pattern | ||
) |
Definition at line 169 of file HDF5GMCF.cc.
|
virtual |
Definition at line 176 of file HDF5GMCF.cc.
|
protected |
Definition at line 5699 of file HDF5GMCF.cc.
void GMFile::Add_Dim_Name | ( | ) |
Add dimension name.
Definition at line 833 of file HDF5GMCF.cc.
|
protected |
Definition at line 1480 of file HDF5GMCF.cc.
|
protected |
Definition at line 1383 of file HDF5GMCF.cc.
|
protected |
Definition at line 2712 of file HDF5GMCF.cc.
|
protected |
Definition at line 1499 of file HDF5GMCF.cc.
|
protected |
Definition at line 1289 of file HDF5GMCF.cc.
|
protected |
Definition at line 2691 of file HDF5GMCF.cc.
|
protected |
Definition at line 2527 of file HDF5GMCF.cc.
|
protected |
Definition at line 1132 of file HDF5GMCF.cc.
|
protected |
Definition at line 893 of file HDF5GMCF.cc.
|
protected |
Definition at line 883 of file HDF5GMCF.cc.
|
protected |
Definition at line 1412 of file HDF5GMCF.cc.
|
protected |
Definition at line 5360 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
void GMFile::Add_Path_Coord_Attr | ( | ) |
Update the coordinate attribute to include path and also flatten.
Definition at line 7026 of file HDF5GMCF.cc.
|
protected |
Definition at line 5829 of file HDF5GMCF.cc.
|
protectedinherited |
|
virtual |
Add supplemental attributes such as fullpath and original name for general NASA HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 5287 of file HDF5GMCF.cc.
|
protected |
Definition at line 2808 of file HDF5GMCF.cc.
|
protected |
Definition at line 992 of file HDF5GMCF.cc.
|
protected |
Definition at line 6571 of file HDF5GMCF.cc.
|
virtual |
Adjust dimension name for general NASA HDF5 products.
Implements HDF5CF::File.
Definition at line 5225 of file HDF5GMCF.cc.
|
protectedinherited |
|
protected |
Definition at line 4935 of file HDF5GMCF.cc.
void GMFile::Adjust_H5_Attr_Value | ( | Attribute * | attr | ) |
Adjust attribute values for general HDF5 products.
Definition at line 382 of file HDF5GMCF.cc.
|
protected |
Definition at line 4959 of file HDF5GMCF.cc.
|
virtual |
Adjust object names based on different general NASA HDF5 products.
Implements HDF5CF::File.
Definition at line 4912 of file HDF5GMCF.cc.
|
protected |
Definition at line 2216 of file HDF5GMCF.cc.
|
protected |
Definition at line 2276 of file HDF5GMCF.cc.
|
protected |
Definition at line 2383 of file HDF5GMCF.cc.
|
protected |
Definition at line 3584 of file HDF5GMCF.cc.
|
protected |
Definition at line 1649 of file HDF5GMCF.cc.
|
protected |
Definition at line 1265 of file HDF5GMCF.cc.
|
protected |
Definition at line 1540 of file HDF5GMCF.cc.
|
protected |
Definition at line 1525 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
protected |
Definition at line 1860 of file HDF5GMCF.cc.
|
protected |
Definition at line 1883 of file HDF5GMCF.cc.
|
protected |
Definition at line 1715 of file HDF5GMCF.cc.
|
protected |
Definition at line 1739 of file HDF5GMCF.cc.
|
protected |
Definition at line 1968 of file HDF5GMCF.cc.
Definition at line 4166 of file HDF5GMCF.cc.
|
protected |
Definition at line 6482 of file HDF5GMCF.cc.
|
protected |
Definition at line 6532 of file HDF5GMCF.cc.
|
protected |
Definition at line 5666 of file HDF5GMCF.cc.
|
protected |
Definition at line 6602 of file HDF5GMCF.cc.
|
virtual |
Flatten the object name for general NASA HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 4997 of file HDF5GMCF.cc.
Definition at line 4204 of file HDF5GMCF.cc.
|
protectedinherited |
|
protected |
Definition at line 506 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedvirtual |
Reimplemented from HDF5CF::File.
Definition at line 687 of file HDF5GMCF.cc.
|
protectedvirtual |
Implements HDF5CF::File.
Definition at line 474 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedvirtual |
Reimplemented from HDF5CF::File.
Definition at line 487 of file HDF5GMCF.cc.
|
protectedvirtual |
Reimplemented from HDF5CF::File.
Definition at line 194 of file HDF5GMCF.cc.
|
inlinevirtual |
Get the message that contains the ignored obj. info.
Implements HDF5CF::File.
|
inlinevirtual |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
protected |
Definition at line 5115 of file HDF5GMCF.cc.
|
virtual |
Handle "coordinates" attributes for general HDF5 products.
Implements HDF5CF::File.
Definition at line 6016 of file HDF5GMCF.cc.
|
virtual |
Handle coordinate variables for general NASA HDF5 products.
Implements HDF5CF::File.
Definition at line 2939 of file HDF5GMCF.cc.
|
protected |
Definition at line 3268 of file HDF5GMCF.cc.
|
protected |
Definition at line 3344 of file HDF5GMCF.cc.
|
protected |
Definition at line 2977 of file HDF5GMCF.cc.
|
protected |
Definition at line 3067 of file HDF5GMCF.cc.
|
protected |
Definition at line 4658 of file HDF5GMCF.cc.
|
protected |
Definition at line 4667 of file HDF5GMCF.cc.
|
protected |
Definition at line 4676 of file HDF5GMCF.cc.
|
protected |
Definition at line 3300 of file HDF5GMCF.cc.
|
protected |
Definition at line 3122 of file HDF5GMCF.cc.
|
protected |
Definition at line 4745 of file HDF5GMCF.cc.
|
protected |
Definition at line 3191 of file HDF5GMCF.cc.
|
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 5160 of file HDF5GMCF.cc.
|
inherited |
|
protectedinherited |
|
protected |
Definition at line 609 of file HDF5GMCF.cc.
|
protected |
Definition at line 411 of file HDF5GMCF.cc.
|
protected |
Definition at line 5086 of file HDF5GMCF.cc.
|
protected |
Definition at line 5074 of file HDF5GMCF.cc.
|
protected |
Definition at line 5099 of file HDF5GMCF.cc.
|
protected |
Definition at line 5080 of file HDF5GMCF.cc.
|
protected |
Definition at line 6267 of file HDF5GMCF.cc.
|
virtual |
Handle Grid Mapping Vars.
Reimplemented from HDF5CF::File.
Definition at line 6954 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
void GMFile::Handle_Hybrid_EOS5 | ( | ) |
Definition at line 6690 of file HDF5GMCF.cc.
|
protected |
Definition at line 6450 of file HDF5GMCF.cc.
|
protectedinherited |
void GMFile::Handle_Obj_NameClashing | ( | bool | include_attr | ) |
Handle object name clashing for general NASA HDF5 products.
Definition at line 5055 of file HDF5GMCF.cc.
|
virtual |
Handle special variables for general NASA HDF5 products.
Implements HDF5CF::File.
Definition at line 4822 of file HDF5GMCF.cc.
|
protected |
Definition at line 4868 of file HDF5GMCF.cc.
|
virtual |
Handle special variable attributes for general NASA HDF5 products.
Implements HDF5CF::File.
Definition at line 6654 of file HDF5GMCF.cc.
|
inlinevirtual |
Handle special variables and attributes for general NASA HDF5 files(for DMR) Note this function is not used.
Implements HDF5CF::File.
|
virtual |
Handle unsupported HDF5 dataspaces for general HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 597 of file HDF5GMCF.cc.
|
virtual |
Handle unsupported HDF5 datatypes for general HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 400 of file HDF5GMCF.cc.
|
virtual |
Handle other unmapped objects/attributes for general HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 694 of file HDF5GMCF.cc.
|
protected |
Definition at line 2740 of file HDF5GMCF.cc.
|
protected |
Definition at line 915 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
virtual |
Check if having Grid Mapping Attrs.
Reimplemented from HDF5CF::File.
Definition at line 6950 of file HDF5GMCF.cc.
|
inlineinherited |
|
protectedinherited |
bool GMFile::Is_Hybrid_EOS5 | ( | ) |
Definition at line 6659 of file HDF5GMCF.cc.
Definition at line 6625 of file HDF5GMCF.cc.
|
protected |
Definition at line 3749 of file HDF5GMCF.cc.
|
protected |
Definition at line 3789 of file HDF5GMCF.cc.
|
protected |
Definition at line 3904 of file HDF5GMCF.cc.
|
protected |
Definition at line 3848 of file HDF5GMCF.cc.
|
protected |
Definition at line 4051 of file HDF5GMCF.cc.
|
protected |
Definition at line 7067 of file HDF5GMCF.cc.
|
protectedinherited |
|
protected |
Definition at line 4137 of file HDF5GMCF.cc.
|
protected |
Definition at line 6846 of file HDF5GMCF.cc.
|
protected |
Definition at line 6919 of file HDF5GMCF.cc.
|
protectedinherited |
|
protected |
Definition at line 307 of file HDF5GMCF.cc.
void GMFile::Remove_Unneeded_Objects | ( | ) |
Remove unneeded objects.
Definition at line 261 of file HDF5GMCF.cc.
void GMFile::Remove_Unused_FakeDimVars | ( | ) |
Unsupported datatype array may generate FakeDim. Remove them.
Definition at line 6958 of file HDF5GMCF.cc.
void GMFile::Rename_NC4_NonCoordVars | ( | ) |
Remove the _nc4_non_coord from the variable new names.
Definition at line 7006 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
virtual |
Retrieve coordinate variable attributes.
Implements HDF5CF::File.
Definition at line 333 of file HDF5GMCF.cc.
|
virtual |
Retrieve DDS information from the HDF5 file; real implementation for general HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 219 of file HDF5GMCF.cc.
|
protectedinherited |
|
virtual |
Retrieve attribute values for the supported HDF5 datatypes for general HDF5 products.
Reimplemented from HDF5CF::File.
Definition at line 348 of file HDF5GMCF.cc.
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Definition at line 3410 of file HDF5GMCF.cc.
void GMFile::Update_Product_Type | ( | ) |
Update "product type" attributes for general HDF5 products.
Definition at line 238 of file HDF5GMCF.cc.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |