bes Updated for version 3.20.13
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.
 
void Add_Path_Coord_Attr ()
 Update the coordinate attribute to include path and also flatten.
 
void Add_Supplement_Attrs (bool) override
 Add supplemental attributes such as fullpath and original name for general NASA HDF5 products.
 
void Adjust_Dim_Name () override
 Adjust dimension name for general NASA HDF5 products.
 
void Adjust_H5_Attr_Value (Attribute *attr)
 Adjust attribute values for general HDF5 products.
 
void Adjust_Obj_Name () override
 Adjust object names based on different general NASA HDF5 products.
 
void Flatten_Obj_Name (bool include_attr) override
 Flatten the object name for general NASA HDF5 products.
 
const std::string & Get_Ignored_Msg () override
 Get the message that contains the ignored obj. info.
 
bool Get_IgnoredInfo_Flag () override
 Obtain ignored info. flag.
 
const std::vector< Attribute * > & getAttributes () const
 Public interface to obtain information of all attributes under the root group.
 
const std::vector< GMCVar * > & getCVars () const
 
bool getDap4 () const
 
hid_t getFileID () const
 Obtain the HDF5 file ID.
 
const std::vector< Group * > & getGroups () const
 Public interface to obtain all the group info.
 
bool getIsCOARD () const
 
const std::string & getPath () const
 Obtain the path of the file.
 
H5GCFProduct getProductType () const
 
const std::vector< GMSPVar * > & getSPVars () const
 
const std::vector< Var * > & getVars () const
 Public interface to obtain information of all variables.
 
 GMFile (const char *path, hid_t file_id, H5GCFProduct product, GMPattern gproduct_pattern)
 
void Handle_Coor_Attr () override
 Handle "coordinates" attributes for general HDF5 products.
 
void Handle_CVar () override
 Handle coordinate variables for general NASA HDF5 products.
 
void Handle_DimNameClashing () override
 
template<class T >
void Handle_General_NameClashing (set< string > &objnameset, vector< T * > &objvec)
 
void Handle_Grid_Mapping_Vars () override
 Handle Grid Mapping Vars.
 
void Handle_Hybrid_EOS5 ()
 
void Handle_Obj_NameClashing (bool)
 Handle object name clashing for general NASA HDF5 products.
 
void Handle_SpVar () override
 Handle special variables for general NASA HDF5 products.
 
void Handle_SpVar_Attr () override
 Handle special variable attributes for general NASA HDF5 products.
 
void Handle_SpVar_DMR () override
 
void Handle_Unsupported_Dspace (bool) override
 Handle unsupported HDF5 dataspaces for general HDF5 products.
 
void Handle_Unsupported_Dtype (bool) override
 Handle unsupported HDF5 datatypes for general HDF5 products.
 
void Handle_Unsupported_Others (bool) override
 Handle other unmapped objects/attributes for general HDF5 products.
 
bool Have_Grid_Mapping_Attrs () override
 Check if having Grid Mapping Attrs.
 
bool HaveUnlimitedDim () const
 Has unlimited dimensions.
 
bool Is_Hybrid_EOS5 ()
 
void Remove_Unneeded_Objects ()
 Remove unneeded objects.
 
void Remove_Unused_FakeDimVars ()
 Unsupported datatype array may generate FakeDim. Remove them.
 
void Rename_NC4_NonCoordVars ()
 Remove the _nc4_non_coord from the variable new names.
 
void Retrieve_H5_CVar_Supported_Attr_Values () override
 Retrieve coordinate variable attributes.
 
void Retrieve_H5_Info (const char *path, hid_t file_id, bool include_attr) override
 Retrieve DDS information from the HDF5 file; real implementation for general HDF5 products.
 
void Retrieve_H5_Supported_Attr_Values () override
 Retrieve attribute values for the supported HDF5 datatypes for general HDF5 products.
 
virtual void Retrieve_H5_Var_Attr_Values (Var *var)
 Retrieve attribute values for a variable.
 
void setDap4 (bool is_dap4)
 
void Update_Product_Type ()
 Update "product type" attributes for general HDF5 products.
 

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 (const Var *var, const 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 *, const Attribute *)
 
void Add_VarPath_In_Coordinates_Attr (Var *, const std::string &)
 
void Adjust_Duplicate_FakeDim_Name (Dimension *dim)
 
void Adjust_Duplicate_FakeDim_Name2 (Dimension *dim, int dup_dim_size_index)
 
void Adjust_GPM_L3_Obj_Name ()
 
void Adjust_Mea_Ozone_Obj_Name ()
 
void Build_lat1D_latlon_candidate (const 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, const 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 (const Var *var, const 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 ()
 
void Gen_Unsupported_Dspace_Info () override
 
void Gen_Unsupported_Dtype_Info (bool) override
 
void Gen_Var_Unsupported_Dtype_Info ()
 
void Gen_VarAttr_Unsupported_Dtype_Info () override
 
std::string get_CF_string (std::string s) override
 
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, const 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 ()
 
void Replace_Var_Attrs (Var *src, Var *target)
 
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, const std::string &)
 
void Retrieve_H5_Obj (hid_t grp_id, const char *gname, bool include_attr)
 
float Retrieve_H5_VarCompRatio (const Var *, const hid_t) const
 
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 = false
 
int addeddimindex = 0
 
bool check_ignored = false
 
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.
 
std::vector< std::pair< hsize_t, std::string > > dup_dimsize_dimname
 
hid_t fileid
 
std::vector< Group * > groups
 Non-root group vectors.
 
bool have_ignored = false
 
bool have_udim = false
 
std::string ignored_msg
 
bool iscoard = false
 
std::string path
 
std::vector< Attribute * > root_attrs
 Root attribute vectors.
 
hid_t rootid = -1
 
bool unsupported_attr_dspace = false
 
bool unsupported_attr_dtype = false
 
bool unsupported_var_attr_dspace = false
 
bool unsupported_var_dspace = false
 
bool unsupported_var_dtype = false
 
std::vector< Var * > vars
 Var vectors.
 

Detailed Description

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

Definition at line 826 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 170 of file HDF5GMCF.cc.

◆ ~GMFile()

GMFile::~GMFile ( )
override

Definition at line 177 of file HDF5GMCF.cc.

Member Function Documentation

◆ Add_Aqu_Attrs()

void GMFile::Add_Aqu_Attrs ( )
protected

Definition at line 5580 of file HDF5GMCF.cc.

◆ Add_Dim_Name()

void GMFile::Add_Dim_Name ( )

Add dimension name.

Definition at line 805 of file HDF5GMCF.cc.

◆ Add_Dim_Name_ACOS_L2S_OCO2_L1B()

void GMFile::Add_Dim_Name_ACOS_L2S_OCO2_L1B ( )
protected

Definition at line 1429 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Aqu_L3()

void GMFile::Add_Dim_Name_Aqu_L3 ( )
protected

Definition at line 1337 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Dimscale_General_Product()

void GMFile::Add_Dim_Name_Dimscale_General_Product ( )
protected

Definition at line 2662 of file HDF5GMCF.cc.

◆ Add_Dim_Name_General_Product()

void GMFile::Add_Dim_Name_General_Product ( )
protected

Definition at line 1445 of file HDF5GMCF.cc.

◆ Add_Dim_Name_GPM()

void GMFile::Add_Dim_Name_GPM ( )
protected

Definition at line 1245 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 2617 of file HDF5GMCF.cc.

◆ Add_Dim_Name_LatLon2D_General_Product()

void GMFile::Add_Dim_Name_LatLon2D_General_Product ( )
protected

Definition at line 2455 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_Ozonel3z()

void GMFile::Add_Dim_Name_Mea_Ozonel3z ( )
protected

Definition at line 1099 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_SeaWiFS()

void GMFile::Add_Dim_Name_Mea_SeaWiFS ( )
protected

Definition at line 865 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OBPG_L3()

void GMFile::Add_Dim_Name_OBPG_L3 ( )
protected

Definition at line 855 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OSMAPL2S()

void GMFile::Add_Dim_Name_OSMAPL2S ( )
protected

Definition at line 1365 of file HDF5GMCF.cc.

◆ Add_GPM_Attrs()

void GMFile::Add_GPM_Attrs ( )
protected

Definition at line 5243 of file HDF5GMCF.cc.

◆ add_ignored_droplongstr_hdr()

void File::add_ignored_droplongstr_hdr ( )
protectedinherited

Definition at line 2806 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 2784 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 2451 of file HDF5CF.cc.

◆ add_ignored_info_links()

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

Definition at line 2421 of file HDF5CF.cc.

◆ add_ignored_info_links_header()

void File::add_ignored_info_links_header ( )
protectedinherited

Definition at line 2381 of file HDF5CF.cc.

◆ add_ignored_info_namedtypes()

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

Definition at line 2430 of file HDF5CF.cc.

◆ add_ignored_info_obj_header()

void File::add_ignored_info_obj_header ( )
protectedinherited

Definition at line 2356 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 2484 of file HDF5CF.cc.

◆ add_ignored_info_page_header()

void File::add_ignored_info_page_header ( )
protectedinherited

Definition at line 2349 of file HDF5CF.cc.

◆ add_ignored_var_longstr_info()

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

Definition at line 2793 of file HDF5CF.cc.

◆ add_no_ignored_info()

void File::add_no_ignored_info ( )
protectedinherited

Definition at line 2514 of file HDF5CF.cc.

◆ Add_One_FakeDim_Name()

void File::Add_One_FakeDim_Name ( Dimension dim)
protectedinherited

Definition at line 1586 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 1837 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 6873 of file HDF5GMCF.cc.

◆ Add_SeaWiFS_Attrs()

void GMFile::Add_SeaWiFS_Attrs ( )
protected

Definition at line 5708 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 1767 of file HDF5CF.cc.

◆ Add_Supplement_Attrs()

void GMFile::Add_Supplement_Attrs ( bool  add_path)
overridevirtual

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

Reimplemented from HDF5CF::File.

Definition at line 5173 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 2755 of file HDF5GMCF.cc.

◆ Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone()

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

Definition at line 960 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 6433 of file HDF5GMCF.cc.

◆ Adjust_Dim_Name()

void GMFile::Adjust_Dim_Name ( )
overridevirtual

Adjust dimension name for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 5114 of file HDF5GMCF.cc.

◆ Adjust_Duplicate_FakeDim_Name()

void File::Adjust_Duplicate_FakeDim_Name ( Dimension dim)
protectedinherited

Definition at line 1639 of file HDF5CF.cc.

◆ Adjust_Duplicate_FakeDim_Name2()

void File::Adjust_Duplicate_FakeDim_Name2 ( Dimension dim,
int  dup_dim_size_index 
)
protectedinherited

Definition at line 1679 of file HDF5CF.cc.

◆ Adjust_GPM_L3_Obj_Name()

void GMFile::Adjust_GPM_L3_Obj_Name ( )
protected

Definition at line 4847 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 373 of file HDF5GMCF.cc.

◆ Adjust_Mea_Ozone_Obj_Name()

void GMFile::Adjust_Mea_Ozone_Obj_Name ( )
protected

Definition at line 4869 of file HDF5GMCF.cc.

◆ Adjust_Obj_Name()

void GMFile::Adjust_Obj_Name ( )
overridevirtual

Adjust object names based on different general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 4824 of file HDF5GMCF.cc.

◆ Build_lat1D_latlon_candidate()

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

Definition at line 2144 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 2204 of file HDF5GMCF.cc.

◆ Build_unique_latlon_candidate()

void GMFile::Build_unique_latlon_candidate ( )
protected

Definition at line 2311 of file HDF5GMCF.cc.

◆ Change_Attr_One_Str_to_Others()

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

Definition at line 1849 of file HDF5CF.cc.

◆ Check_1DGeolocation_Dimscale()

bool GMFile::Check_1DGeolocation_Dimscale ( )
protected

Definition at line 3516 of file HDF5GMCF.cc.

◆ Check_And_Update_New_GPM_L3()

bool GMFile::Check_And_Update_New_GPM_L3 ( )
protected

Definition at line 1584 of file HDF5GMCF.cc.

◆ check_cv()

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

Definition at line 1221 of file HDF5GMCF.cc.

◆ Check_Dimscale_General_Product_Pattern()

bool GMFile::Check_Dimscale_General_Product_Pattern ( )
protected

Definition at line 1486 of file HDF5GMCF.cc.

◆ Check_DropLongStr()

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

Definition at line 2558 of file HDF5CF.cc.

◆ Check_General_Product_Pattern()

void GMFile::Check_General_Product_Pattern ( )
protected

Definition at line 1471 of file HDF5GMCF.cc.

◆ Check_Grid_Mapping_FullPath()

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

Definition at line 2253 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 2237 of file HDF5CF.cc.

◆ Check_LatLon1D_General_Product_Pattern()

bool GMFile::Check_LatLon1D_General_Product_Pattern ( )
protected

Definition at line 1791 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 1814 of file HDF5GMCF.cc.

◆ Check_LatLon2D_General_Product_Pattern()

bool GMFile::Check_LatLon2D_General_Product_Pattern ( )
protected

Definition at line 1647 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 1671 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 1897 of file HDF5GMCF.cc.

◆ Check_Var_2D_CVars()

bool GMFile::Check_Var_2D_CVars ( Var var)
protected

Definition at line 4092 of file HDF5GMCF.cc.

◆ Check_VarDropLongStr()

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

Definition at line 2589 of file HDF5CF.cc.

◆ Coord_Match_LatLon_NameSize()

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

Definition at line 6344 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 6394 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 5549 of file HDF5GMCF.cc.

◆ Create_Missing_CV()

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

Definition at line 6464 of file HDF5GMCF.cc.

◆ Flatten_Obj_Name()

void GMFile::Flatten_Obj_Name ( bool  include_attr)
overridevirtual

Flatten the object name for general NASA HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 4905 of file HDF5GMCF.cc.

◆ Flatten_VarPath_In_Coordinates_Attr()

bool GMFile::Flatten_VarPath_In_Coordinates_Attr ( Var var)
protected

Definition at line 4128 of file HDF5GMCF.cc.

◆ Gen_DimScale_VarAttr_Unsupported_Dtype_Info()

void File::Gen_DimScale_VarAttr_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1179 of file HDF5CF.cc.

◆ Gen_GM_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_GM_VarAttr_Unsupported_Dtype_Info ( )
protected

Definition at line 493 of file HDF5GMCF.cc.

◆ Gen_Group_Unsupported_Dtype_Info()

void File::Gen_Group_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1051 of file HDF5CF.cc.

◆ Gen_Unsupported_Dspace_Info()

void GMFile::Gen_Unsupported_Dspace_Info ( )
overrideprotectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 661 of file HDF5GMCF.cc.

◆ Gen_Unsupported_Dtype_Info()

void GMFile::Gen_Unsupported_Dtype_Info ( bool  include_attr)
overrideprotectedvirtual

Implements HDF5CF::File.

Definition at line 461 of file HDF5GMCF.cc.

◆ Gen_Var_Unsupported_Dtype_Info()

void File::Gen_Var_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1110 of file HDF5CF.cc.

◆ Gen_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_VarAttr_Unsupported_Dtype_Info ( )
overrideprotectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 474 of file HDF5GMCF.cc.

◆ get_CF_string()

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

Reimplemented from HDF5CF::File.

Definition at line 195 of file HDF5GMCF.cc.

◆ Get_Ignored_Msg()

const std::string & HDF5CF::GMFile::Get_Ignored_Msg ( )
inlineoverridevirtual

Get the message that contains the ignored obj. info.

Implements HDF5CF::File.

Definition at line 934 of file HDF5CF.h.

◆ Get_IgnoredInfo_Flag()

bool HDF5CF::GMFile::Get_IgnoredInfo_Flag ( )
inlineoverridevirtual

Obtain ignored info. flag.

Implements HDF5CF::File.

Definition at line 928 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 649 of file HDF5CF.h.

◆ getCVars()

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

Definition at line 836 of file HDF5CF.h.

◆ getDap4()

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

Definition at line 670 of file HDF5CF.h.

◆ getFileID()

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

Obtain the HDF5 file ID.

Definition at line 631 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 655 of file HDF5CF.h.

◆ getIsCOARD()

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

Definition at line 675 of file HDF5CF.h.

◆ getPath()

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

Obtain the path of the file.

Definition at line 637 of file HDF5CF.h.

◆ getProductType()

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

Definition at line 831 of file HDF5CF.h.

◆ getSPVars()

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

Definition at line 841 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 643 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 5012 of file HDF5GMCF.cc.

◆ Handle_Coor_Attr()

void GMFile::Handle_Coor_Attr ( )
overridevirtual

Handle "coordinates" attributes for general HDF5 products.

Implements HDF5CF::File.

Definition at line 5894 of file HDF5GMCF.cc.

◆ Handle_CVar()

void GMFile::Handle_CVar ( )
overridevirtual

Handle coordinate variables for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 2886 of file HDF5GMCF.cc.

◆ Handle_CVar_Aqu_L3()

void GMFile::Handle_CVar_Aqu_L3 ( )
protected

Definition at line 3208 of file HDF5GMCF.cc.

◆ Handle_CVar_Dimscale_General_Product()

void GMFile::Handle_CVar_Dimscale_General_Product ( )
protected

Definition at line 3279 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L1()

void GMFile::Handle_CVar_GPM_L1 ( )
protected

Definition at line 2924 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L3()

void GMFile::Handle_CVar_GPM_L3 ( )
protected

Definition at line 3013 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon1D_General_Product()

void GMFile::Handle_CVar_LatLon1D_General_Product ( )
protected

Definition at line 4582 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon2D_General_Product()

void GMFile::Handle_CVar_LatLon2D_General_Product ( )
protected

Definition at line 4591 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon_General_Product()

void GMFile::Handle_CVar_LatLon_General_Product ( )
protected

Definition at line 4600 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_Ozone()

void GMFile::Handle_CVar_Mea_Ozone ( )
protected

Definition at line 3238 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_SeaWiFS()

void GMFile::Handle_CVar_Mea_SeaWiFS ( )
protected

Definition at line 3068 of file HDF5GMCF.cc.

◆ Handle_CVar_OBPG_L3()

void GMFile::Handle_CVar_OBPG_L3 ( )
protected

Definition at line 4666 of file HDF5GMCF.cc.

◆ Handle_CVar_OSMAPL2S()

void GMFile::Handle_CVar_OSMAPL2S ( )
protected

Definition at line 3133 of file HDF5GMCF.cc.

◆ Handle_DimNameClashing()

void GMFile::Handle_DimNameClashing ( )
overridevirtual

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 5055 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 1469 of file HDF5CF.cc.

◆ Handle_GeneralObj_NameClashing()

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

Definition at line 1515 of file HDF5CF.cc.

◆ Handle_GM_Unsupported_Dspace()

void GMFile::Handle_GM_Unsupported_Dspace ( bool  include_attr)
protected

Definition at line 590 of file HDF5GMCF.cc.

◆ Handle_GM_Unsupported_Dtype()

void GMFile::Handle_GM_Unsupported_Dtype ( bool  include_attr)
protected

Definition at line 402 of file HDF5GMCF.cc.

◆ Handle_GMCVar_AttrNameClashing()

void GMFile::Handle_GMCVar_AttrNameClashing ( )
protected

Definition at line 4985 of file HDF5GMCF.cc.

◆ Handle_GMCVar_NameClashing()

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

Definition at line 4973 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_AttrNameClashing()

void GMFile::Handle_GMSPVar_AttrNameClashing ( )
protected

Definition at line 4997 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_NameClashing()

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

Definition at line 4979 of file HDF5GMCF.cc.

◆ Handle_GPM_l1_Coor_Attr()

void GMFile::Handle_GPM_l1_Coor_Attr ( )
protected

Definition at line 6136 of file HDF5GMCF.cc.

◆ Handle_Grid_Mapping_Vars()

void GMFile::Handle_Grid_Mapping_Vars ( )
overridevirtual

Handle Grid Mapping Vars.

Reimplemented from HDF5CF::File.

Definition at line 6806 of file HDF5GMCF.cc.

◆ Handle_Group_NameClashing()

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

Definition at line 1410 of file HDF5CF.cc.

◆ Handle_Group_Unsupported_Dtype()

void File::Handle_Group_Unsupported_Dtype ( )
protectedinherited

Definition at line 1010 of file HDF5CF.cc.

◆ Handle_GroupAttr_Unsupported_Dspace()

void File::Handle_GroupAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1208 of file HDF5CF.cc.

◆ Handle_Hybrid_EOS5()

void GMFile::Handle_Hybrid_EOS5 ( )

Definition at line 6550 of file HDF5GMCF.cc.

◆ Handle_LatLon_With_CoordinateAttr_Coor_Attr()

void GMFile::Handle_LatLon_With_CoordinateAttr_Coor_Attr ( )
protected

Definition at line 6313 of file HDF5GMCF.cc.

◆ Handle_Obj_AttrNameClashing()

void File::Handle_Obj_AttrNameClashing ( )
protectedinherited

Definition at line 1438 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 4954 of file HDF5GMCF.cc.

◆ Handle_SpVar()

void GMFile::Handle_SpVar ( )
overridevirtual

Handle special variables for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 4738 of file HDF5GMCF.cc.

◆ Handle_SpVar_ACOS_OCO2()

void GMFile::Handle_SpVar_ACOS_OCO2 ( )
protected

Definition at line 4780 of file HDF5GMCF.cc.

◆ Handle_SpVar_Attr()

void GMFile::Handle_SpVar_Attr ( )
overridevirtual

Handle special variable attributes for general NASA HDF5 products.

Implements HDF5CF::File.

Definition at line 6515 of file HDF5GMCF.cc.

◆ Handle_SpVar_DMR()

void HDF5CF::GMFile::Handle_SpVar_DMR ( )
inlineoverridevirtual

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

Implements HDF5CF::File.

Definition at line 883 of file HDF5CF.h.

◆ Handle_Unsupported_Dspace()

void GMFile::Handle_Unsupported_Dspace ( bool  include_attr)
overridevirtual

Handle unsupported HDF5 dataspaces for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 578 of file HDF5GMCF.cc.

◆ Handle_Unsupported_Dtype()

void GMFile::Handle_Unsupported_Dtype ( bool  include_attr)
overridevirtual

Handle unsupported HDF5 datatypes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 391 of file HDF5GMCF.cc.

◆ Handle_Unsupported_Others()

void GMFile::Handle_Unsupported_Others ( bool  include_attr)
overridevirtual

Handle other unmapped objects/attributes for general HDF5 products.

Reimplemented from HDF5CF::File.

Definition at line 668 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 2688 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 885 of file HDF5GMCF.cc.

◆ Handle_Var_NameClashing()

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

Definition at line 1403 of file HDF5CF.cc.

◆ Handle_Var_Unsupported_Dtype()

void File::Handle_Var_Unsupported_Dtype ( )
protectedinherited

Definition at line 1090 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dspace()

void File::Handle_VarAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1248 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dtype()

void File::Handle_VarAttr_Unsupported_Dtype ( )
protectedinherited

Definition at line 1130 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 1823 of file HDF5CF.cc.

◆ Have_Grid_Mapping_Attrs()

bool GMFile::Have_Grid_Mapping_Attrs ( )
overridevirtual

Check if having Grid Mapping Attrs.

Reimplemented from HDF5CF::File.

Definition at line 6802 of file HDF5GMCF.cc.

◆ HaveUnlimitedDim()

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

Has unlimited dimensions.

Definition at line 661 of file HDF5CF.h.

◆ ignored_dimscale_ref_list()

bool File::ignored_dimscale_ref_list ( Var var)
protectedinherited

Definition at line 2523 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 1543 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 1558 of file HDF5CF.cc.

◆ Is_geolatlon()

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

Definition at line 2004 of file HDF5CF.cc.

◆ Is_Hybrid_EOS5()

bool GMFile::Is_Hybrid_EOS5 ( )

Definition at line 6520 of file HDF5GMCF.cc.

◆ Is_netCDF_Dimension()

bool GMFile::Is_netCDF_Dimension ( Var var)
protected

Definition at line 6487 of file HDF5GMCF.cc.

◆ Is_Str_Attr()

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

Definition at line 1811 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 2160 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 3675 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 3713 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 3826 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 3771 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 3977 of file HDF5GMCF.cc.

◆ release_standalone_GMCVar_vector()

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

Definition at line 6917 of file HDF5GMCF.cc.

◆ release_standalone_var_vector()

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

Definition at line 2820 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 4063 of file HDF5GMCF.cc.

◆ Remove_EOS5_Strings()

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

Definition at line 6698 of file HDF5GMCF.cc.

◆ Remove_EOS5_Strings_NonEOS_Fields()

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

Definition at line 6771 of file HDF5GMCF.cc.

◆ remove_netCDF_internal_attributes()

void File::remove_netCDF_internal_attributes ( bool  include_attr)
protectedinherited

Definition at line 2266 of file HDF5CF.cc.

◆ Remove_OMPSNPP_InputPointers()

void GMFile::Remove_OMPSNPP_InputPointers ( )
protected

Definition at line 305 of file HDF5GMCF.cc.

◆ Remove_Unneeded_Objects()

void GMFile::Remove_Unneeded_Objects ( )

Remove unneeded objects.

Definition at line 262 of file HDF5GMCF.cc.

◆ Remove_Unused_FakeDimVars()

void GMFile::Remove_Unused_FakeDimVars ( )

Unsupported datatype array may generate FakeDim. Remove them.

Definition at line 6810 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 6855 of file HDF5GMCF.cc.

◆ Replace_Var_Attrs()

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

Definition at line 2129 of file HDF5CF.cc.

◆ Replace_Var_Info()

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

Definition at line 2073 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 1969 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 586 of file HDF5CF.cc.

◆ Retrieve_H5_Attr_Value()

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

Definition at line 754 of file HDF5CF.cc.

◆ Retrieve_H5_CVar_Supported_Attr_Values()

void GMFile::Retrieve_H5_CVar_Supported_Attr_Values ( )
overridevirtual

Retrieve coordinate variable attributes.

Implements HDF5CF::File.

Definition at line 329 of file HDF5GMCF.cc.

◆ Retrieve_H5_Info()

void GMFile::Retrieve_H5_Info ( const char *  path,
hid_t  file_id,
bool  include_attr 
)
overridevirtual

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

Reimplemented from HDF5CF::File.

Definition at line 220 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 228 of file HDF5CF.cc.

◆ Retrieve_H5_Supported_Attr_Values()

void GMFile::Retrieve_H5_Supported_Attr_Values ( )
overridevirtual

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

Reimplemented from HDF5CF::File.

Definition at line 343 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 746 of file HDF5CF.cc.

◆ Retrieve_H5_VarCompRatio()

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

Definition at line 446 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 514 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 480 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 1798 of file HDF5CF.cc.

◆ setDap4()

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

Definition at line 666 of file HDF5CF.h.

◆ Update_M2DLatLon_Dimscale_CVs()

void GMFile::Update_M2DLatLon_Dimscale_CVs ( )
protected

Definition at line 3342 of file HDF5GMCF.cc.

◆ Update_Product_Type()

void GMFile::Update_Product_Type ( )

Update "product type" attributes for general HDF5 products.

Definition at line 239 of file HDF5GMCF.cc.

Member Data Documentation

◆ _is_dap4

bool HDF5CF::File::_is_dap4 = false
protectedinherited

Definition at line 819 of file HDF5CF.h.

◆ addeddimindex

int HDF5CF::File::addeddimindex = 0
protectedinherited

Definition at line 813 of file HDF5CF.h.

◆ check_ignored

bool HDF5CF::File::check_ignored = false
protectedinherited

Definition at line 816 of file HDF5CF.h.

◆ dimname_to_dimsize

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

Definition at line 806 of file HDF5CF.h.

◆ dimname_to_unlimited

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

Definition at line 809 of file HDF5CF.h.

◆ dimnamelist

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

Definition at line 804 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 812 of file HDF5CF.h.

◆ dup_dimsize_dimname

std::vector<std::pair<hsize_t, std::string> > HDF5CF::File::dup_dimsize_dimname
protectedinherited

Definition at line 814 of file HDF5CF.h.

◆ fileid

hid_t HDF5CF::File::fileid
protectedinherited

Definition at line 785 of file HDF5CF.h.

◆ groups

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

Non-root group vectors.

Definition at line 795 of file HDF5CF.h.

◆ have_ignored

bool HDF5CF::File::have_ignored = false
protectedinherited

Definition at line 817 of file HDF5CF.h.

◆ have_udim

bool HDF5CF::File::have_udim = false
protectedinherited

Definition at line 818 of file HDF5CF.h.

◆ ignored_msg

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

Definition at line 821 of file HDF5CF.h.

◆ iscoard

bool HDF5CF::File::iscoard = false
protectedinherited

Definition at line 820 of file HDF5CF.h.

◆ path

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

Definition at line 784 of file HDF5CF.h.

◆ root_attrs

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

Root attribute vectors.

Definition at line 792 of file HDF5CF.h.

◆ rootid

hid_t HDF5CF::File::rootid = -1
protectedinherited

Definition at line 786 of file HDF5CF.h.

◆ unsupported_attr_dspace

bool HDF5CF::File::unsupported_attr_dspace = false
protectedinherited

Definition at line 801 of file HDF5CF.h.

◆ unsupported_attr_dtype

bool HDF5CF::File::unsupported_attr_dtype = false
protectedinherited

Definition at line 798 of file HDF5CF.h.

◆ unsupported_var_attr_dspace

bool HDF5CF::File::unsupported_var_attr_dspace = false
protectedinherited

Definition at line 802 of file HDF5CF.h.

◆ unsupported_var_dspace

bool HDF5CF::File::unsupported_var_dspace = false
protectedinherited

Definition at line 800 of file HDF5CF.h.

◆ unsupported_var_dtype

bool HDF5CF::File::unsupported_var_dtype = false
protectedinherited

Definition at line 797 of file HDF5CF.h.

◆ vars

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

Var vectors.

Definition at line 789 of file HDF5CF.h.


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