bes Updated for version 3.20.10
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>

Collaboration diagram for HDF5CF::GMFile:
Collaboration graph

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 Member Functions

void Add_Aqu_Attrs ()
 
void Add_Dim_Name_ACOS_L2S_OCO2_L1B ()
 
void Add_Dim_Name_Aqu_L3 ()
 
void Add_Dim_Name_Dimscale_General_Product ()
 
void Add_Dim_Name_General_Product ()
 
void Add_Dim_Name_GPM ()
 
void Add_Dim_Name_LatLon1D_Or_CoordAttr_General_Product ()
 
void Add_Dim_Name_LatLon2D_General_Product ()
 
void Add_Dim_Name_Mea_Ozonel3z ()
 
void Add_Dim_Name_Mea_SeaWiFS ()
 
void Add_Dim_Name_OBPG_L3 ()
 
void Add_Dim_Name_OSMAPL2S ()
 
void Add_GPM_Attrs ()
 
void add_ignored_droplongstr_hdr ()
 
void add_ignored_grp_longstr_info (const std::string &grp_path, const std::string &attr_name)
 
void add_ignored_info_attrs (bool is_grp, const std::string &obj_path, const std::string &attr_name)
 
void add_ignored_info_links (const std::string &link_name)
 
void add_ignored_info_links_header ()
 
void add_ignored_info_namedtypes (const std::string &, const std::string &)
 
void add_ignored_info_obj_header ()
 
void add_ignored_info_objs (bool is_dim_related, const std::string &obj_path)
 
void add_ignored_info_page_header ()
 
void add_ignored_var_longstr_info (Var *var, Attribute *attr)
 
void add_no_ignored_info ()
 
void Add_One_FakeDim_Name (Dimension *dim)
 
void Add_One_Float_Attr (Attribute *attr, const std::string &attrname, float float_value)
 
void Add_SeaWiFS_Attrs ()
 
void Add_Str_Attr (Attribute *attr, const std::string &attrname, const std::string &strvalue)
 
void Add_UseDimscale_Var_Dim_Names_General_Product (Var *, Attribute *)
 
void Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone (Var *, Attribute *)
 
void Add_VarPath_In_Coordinates_Attr (Var *, const std::string &)
 
void Adjust_Duplicate_FakeDim_Name (Dimension *dim)
 
void Adjust_GPM_L3_Obj_Name ()
 
void Adjust_Mea_Ozone_Obj_Name ()
 
void Build_lat1D_latlon_candidate (Var *, const std::vector< Var * > &)
 
void Build_latg1D_latlon_candidate (Var *, const std::vector< Var * > &)
 
void Build_unique_latlon_candidate ()
 
void Change_Attr_One_Str_to_Others (Attribute *attr, Var *var)
 
bool Check_1DGeolocation_Dimscale ()
 
bool Check_And_Update_New_GPM_L3 ()
 
bool check_cv (const std::string &varname) const
 
bool Check_Dimscale_General_Product_Pattern ()
 
bool Check_DropLongStr (Var *var, Attribute *attr)
 
void Check_General_Product_Pattern ()
 
std::string Check_Grid_Mapping_FullPath (const std::string &attr_value)
 
std::string Check_Grid_Mapping_VarName (const std::string &attr_value, const std::string &var_full_path)
 
bool Check_LatLon1D_General_Product_Pattern ()
 
bool Check_LatLon1D_General_Product_Pattern_Name_Size (const std::string &latname, const std::string &lonname)
 
bool Check_LatLon2D_General_Product_Pattern ()
 
bool Check_LatLon2D_General_Product_Pattern_Name_Size (const std::string &latname, const std::string &lonname)
 
bool Check_LatLon_With_Coordinate_Attr_General_Product_Pattern ()
 
bool Check_Var_2D_CVars (Var *)
 
bool Check_VarDropLongStr (const std::string &varpath, const std::vector< Dimension * > &, H5DataType) const
 
bool Coord_Match_LatLon_NameSize (const std::string &coord_values)
 
bool Coord_Match_LatLon_NameSize_Same_Group (const std::string &coord_values, const std::string &var_path)
 
void Correct_GPM_L1_LatLon_units (Var *var, const std::string unit_value)
 
void Create_Missing_CV (GMCVar *, const std::string &)
 
bool Flatten_VarPath_In_Coordinates_Attr (Var *)
 
void Gen_DimScale_VarAttr_Unsupported_Dtype_Info ()
 
void Gen_GM_VarAttr_Unsupported_Dtype_Info ()
 
void Gen_Group_Unsupported_Dtype_Info ()
 
virtual void Gen_Unsupported_Dspace_Info ()
 
virtual void Gen_Unsupported_Dtype_Info (bool)
 
void Gen_Var_Unsupported_Dtype_Info ()
 
virtual void Gen_VarAttr_Unsupported_Dtype_Info ()
 
virtual std::string get_CF_string (std::string s)
 
template<typename T >
void GMHandle_General_NameClashing (std::set< std::string > &objnameset, std::vector< T * > &objvec)
 
void Handle_CVar_Aqu_L3 ()
 
void Handle_CVar_Dimscale_General_Product ()
 
void Handle_CVar_GPM_L1 ()
 
void Handle_CVar_GPM_L3 ()
 
void Handle_CVar_LatLon1D_General_Product ()
 
void Handle_CVar_LatLon2D_General_Product ()
 
void Handle_CVar_LatLon_General_Product ()
 
void Handle_CVar_Mea_Ozone ()
 
void Handle_CVar_Mea_SeaWiFS ()
 
void Handle_CVar_OBPG_L3 ()
 
void Handle_CVar_OSMAPL2S ()
 
template<typename T >
void Handle_General_NameClashing (std::set< std::string > &objnameset, std::vector< T * > &objvec)
 
void Handle_GeneralObj_NameClashing (bool, std::set< std::string > &objnameset)
 
void Handle_GM_Unsupported_Dspace (bool)
 
void Handle_GM_Unsupported_Dtype (bool)
 
void Handle_GMCVar_AttrNameClashing ()
 
void Handle_GMCVar_NameClashing (std::set< std::string > &)
 
void Handle_GMSPVar_AttrNameClashing ()
 
void Handle_GMSPVar_NameClashing (std::set< std::string > &)
 
void Handle_GPM_l1_Coor_Attr ()
 
void Handle_Group_NameClashing (std::set< std::string > &objnameset)
 
void Handle_Group_Unsupported_Dtype ()
 
void Handle_GroupAttr_Unsupported_Dspace ()
 
void Handle_LatLon_With_CoordinateAttr_Coor_Attr ()
 
void Handle_Obj_AttrNameClashing ()
 
void Handle_SpVar_ACOS_OCO2 ()
 
void Handle_UseDimscale_Var_Dim_Names_General_Product (Var *)
 
void Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone (Var *)
 
void Handle_Var_NameClashing (std::set< std::string > &objnameset)
 
void Handle_Var_Unsupported_Dtype ()
 
void Handle_VarAttr_Unsupported_Dspace ()
 
void Handle_VarAttr_Unsupported_Dtype ()
 
bool has_latlon_cf_units (Attribute *attr, const std::string &varfullpath, bool is_lat)
 
bool ignored_dimscale_ref_list (Var *var)
 
void Insert_One_NameSizeMap_Element (std::string name, hsize_t size, bool unlimited)
 
void Insert_One_NameSizeMap_Element2 (std::map< std::string, hsize_t > &, std::map< std::string, bool > &, std::string name, hsize_t size, bool unlimited)
 
bool Is_geolatlon (const std::string &var_name, bool is_lat)
 
bool Is_netCDF_Dimension (Var *var)
 
bool Is_Str_Attr (Attribute *attr, std::string varfullpath, const std::string &attrname, const std::string &strvalue)
 
bool is_var_under_group (const std::string &varname, const std::string &grpname, const int var_rank, std::vector< size_t > &var_size)
 
void Obtain_1DLatLon_CVs (std::vector< GMCVar * > &cvar_1dlat, std::vector< GMCVar * > &cvar_1dlon)
 
void Obtain_2DLatLon_Vars (std::vector< Var * > &var_2dlat, std::vector< Var * > &var_2dlon, std::map< std::string, int > &latlon2d_path_to_index)
 
void Obtain_2DLLCVar_Candidate (std::vector< Var * > &var_2dlat, std::vector< Var * > &var_2dlon, std::map< std::string, int > &latlon2d_path_to_index)
 
void Obtain_2DLLVars_With_Dims_not_1DLLCVars (std::vector< Var * > &var_2dlat, std::vector< Var * > &var_2dlon, std::vector< GMCVar * > &cvar_1dlat, std::vector< GMCVar * > &cvar_1dlon, std::map< std::string, int > &latlon2d_path_to_index)
 
void Obtain_unique_2dCV (std::vector< Var * > &, std::map< std::string, int > &)
 
void release_standalone_GMCVar_vector (std::vector< GMCVar * > &tempgc_vars)
 
void release_standalone_var_vector (std::vector< Var * > &vars)
 
void Remove_2DLLCVar_Final_Candidate_from_Vars (std::vector< int > &)
 
bool Remove_EOS5_Strings (std::string &)
 
bool Remove_EOS5_Strings_NonEOS_Fields (std::string &)
 
void remove_netCDF_internal_attributes (bool include_attr)
 
void Remove_OMPSNPP_InputPointers ()
 
virtual void Replace_Var_Attrs (Var *src, Var *target)
 
virtual void Replace_Var_Info (Var *src, Var *target)
 
void Replace_Var_Str_Attr (Var *var, const std::string &attr_name, const std::string &strvalue)
 
void Retrieve_H5_Attr_Info (Attribute *, hid_t obj_id, const int j, bool &unsup_attr_dtype, bool &unsup_attr_dspace)
 
void Retrieve_H5_Attr_Value (Attribute *attr, std::string)
 
void Retrieve_H5_Obj (hid_t grp_id, const char *gname, bool include_attr)
 
float Retrieve_H5_VarCompRatio (Var *, hid_t)
 
void Retrieve_H5_VarDim (Var *, hid_t dset_id, const std::string &varname, bool &unsup_var_dspace)
 
void Retrieve_H5_VarType (Var *, hid_t dset_id, const std::string &varname, bool &unsup_var_dtype)
 
std::string Retrieve_Str_Attr_Value (Attribute *attr, const std::string var_path)
 
void Update_M2DLatLon_Dimscale_CVs ()
 

Protected Attributes

bool _is_dap4
 
int addeddimindex
 
bool check_ignored
 
std::map< std::string, hsize_t > dimname_to_dimsize
 
std::map< std::string, booldimname_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...
 

Detailed Description

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

Definition at line 845 of file HDF5CF.h.

Constructor & Destructor Documentation

◆ GMFile()

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

Definition at line 169 of file HDF5GMCF.cc.

◆ ~GMFile()

GMFile::~GMFile ( )
virtual

Definition at line 176 of file HDF5GMCF.cc.

Member Function Documentation

◆ Add_Aqu_Attrs()

void GMFile::Add_Aqu_Attrs ( )
protected

Definition at line 5699 of file HDF5GMCF.cc.

◆ Add_Dim_Name()

void GMFile::Add_Dim_Name ( )

Add dimension name.

Definition at line 833 of file HDF5GMCF.cc.

◆ Add_Dim_Name_ACOS_L2S_OCO2_L1B()

void GMFile::Add_Dim_Name_ACOS_L2S_OCO2_L1B ( )
protected

Definition at line 1480 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Aqu_L3()

void GMFile::Add_Dim_Name_Aqu_L3 ( )
protected

Definition at line 1383 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Dimscale_General_Product()

void GMFile::Add_Dim_Name_Dimscale_General_Product ( )
protected

Definition at line 2712 of file HDF5GMCF.cc.

◆ Add_Dim_Name_General_Product()

void GMFile::Add_Dim_Name_General_Product ( )
protected

Definition at line 1499 of file HDF5GMCF.cc.

◆ Add_Dim_Name_GPM()

void GMFile::Add_Dim_Name_GPM ( )
protected

Definition at line 1289 of file HDF5GMCF.cc.

◆ Add_Dim_Name_LatLon1D_Or_CoordAttr_General_Product()

void GMFile::Add_Dim_Name_LatLon1D_Or_CoordAttr_General_Product ( )
protected

Definition at line 2691 of file HDF5GMCF.cc.

◆ Add_Dim_Name_LatLon2D_General_Product()

void GMFile::Add_Dim_Name_LatLon2D_General_Product ( )
protected

Definition at line 2527 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_Ozonel3z()

void GMFile::Add_Dim_Name_Mea_Ozonel3z ( )
protected

Definition at line 1132 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_SeaWiFS()

void GMFile::Add_Dim_Name_Mea_SeaWiFS ( )
protected

Definition at line 893 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OBPG_L3()

void GMFile::Add_Dim_Name_OBPG_L3 ( )
protected

Definition at line 883 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OSMAPL2S()

void GMFile::Add_Dim_Name_OSMAPL2S ( )
protected

Definition at line 1412 of file HDF5GMCF.cc.

◆ Add_GPM_Attrs()

void GMFile::Add_GPM_Attrs ( )
protected

Definition at line 5360 of file HDF5GMCF.cc.

◆ add_ignored_droplongstr_hdr()

void File::add_ignored_droplongstr_hdr ( )
protectedinherited

Definition at line 2749 of file HDF5CF.cc.

◆ add_ignored_grp_longstr_info()

void File::add_ignored_grp_longstr_info ( const std::string &  grp_path,
const std::string &  attr_name 
)
protectedinherited

Definition at line 2727 of file HDF5CF.cc.

◆ add_ignored_info_attrs()

void File::add_ignored_info_attrs ( bool  is_grp,
const std::string &  obj_path,
const std::string &  attr_name 
)
protectedinherited

Definition at line 2394 of file HDF5CF.cc.

◆ add_ignored_info_links()

void File::add_ignored_info_links ( const std::string &  link_name)
protectedinherited

Definition at line 2364 of file HDF5CF.cc.

◆ add_ignored_info_links_header()

void File::add_ignored_info_links_header ( )
protectedinherited

Definition at line 2324 of file HDF5CF.cc.

◆ add_ignored_info_namedtypes()

void File::add_ignored_info_namedtypes ( const std::string &  ,
const std::string &   
)
protectedinherited

Definition at line 2373 of file HDF5CF.cc.

◆ add_ignored_info_obj_header()

void File::add_ignored_info_obj_header ( )
protectedinherited

Definition at line 2299 of file HDF5CF.cc.

◆ add_ignored_info_objs()

void File::add_ignored_info_objs ( bool  is_dim_related,
const std::string &  obj_path 
)
protectedinherited

Definition at line 2427 of file HDF5CF.cc.

◆ add_ignored_info_page_header()

void File::add_ignored_info_page_header ( )
protectedinherited

Definition at line 2292 of file HDF5CF.cc.

◆ add_ignored_var_longstr_info()

void File::add_ignored_var_longstr_info ( Var var,
Attribute attr 
)
protectedinherited

Definition at line 2736 of file HDF5CF.cc.

◆ add_no_ignored_info()

void File::add_no_ignored_info ( )
protectedinherited

Definition at line 2457 of file HDF5CF.cc.

◆ Add_One_FakeDim_Name()

void File::Add_One_FakeDim_Name ( Dimension dim)
protectedinherited

Definition at line 1585 of file HDF5CF.cc.

◆ Add_One_Float_Attr()

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

Definition at line 1780 of file HDF5CF.cc.

◆ Add_Path_Coord_Attr()

void GMFile::Add_Path_Coord_Attr ( )

Update the coordinate attribute to include path and also flatten.

Definition at line 7026 of file HDF5GMCF.cc.

◆ Add_SeaWiFS_Attrs()

void GMFile::Add_SeaWiFS_Attrs ( )
protected

Definition at line 5829 of file HDF5GMCF.cc.

◆ Add_Str_Attr()

void File::Add_Str_Attr ( Attribute attr,
const std::string &  attrname,
const std::string &  strvalue 
)
protectedinherited

Definition at line 1710 of file HDF5CF.cc.

◆ Add_Supplement_Attrs()

void GMFile::Add_Supplement_Attrs ( bool  add_path)
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.

◆ Add_UseDimscale_Var_Dim_Names_General_Product()

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

Definition at line 2808 of file HDF5GMCF.cc.

◆ Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone()

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

Definition at line 992 of file HDF5GMCF.cc.

◆ Add_VarPath_In_Coordinates_Attr()

void GMFile::Add_VarPath_In_Coordinates_Attr ( Var var,
const std::string &  coor_value 
)
protected

Definition at line 6571 of file HDF5GMCF.cc.

◆ Adjust_Dim_Name()

void GMFile::Adjust_Dim_Name ( )
virtual

Adjust dimension name for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 5225 of file HDF5GMCF.cc.

◆ Adjust_Duplicate_FakeDim_Name()

void File::Adjust_Duplicate_FakeDim_Name ( Dimension dim)
protectedinherited

Definition at line 1638 of file HDF5CF.cc.

◆ Adjust_GPM_L3_Obj_Name()

void GMFile::Adjust_GPM_L3_Obj_Name ( )
protected

Definition at line 4935 of file HDF5GMCF.cc.

◆ Adjust_H5_Attr_Value()

void GMFile::Adjust_H5_Attr_Value ( Attribute attr)

Adjust attribute values for general HDF5 products.

Definition at line 382 of file HDF5GMCF.cc.

◆ Adjust_Mea_Ozone_Obj_Name()

void GMFile::Adjust_Mea_Ozone_Obj_Name ( )
protected

Definition at line 4959 of file HDF5GMCF.cc.

◆ Adjust_Obj_Name()

void GMFile::Adjust_Obj_Name ( )
virtual

Adjust object names based on different general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 4912 of file HDF5GMCF.cc.

◆ Build_lat1D_latlon_candidate()

void GMFile::Build_lat1D_latlon_candidate ( Var lat,
const std::vector< Var * > &  lon_vec 
)
protected

Definition at line 2216 of file HDF5GMCF.cc.

◆ Build_latg1D_latlon_candidate()

void GMFile::Build_latg1D_latlon_candidate ( Var lat,
const std::vector< Var * > &  lon_vec 
)
protected

Definition at line 2276 of file HDF5GMCF.cc.

◆ Build_unique_latlon_candidate()

void GMFile::Build_unique_latlon_candidate ( )
protected

Definition at line 2383 of file HDF5GMCF.cc.

◆ Change_Attr_One_Str_to_Others()

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

Definition at line 1792 of file HDF5CF.cc.

◆ Check_1DGeolocation_Dimscale()

bool GMFile::Check_1DGeolocation_Dimscale ( )
protected

Definition at line 3584 of file HDF5GMCF.cc.

◆ Check_And_Update_New_GPM_L3()

bool GMFile::Check_And_Update_New_GPM_L3 ( )
protected

Definition at line 1649 of file HDF5GMCF.cc.

◆ check_cv()

bool GMFile::check_cv ( const std::string &  varname) const
protected

Definition at line 1265 of file HDF5GMCF.cc.

◆ Check_Dimscale_General_Product_Pattern()

bool GMFile::Check_Dimscale_General_Product_Pattern ( )
protected

Definition at line 1540 of file HDF5GMCF.cc.

◆ Check_DropLongStr()

bool File::Check_DropLongStr ( Var var,
Attribute attr 
)
protectedinherited

Definition at line 2501 of file HDF5CF.cc.

◆ Check_General_Product_Pattern()

void GMFile::Check_General_Product_Pattern ( )
protected

Definition at line 1525 of file HDF5GMCF.cc.

◆ Check_Grid_Mapping_FullPath()

string File::Check_Grid_Mapping_FullPath ( const std::string &  attr_value)
protectedinherited

Definition at line 2196 of file HDF5CF.cc.

◆ Check_Grid_Mapping_VarName()

string File::Check_Grid_Mapping_VarName ( const std::string &  attr_value,
const std::string &  var_full_path 
)
protectedinherited

Definition at line 2180 of file HDF5CF.cc.

◆ Check_LatLon1D_General_Product_Pattern()

bool GMFile::Check_LatLon1D_General_Product_Pattern ( )
protected

Definition at line 1860 of file HDF5GMCF.cc.

◆ Check_LatLon1D_General_Product_Pattern_Name_Size()

bool GMFile::Check_LatLon1D_General_Product_Pattern_Name_Size ( const std::string &  latname,
const std::string &  lonname 
)
protected

Definition at line 1883 of file HDF5GMCF.cc.

◆ Check_LatLon2D_General_Product_Pattern()

bool GMFile::Check_LatLon2D_General_Product_Pattern ( )
protected

Definition at line 1715 of file HDF5GMCF.cc.

◆ Check_LatLon2D_General_Product_Pattern_Name_Size()

bool GMFile::Check_LatLon2D_General_Product_Pattern_Name_Size ( const std::string &  latname,
const std::string &  lonname 
)
protected

Definition at line 1739 of file HDF5GMCF.cc.

◆ Check_LatLon_With_Coordinate_Attr_General_Product_Pattern()

bool GMFile::Check_LatLon_With_Coordinate_Attr_General_Product_Pattern ( )
protected

Definition at line 1968 of file HDF5GMCF.cc.

◆ Check_Var_2D_CVars()

bool GMFile::Check_Var_2D_CVars ( Var var)
protected

Definition at line 4166 of file HDF5GMCF.cc.

◆ Check_VarDropLongStr()

bool File::Check_VarDropLongStr ( const std::string &  varpath,
const std::vector< Dimension * > &  ,
H5DataType   
) const
protectedinherited

Definition at line 2532 of file HDF5CF.cc.

◆ Coord_Match_LatLon_NameSize()

bool GMFile::Coord_Match_LatLon_NameSize ( const std::string &  coord_values)
protected

Definition at line 6482 of file HDF5GMCF.cc.

◆ Coord_Match_LatLon_NameSize_Same_Group()

bool GMFile::Coord_Match_LatLon_NameSize_Same_Group ( const std::string &  coord_values,
const std::string &  var_path 
)
protected

Definition at line 6532 of file HDF5GMCF.cc.

◆ Correct_GPM_L1_LatLon_units()

void GMFile::Correct_GPM_L1_LatLon_units ( Var var,
const std::string  unit_value 
)
protected

Definition at line 5666 of file HDF5GMCF.cc.

◆ Create_Missing_CV()

void GMFile::Create_Missing_CV ( GMCVar GMcvar,
const std::string &  dimname 
)
protected

Definition at line 6602 of file HDF5GMCF.cc.

◆ Flatten_Obj_Name()

void GMFile::Flatten_Obj_Name ( bool  include_attr)
virtual

Flatten the object name for general NASA HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 4997 of file HDF5GMCF.cc.

◆ Flatten_VarPath_In_Coordinates_Attr()

bool GMFile::Flatten_VarPath_In_Coordinates_Attr ( Var var)
protected

Definition at line 4204 of file HDF5GMCF.cc.

◆ Gen_DimScale_VarAttr_Unsupported_Dtype_Info()

void File::Gen_DimScale_VarAttr_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1181 of file HDF5CF.cc.

◆ Gen_GM_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_GM_VarAttr_Unsupported_Dtype_Info ( )
protected

Definition at line 506 of file HDF5GMCF.cc.

◆ Gen_Group_Unsupported_Dtype_Info()

void File::Gen_Group_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1053 of file HDF5CF.cc.

◆ Gen_Unsupported_Dspace_Info()

void GMFile::Gen_Unsupported_Dspace_Info ( )
protectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 687 of file HDF5GMCF.cc.

◆ Gen_Unsupported_Dtype_Info()

void GMFile::Gen_Unsupported_Dtype_Info ( bool  include_attr)
protectedvirtual

Implements HDF5CF::File.

Definition at line 474 of file HDF5GMCF.cc.

◆ Gen_Var_Unsupported_Dtype_Info()

void File::Gen_Var_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1112 of file HDF5CF.cc.

◆ Gen_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_VarAttr_Unsupported_Dtype_Info ( )
protectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 487 of file HDF5GMCF.cc.

◆ get_CF_string()

string GMFile::get_CF_string ( std::string  s)
protectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 194 of file HDF5GMCF.cc.

◆ Get_Ignored_Msg()

virtual const std::string & HDF5CF::GMFile::Get_Ignored_Msg ( )
inlinevirtual

Get the message that contains the ignored obj. info.

Implements HDF5CF::File.

Definition at line 953 of file HDF5CF.h.

◆ Get_IgnoredInfo_Flag()

virtual bool HDF5CF::GMFile::Get_IgnoredInfo_Flag ( )
inlinevirtual

Obtain ignored info. flag.

Implements HDF5CF::File.

Definition at line 947 of file HDF5CF.h.

◆ getAttributes()

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

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

Definition at line 679 of file HDF5CF.h.

◆ getCVars()

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

Definition at line 855 of file HDF5CF.h.

◆ getDap4()

bool HDF5CF::File::getDap4 ( ) const
inlineinherited

Definition at line 700 of file HDF5CF.h.

◆ getFileID()

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

Obtain the HDF5 file ID.

Definition at line 661 of file HDF5CF.h.

◆ getGroups()

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

Public interface to obtain all the group info.

Definition at line 685 of file HDF5CF.h.

◆ getPath()

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

Obtain the path of the file.

Definition at line 667 of file HDF5CF.h.

◆ getProductType()

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

Definition at line 850 of file HDF5CF.h.

◆ getSPVars()

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

Definition at line 860 of file HDF5CF.h.

◆ getVars()

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

Public interface to obtain information of all variables.

Definition at line 673 of file HDF5CF.h.

◆ GMHandle_General_NameClashing()

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

Definition at line 5115 of file HDF5GMCF.cc.

◆ Handle_Coor_Attr()

void GMFile::Handle_Coor_Attr ( )
virtual

Handle "coordinates" attributes for general HDF5 products.

Implements HDF5CF::File.

Definition at line 6016 of file HDF5GMCF.cc.

◆ Handle_CVar()

void GMFile::Handle_CVar ( )
virtual

Handle coordinate variables for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 2939 of file HDF5GMCF.cc.

◆ Handle_CVar_Aqu_L3()

void GMFile::Handle_CVar_Aqu_L3 ( )
protected

Definition at line 3268 of file HDF5GMCF.cc.

◆ Handle_CVar_Dimscale_General_Product()

void GMFile::Handle_CVar_Dimscale_General_Product ( )
protected

Definition at line 3344 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L1()

void GMFile::Handle_CVar_GPM_L1 ( )
protected

Definition at line 2977 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L3()

void GMFile::Handle_CVar_GPM_L3 ( )
protected

Definition at line 3067 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon1D_General_Product()

void GMFile::Handle_CVar_LatLon1D_General_Product ( )
protected

Definition at line 4658 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon2D_General_Product()

void GMFile::Handle_CVar_LatLon2D_General_Product ( )
protected

Definition at line 4667 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon_General_Product()

void GMFile::Handle_CVar_LatLon_General_Product ( )
protected

Definition at line 4676 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_Ozone()

void GMFile::Handle_CVar_Mea_Ozone ( )
protected

Definition at line 3300 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_SeaWiFS()

void GMFile::Handle_CVar_Mea_SeaWiFS ( )
protected

Definition at line 3122 of file HDF5GMCF.cc.

◆ Handle_CVar_OBPG_L3()

void GMFile::Handle_CVar_OBPG_L3 ( )
protected

Definition at line 4745 of file HDF5GMCF.cc.

◆ Handle_CVar_OSMAPL2S()

void GMFile::Handle_CVar_OSMAPL2S ( )
protected

Definition at line 3191 of file HDF5GMCF.cc.

◆ Handle_DimNameClashing()

void GMFile::Handle_DimNameClashing ( )
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.

◆ Handle_General_NameClashing()

template<class T >
void HDF5CF::File::Handle_General_NameClashing ( set< string > &  objnameset,
vector< T * > &  objvec 
)
inherited

Definition at line 1471 of file HDF5CF.cc.

◆ Handle_GeneralObj_NameClashing()

void File::Handle_GeneralObj_NameClashing ( bool  ,
std::set< std::string > &  objnameset 
)
protectedinherited

Definition at line 1514 of file HDF5CF.cc.

◆ Handle_GM_Unsupported_Dspace()

void GMFile::Handle_GM_Unsupported_Dspace ( bool  include_attr)
protected

Definition at line 609 of file HDF5GMCF.cc.

◆ Handle_GM_Unsupported_Dtype()

void GMFile::Handle_GM_Unsupported_Dtype ( bool  include_attr)
protected

Definition at line 411 of file HDF5GMCF.cc.

◆ Handle_GMCVar_AttrNameClashing()

void GMFile::Handle_GMCVar_AttrNameClashing ( )
protected

Definition at line 5086 of file HDF5GMCF.cc.

◆ Handle_GMCVar_NameClashing()

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

Definition at line 5074 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_AttrNameClashing()

void GMFile::Handle_GMSPVar_AttrNameClashing ( )
protected

Definition at line 5099 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_NameClashing()

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

Definition at line 5080 of file HDF5GMCF.cc.

◆ Handle_GPM_l1_Coor_Attr()

void GMFile::Handle_GPM_l1_Coor_Attr ( )
protected

Definition at line 6267 of file HDF5GMCF.cc.

◆ Handle_Grid_Mapping_Vars()

void GMFile::Handle_Grid_Mapping_Vars ( )
virtual

Handle Grid Mapping Vars.

Reimplemented from HDF5CF::File.

Definition at line 6954 of file HDF5GMCF.cc.

◆ Handle_Group_NameClashing()

void File::Handle_Group_NameClashing ( std::set< std::string > &  objnameset)
protectedinherited

Definition at line 1412 of file HDF5CF.cc.

◆ Handle_Group_Unsupported_Dtype()

void File::Handle_Group_Unsupported_Dtype ( )
protectedinherited

Definition at line 1012 of file HDF5CF.cc.

◆ Handle_GroupAttr_Unsupported_Dspace()

void File::Handle_GroupAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1210 of file HDF5CF.cc.

◆ Handle_Hybrid_EOS5()

void GMFile::Handle_Hybrid_EOS5 ( )

Definition at line 6690 of file HDF5GMCF.cc.

◆ Handle_LatLon_With_CoordinateAttr_Coor_Attr()

void GMFile::Handle_LatLon_With_CoordinateAttr_Coor_Attr ( )
protected

Definition at line 6450 of file HDF5GMCF.cc.

◆ Handle_Obj_AttrNameClashing()

void File::Handle_Obj_AttrNameClashing ( )
protectedinherited

Definition at line 1440 of file HDF5CF.cc.

◆ Handle_Obj_NameClashing()

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.

◆ Handle_SpVar()

void GMFile::Handle_SpVar ( )
virtual

Handle special variables for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 4822 of file HDF5GMCF.cc.

◆ Handle_SpVar_ACOS_OCO2()

void GMFile::Handle_SpVar_ACOS_OCO2 ( )
protected

Definition at line 4868 of file HDF5GMCF.cc.

◆ Handle_SpVar_Attr()

void GMFile::Handle_SpVar_Attr ( )
virtual

Handle special variable attributes for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 6654 of file HDF5GMCF.cc.

◆ Handle_SpVar_DMR()

virtual void HDF5CF::GMFile::Handle_SpVar_DMR ( )
inlinevirtual

Handle special variables and attributes for general NASA HDF5 files(for DMR) Note this function is not used.

Implements HDF5CF::File.

Definition at line 902 of file HDF5CF.h.

◆ Handle_Unsupported_Dspace()

void GMFile::Handle_Unsupported_Dspace ( bool  include_attr)
virtual

Handle unsupported HDF5 dataspaces for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 597 of file HDF5GMCF.cc.

◆ Handle_Unsupported_Dtype()

void GMFile::Handle_Unsupported_Dtype ( bool  include_attr)
virtual

Handle unsupported HDF5 datatypes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 400 of file HDF5GMCF.cc.

◆ Handle_Unsupported_Others()

void GMFile::Handle_Unsupported_Others ( bool  include_attr)
virtual

Handle other unmapped objects/attributes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 694 of file HDF5GMCF.cc.

◆ Handle_UseDimscale_Var_Dim_Names_General_Product()

void GMFile::Handle_UseDimscale_Var_Dim_Names_General_Product ( Var var)
protected

Definition at line 2740 of file HDF5GMCF.cc.

◆ Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone()

void GMFile::Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone ( Var var)
protected

Definition at line 915 of file HDF5GMCF.cc.

◆ Handle_Var_NameClashing()

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

Definition at line 1405 of file HDF5CF.cc.

◆ Handle_Var_Unsupported_Dtype()

void File::Handle_Var_Unsupported_Dtype ( )
protectedinherited

Definition at line 1092 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dspace()

void File::Handle_VarAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1250 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dtype()

void File::Handle_VarAttr_Unsupported_Dtype ( )
protectedinherited

Definition at line 1132 of file HDF5CF.cc.

◆ has_latlon_cf_units()

bool File::has_latlon_cf_units ( Attribute attr,
const std::string &  varfullpath,
bool  is_lat 
)
protectedinherited

Definition at line 1766 of file HDF5CF.cc.

◆ Have_Grid_Mapping_Attrs()

bool GMFile::Have_Grid_Mapping_Attrs ( )
virtual

Check if having Grid Mapping Attrs.

Reimplemented from HDF5CF::File.

Definition at line 6950 of file HDF5GMCF.cc.

◆ HaveUnlimitedDim()

bool HDF5CF::File::HaveUnlimitedDim ( ) const
inlineinherited

Has unlimited dimensions.

Definition at line 691 of file HDF5CF.h.

◆ ignored_dimscale_ref_list()

bool File::ignored_dimscale_ref_list ( Var var)
protectedinherited

Definition at line 2466 of file HDF5CF.cc.

◆ Insert_One_NameSizeMap_Element()

void File::Insert_One_NameSizeMap_Element ( std::string  name,
hsize_t  size,
bool  unlimited 
)
protectedinherited

Definition at line 1542 of file HDF5CF.cc.

◆ Insert_One_NameSizeMap_Element2()

void File::Insert_One_NameSizeMap_Element2 ( std::map< std::string, hsize_t > &  ,
std::map< std::string, bool > &  ,
std::string  name,
hsize_t  size,
bool  unlimited 
)
protectedinherited

Definition at line 1557 of file HDF5CF.cc.

◆ Is_geolatlon()

bool File::Is_geolatlon ( const std::string &  var_name,
bool  is_lat 
)
protectedinherited

Definition at line 1947 of file HDF5CF.cc.

◆ Is_Hybrid_EOS5()

bool GMFile::Is_Hybrid_EOS5 ( )

Definition at line 6659 of file HDF5GMCF.cc.

◆ Is_netCDF_Dimension()

bool GMFile::Is_netCDF_Dimension ( Var var)
protected

Definition at line 6625 of file HDF5GMCF.cc.

◆ Is_Str_Attr()

bool File::Is_Str_Attr ( Attribute attr,
std::string  varfullpath,
const std::string &  attrname,
const std::string &  strvalue 
)
protectedinherited

Definition at line 1754 of file HDF5CF.cc.

◆ is_var_under_group()

bool File::is_var_under_group ( const std::string &  varname,
const std::string &  grpname,
const int  var_rank,
std::vector< size_t > &  var_size 
)
protectedinherited

Definition at line 2103 of file HDF5CF.cc.

◆ Obtain_1DLatLon_CVs()

void GMFile::Obtain_1DLatLon_CVs ( std::vector< GMCVar * > &  cvar_1dlat,
std::vector< GMCVar * > &  cvar_1dlon 
)
protected

Definition at line 3749 of file HDF5GMCF.cc.

◆ Obtain_2DLatLon_Vars()

void GMFile::Obtain_2DLatLon_Vars ( std::vector< Var * > &  var_2dlat,
std::vector< Var * > &  var_2dlon,
std::map< std::string, int > &  latlon2d_path_to_index 
)
protected

Definition at line 3789 of file HDF5GMCF.cc.

◆ Obtain_2DLLCVar_Candidate()

void GMFile::Obtain_2DLLCVar_Candidate ( std::vector< Var * > &  var_2dlat,
std::vector< Var * > &  var_2dlon,
std::map< std::string, int > &  latlon2d_path_to_index 
)
protected

Definition at line 3904 of file HDF5GMCF.cc.

◆ Obtain_2DLLVars_With_Dims_not_1DLLCVars()

void GMFile::Obtain_2DLLVars_With_Dims_not_1DLLCVars ( std::vector< Var * > &  var_2dlat,
std::vector< Var * > &  var_2dlon,
std::vector< GMCVar * > &  cvar_1dlat,
std::vector< GMCVar * > &  cvar_1dlon,
std::map< std::string, int > &  latlon2d_path_to_index 
)
protected

Definition at line 3848 of file HDF5GMCF.cc.

◆ Obtain_unique_2dCV()

void GMFile::Obtain_unique_2dCV ( std::vector< Var * > &  var_ll,
std::map< std::string, int > &  latlon2d_path_to_index 
)
protected

Definition at line 4051 of file HDF5GMCF.cc.

◆ release_standalone_GMCVar_vector()

void GMFile::release_standalone_GMCVar_vector ( std::vector< GMCVar * > &  tempgc_vars)
protected

Definition at line 7067 of file HDF5GMCF.cc.

◆ release_standalone_var_vector()

void File::release_standalone_var_vector ( std::vector< Var * > &  vars)
protectedinherited

Definition at line 2763 of file HDF5CF.cc.

◆ Remove_2DLLCVar_Final_Candidate_from_Vars()

void GMFile::Remove_2DLLCVar_Final_Candidate_from_Vars ( std::vector< int > &  var2d_index)
protected

Definition at line 4137 of file HDF5GMCF.cc.

◆ Remove_EOS5_Strings()

bool GMFile::Remove_EOS5_Strings ( std::string &  var_name)
protected

Definition at line 6846 of file HDF5GMCF.cc.

◆ Remove_EOS5_Strings_NonEOS_Fields()

bool GMFile::Remove_EOS5_Strings_NonEOS_Fields ( std::string &  var_name)
protected

Definition at line 6919 of file HDF5GMCF.cc.

◆ remove_netCDF_internal_attributes()

void File::remove_netCDF_internal_attributes ( bool  include_attr)
protectedinherited

Definition at line 2209 of file HDF5CF.cc.

◆ Remove_OMPSNPP_InputPointers()

void GMFile::Remove_OMPSNPP_InputPointers ( )
protected

Definition at line 307 of file HDF5GMCF.cc.

◆ Remove_Unneeded_Objects()

void GMFile::Remove_Unneeded_Objects ( )

Remove unneeded objects.

Definition at line 261 of file HDF5GMCF.cc.

◆ Remove_Unused_FakeDimVars()

void GMFile::Remove_Unused_FakeDimVars ( )

Unsupported datatype array may generate FakeDim. Remove them.

Definition at line 6958 of file HDF5GMCF.cc.

◆ Rename_NC4_NonCoordVars()

void GMFile::Rename_NC4_NonCoordVars ( )

Remove the _nc4_non_coord from the variable new names.

Definition at line 7006 of file HDF5GMCF.cc.

◆ Replace_Var_Attrs()

void File::Replace_Var_Attrs ( Var src,
Var target 
)
protectedvirtualinherited

Definition at line 2072 of file HDF5CF.cc.

◆ Replace_Var_Info()

void File::Replace_Var_Info ( Var src,
Var target 
)
protectedvirtualinherited

Definition at line 2016 of file HDF5CF.cc.

◆ Replace_Var_Str_Attr()

void File::Replace_Var_Str_Attr ( Var var,
const std::string &  attr_name,
const std::string &  strvalue 
)
protectedinherited

Definition at line 1912 of file HDF5CF.cc.

◆ Retrieve_H5_Attr_Info()

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

Definition at line 588 of file HDF5CF.cc.

◆ Retrieve_H5_Attr_Value()

void File::Retrieve_H5_Attr_Value ( Attribute attr,
std::string   
)
protectedinherited

Definition at line 756 of file HDF5CF.cc.

◆ Retrieve_H5_CVar_Supported_Attr_Values()

void GMFile::Retrieve_H5_CVar_Supported_Attr_Values ( )
virtual

Retrieve coordinate variable attributes.

Implements HDF5CF::File.

Definition at line 333 of file HDF5GMCF.cc.

◆ Retrieve_H5_Info()

void GMFile::Retrieve_H5_Info ( const char *  path,
hid_t  file_id,
bool  include_attr 
)
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.

◆ Retrieve_H5_Obj()

void File::Retrieve_H5_Obj ( hid_t  grp_id,
const char *  gname,
bool  include_attr 
)
protectedinherited

Definition at line 231 of file HDF5CF.cc.

◆ Retrieve_H5_Supported_Attr_Values()

void GMFile::Retrieve_H5_Supported_Attr_Values ( )
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.

◆ Retrieve_H5_Var_Attr_Values()

void File::Retrieve_H5_Var_Attr_Values ( Var var)
virtualinherited

Retrieve attribute values for a variable.

Definition at line 748 of file HDF5CF.cc.

◆ Retrieve_H5_VarCompRatio()

float File::Retrieve_H5_VarCompRatio ( Var var,
hid_t  dset_id 
)
protectedinherited

Definition at line 449 of file HDF5CF.cc.

◆ Retrieve_H5_VarDim()

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

Definition at line 517 of file HDF5CF.cc.

◆ Retrieve_H5_VarType()

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

Definition at line 483 of file HDF5CF.cc.

◆ Retrieve_Str_Attr_Value()

string File::Retrieve_Str_Attr_Value ( Attribute attr,
const std::string  var_path 
)
protectedinherited

Definition at line 1741 of file HDF5CF.cc.

◆ setDap4()

void HDF5CF::File::setDap4 ( bool  is_dap4)
inlineinherited

Definition at line 696 of file HDF5CF.h.

◆ Update_M2DLatLon_Dimscale_CVs()

void GMFile::Update_M2DLatLon_Dimscale_CVs ( )
protected

Definition at line 3410 of file HDF5GMCF.cc.

◆ Update_Product_Type()

void GMFile::Update_Product_Type ( )

Update "product type" attributes for general HDF5 products.

Definition at line 238 of file HDF5GMCF.cc.

Member Data Documentation

◆ _is_dap4

bool HDF5CF::File::_is_dap4
protectedinherited

Definition at line 839 of file HDF5CF.h.

◆ addeddimindex

int HDF5CF::File::addeddimindex
protectedinherited

Definition at line 834 of file HDF5CF.h.

◆ check_ignored

bool HDF5CF::File::check_ignored
protectedinherited

Definition at line 836 of file HDF5CF.h.

◆ dimname_to_dimsize

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

Definition at line 827 of file HDF5CF.h.

◆ dimname_to_unlimited

std::map<std::string, bool> HDF5CF::File::dimname_to_unlimited
protectedinherited

Definition at line 830 of file HDF5CF.h.

◆ dimnamelist

std::set<std::string> HDF5CF::File::dimnamelist
protectedinherited

Definition at line 825 of file HDF5CF.h.

◆ dimsize_to_fakedimname

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

Handle added dimension names.

Definition at line 833 of file HDF5CF.h.

◆ fileid

hid_t HDF5CF::File::fileid
protectedinherited

Definition at line 806 of file HDF5CF.h.

◆ groups

std::vector<Group*> HDF5CF::File::groups
protectedinherited

Non-root group vectors.

Definition at line 816 of file HDF5CF.h.

◆ have_ignored

bool HDF5CF::File::have_ignored
protectedinherited

Definition at line 837 of file HDF5CF.h.

◆ have_udim

bool HDF5CF::File::have_udim
protectedinherited

Definition at line 838 of file HDF5CF.h.

◆ ignored_msg

std::string HDF5CF::File::ignored_msg
protectedinherited

Definition at line 840 of file HDF5CF.h.

◆ path

std::string HDF5CF::File::path
protectedinherited

Definition at line 805 of file HDF5CF.h.

◆ root_attrs

std::vector<Attribute *> HDF5CF::File::root_attrs
protectedinherited

Root attribute vectors.

Definition at line 813 of file HDF5CF.h.

◆ rootid

hid_t HDF5CF::File::rootid
protectedinherited

Definition at line 807 of file HDF5CF.h.

◆ unsupported_attr_dspace

bool HDF5CF::File::unsupported_attr_dspace
protectedinherited

Definition at line 822 of file HDF5CF.h.

◆ unsupported_attr_dtype

bool HDF5CF::File::unsupported_attr_dtype
protectedinherited

Definition at line 819 of file HDF5CF.h.

◆ unsupported_var_attr_dspace

bool HDF5CF::File::unsupported_var_attr_dspace
protectedinherited

Definition at line 823 of file HDF5CF.h.

◆ unsupported_var_dspace

bool HDF5CF::File::unsupported_var_dspace
protectedinherited

Definition at line 821 of file HDF5CF.h.

◆ unsupported_var_dtype

bool HDF5CF::File::unsupported_var_dtype
protectedinherited

Definition at line 818 of file HDF5CF.h.

◆ vars

std::vector<Var *> HDF5CF::File::vars
protectedinherited

Var vectors.

Definition at line 810 of file HDF5CF.h.


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