bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5CF::GMFile Class Reference

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

#include <HDF5CF.h>

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

Public Member Functions

void Add_Dim_Name ()
 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) const
 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 () const
 
bool is_special_gpm_l3 () const
 
void Remove_Unneeded_Objects ()
 Remove unneeded objects.
 
void Remove_Unused_FakeDimVars ()
 Unsupported datatype array may generate FakeDim. Remove them.
 
void Rename_NC4_NonCoordVars () const
 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_Bounds_Attr ()
 Update the Bounds attribute to follow the CF conventions.
 
void Update_NC4_PureDimSize ()
 Update the netCDF-4 pure dimension size when the pure dimension is an unlimited dimension.
 
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 () const
 
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) const
 
void Add_SeaWiFS_Attrs () const
 
void Add_Str_Attr (Attribute *attr, const std::string &attrname, const std::string &strvalue) const
 
void Add_UseDimscale_Var_Dim_Names_General_Product (const Var *, const Attribute *)
 
void Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone (const 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 () const
 
void Adjust_Mea_Ozone_Obj_Name () const
 
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) const
 
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) const
 
std::string Check_Grid_Mapping_VarName (const std::string &attr_value, const std::string &var_full_path) const
 
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 *) const
 
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 () const
 
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 (const Var *var) const
 
void Insert_One_NameSizeMap_Element (const std::string &name, hsize_t size, bool unlimited)
 
void Insert_One_NameSizeMap_Element2 (std::map< std::string, hsize_t > &, std::map< std::string, bool > &, const std::string &name, hsize_t size, bool unlimited) const
 
bool Is_geolatlon (const std::string &var_name, bool is_lat) const
 
bool Is_netCDF_Dimension (const Var *var) const
 
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) const
 
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, const std::vector< GMCVar * > &cvar_1dlat, const 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 &) const
 
bool Remove_EOS5_Strings_NonEOS_Fields (std::string &) const
 
void remove_netCDF_internal_attributes (bool include_attr)
 
void Remove_OMPSNPP_InputPointers ()
 
void Replace_Var_Attrs (const Var *src, Var *target)
 
void Replace_Var_Info (const 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) const
 
void Retrieve_H5_Attr_Value (Attribute *attr, const std::string &) const
 
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) const
 
std::string Retrieve_Str_Attr_Value (Attribute *attr, const std::string &var_path) const
 
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 822 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 130 of file HDF5GMCF.cc.

◆ ~GMFile()

GMFile::~GMFile ( )
override

Definition at line 137 of file HDF5GMCF.cc.

Member Function Documentation

◆ Add_Aqu_Attrs()

void GMFile::Add_Aqu_Attrs ( )
protected

Definition at line 5565 of file HDF5GMCF.cc.

◆ Add_Dim_Name()

void GMFile::Add_Dim_Name ( )

Add dimension name.

Definition at line 766 of file HDF5GMCF.cc.

◆ Add_Dim_Name_ACOS_L2S_OCO2_L1B()

void GMFile::Add_Dim_Name_ACOS_L2S_OCO2_L1B ( )
protected

Definition at line 1390 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Aqu_L3()

void GMFile::Add_Dim_Name_Aqu_L3 ( ) const
protected

Definition at line 1298 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Dimscale_General_Product()

void GMFile::Add_Dim_Name_Dimscale_General_Product ( )
protected

Definition at line 2621 of file HDF5GMCF.cc.

◆ Add_Dim_Name_General_Product()

void GMFile::Add_Dim_Name_General_Product ( )
protected

Definition at line 1406 of file HDF5GMCF.cc.

◆ Add_Dim_Name_GPM()

void GMFile::Add_Dim_Name_GPM ( )
protected

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

◆ Add_Dim_Name_LatLon2D_General_Product()

void GMFile::Add_Dim_Name_LatLon2D_General_Product ( )
protected

Definition at line 2414 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_Ozonel3z()

void GMFile::Add_Dim_Name_Mea_Ozonel3z ( )
protected

Definition at line 1060 of file HDF5GMCF.cc.

◆ Add_Dim_Name_Mea_SeaWiFS()

void GMFile::Add_Dim_Name_Mea_SeaWiFS ( )
protected

Definition at line 826 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OBPG_L3()

void GMFile::Add_Dim_Name_OBPG_L3 ( )
protected

Definition at line 816 of file HDF5GMCF.cc.

◆ Add_Dim_Name_OSMAPL2S()

void GMFile::Add_Dim_Name_OSMAPL2S ( )
protected

Definition at line 1326 of file HDF5GMCF.cc.

◆ Add_GPM_Attrs()

void GMFile::Add_GPM_Attrs ( )
protected

Definition at line 5229 of file HDF5GMCF.cc.

◆ add_ignored_droplongstr_hdr()

void File::add_ignored_droplongstr_hdr ( )
protectedinherited

Definition at line 2803 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 2783 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 2790 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 1585 of file HDF5CF.cc.

◆ Add_One_Float_Attr()

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

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

◆ Add_SeaWiFS_Attrs()

void GMFile::Add_SeaWiFS_Attrs ( ) const
protected

Definition at line 5705 of file HDF5GMCF.cc.

◆ Add_Str_Attr()

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

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

◆ Add_UseDimscale_Var_Dim_Names_General_Product()

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

Definition at line 2713 of file HDF5GMCF.cc.

◆ Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone()

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

Definition at line 921 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 6428 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 5097 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_Duplicate_FakeDim_Name2()

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

Definition at line 1678 of file HDF5CF.cc.

◆ Adjust_GPM_L3_Obj_Name()

void GMFile::Adjust_GPM_L3_Obj_Name ( ) const
protected

Definition at line 4830 of file HDF5GMCF.cc.

◆ Adjust_H5_Attr_Value()

void GMFile::Adjust_H5_Attr_Value ( Attribute * attr) const

Adjust attribute values for general HDF5 products.

Definition at line 333 of file HDF5GMCF.cc.

◆ Adjust_Mea_Ozone_Obj_Name()

void GMFile::Adjust_Mea_Ozone_Obj_Name ( ) const
protected

Definition at line 4852 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 4807 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 2104 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 2164 of file HDF5GMCF.cc.

◆ Build_unique_latlon_candidate()

void GMFile::Build_unique_latlon_candidate ( )
protected

Definition at line 2271 of file HDF5GMCF.cc.

◆ Change_Attr_One_Str_to_Others()

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

Definition at line 1848 of file HDF5CF.cc.

◆ Check_1DGeolocation_Dimscale()

bool GMFile::Check_1DGeolocation_Dimscale ( )
protected

Definition at line 3488 of file HDF5GMCF.cc.

◆ Check_And_Update_New_GPM_L3()

bool GMFile::Check_And_Update_New_GPM_L3 ( )
protected

Definition at line 1545 of file HDF5GMCF.cc.

◆ check_cv()

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

Definition at line 1182 of file HDF5GMCF.cc.

◆ Check_Dimscale_General_Product_Pattern()

bool GMFile::Check_Dimscale_General_Product_Pattern ( )
protected

Definition at line 1447 of file HDF5GMCF.cc.

◆ Check_DropLongStr()

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

Definition at line 2557 of file HDF5CF.cc.

◆ Check_General_Product_Pattern()

void GMFile::Check_General_Product_Pattern ( )
protected

Definition at line 1432 of file HDF5GMCF.cc.

◆ Check_Grid_Mapping_FullPath()

string File::Check_Grid_Mapping_FullPath ( const std::string & attr_value) const
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 ) const
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 1750 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 1773 of file HDF5GMCF.cc.

◆ Check_LatLon2D_General_Product_Pattern()

bool GMFile::Check_LatLon2D_General_Product_Pattern ( )
protected

Definition at line 1606 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 1630 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 1855 of file HDF5GMCF.cc.

◆ Check_Var_2D_CVars()

bool GMFile::Check_Var_2D_CVars ( Var * var) const
protected

Definition at line 4069 of file HDF5GMCF.cc.

◆ Check_VarDropLongStr()

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

Definition at line 2588 of file HDF5CF.cc.

◆ Coord_Match_LatLon_NameSize()

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

Definition at line 6337 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 6387 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 5533 of file HDF5GMCF.cc.

◆ Create_Missing_CV()

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

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

◆ Flatten_VarPath_In_Coordinates_Attr()

bool GMFile::Flatten_VarPath_In_Coordinates_Attr ( Var * var)
protected

Definition at line 4105 of file HDF5GMCF.cc.

◆ Gen_DimScale_VarAttr_Unsupported_Dtype_Info()

void File::Gen_DimScale_VarAttr_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1185 of file HDF5CF.cc.

◆ Gen_GM_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_GM_VarAttr_Unsupported_Dtype_Info ( )
protected

Definition at line 453 of file HDF5GMCF.cc.

◆ Gen_Group_Unsupported_Dtype_Info()

void File::Gen_Group_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1057 of file HDF5CF.cc.

◆ Gen_Unsupported_Dspace_Info()

void GMFile::Gen_Unsupported_Dspace_Info ( )
overrideprotectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 621 of file HDF5GMCF.cc.

◆ Gen_Unsupported_Dtype_Info()

void GMFile::Gen_Unsupported_Dtype_Info ( bool include_attr)
overrideprotectedvirtual

Implements HDF5CF::File.

Definition at line 421 of file HDF5GMCF.cc.

◆ Gen_Var_Unsupported_Dtype_Info()

void File::Gen_Var_Unsupported_Dtype_Info ( )
protectedinherited

Definition at line 1116 of file HDF5CF.cc.

◆ Gen_VarAttr_Unsupported_Dtype_Info()

void GMFile::Gen_VarAttr_Unsupported_Dtype_Info ( )
overrideprotectedvirtual

Reimplemented from HDF5CF::File.

Definition at line 434 of file HDF5GMCF.cc.

◆ get_CF_string()

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

Reimplemented from HDF5CF::File.

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

◆ Get_IgnoredInfo_Flag()

bool HDF5CF::GMFile::Get_IgnoredInfo_Flag ( )
inlineoverridevirtual

Obtain ignored info. flag.

Implements HDF5CF::File.

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

◆ getCVars()

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

Definition at line 832 of file HDF5CF.h.

◆ getDap4()

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

Definition at line 666 of file HDF5CF.h.

◆ getFileID()

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

Obtain the HDF5 file ID.

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

◆ getIsCOARD()

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

Definition at line 671 of file HDF5CF.h.

◆ getPath()

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

Obtain the path of the file.

Definition at line 633 of file HDF5CF.h.

◆ getProductType()

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

Definition at line 827 of file HDF5CF.h.

◆ getSPVars()

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

Definition at line 837 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 639 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 4995 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 5887 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 2847 of file HDF5GMCF.cc.

◆ Handle_CVar_Aqu_L3()

void GMFile::Handle_CVar_Aqu_L3 ( )
protected

Definition at line 3163 of file HDF5GMCF.cc.

◆ Handle_CVar_Dimscale_General_Product()

void GMFile::Handle_CVar_Dimscale_General_Product ( )
protected

Definition at line 3239 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L1()

void GMFile::Handle_CVar_GPM_L1 ( )
protected

Definition at line 2885 of file HDF5GMCF.cc.

◆ Handle_CVar_GPM_L3()

void GMFile::Handle_CVar_GPM_L3 ( )
protected

Definition at line 2960 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon1D_General_Product()

void GMFile::Handle_CVar_LatLon1D_General_Product ( )
protected

Definition at line 4560 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon2D_General_Product()

void GMFile::Handle_CVar_LatLon2D_General_Product ( )
protected

Definition at line 4569 of file HDF5GMCF.cc.

◆ Handle_CVar_LatLon_General_Product()

void GMFile::Handle_CVar_LatLon_General_Product ( )
protected

Definition at line 4578 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_Ozone()

void GMFile::Handle_CVar_Mea_Ozone ( )
protected

Definition at line 3196 of file HDF5GMCF.cc.

◆ Handle_CVar_Mea_SeaWiFS()

void GMFile::Handle_CVar_Mea_SeaWiFS ( )
protected

Definition at line 3018 of file HDF5GMCF.cc.

◆ Handle_CVar_OBPG_L3()

void GMFile::Handle_CVar_OBPG_L3 ( )
protected

Definition at line 4647 of file HDF5GMCF.cc.

◆ Handle_CVar_OSMAPL2S()

void GMFile::Handle_CVar_OSMAPL2S ( )
protected

Definition at line 3085 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 5038 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 1470 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 550 of file HDF5GMCF.cc.

◆ Handle_GM_Unsupported_Dtype()

void GMFile::Handle_GM_Unsupported_Dtype ( bool include_attr)
protected

Definition at line 362 of file HDF5GMCF.cc.

◆ Handle_GMCVar_AttrNameClashing()

void GMFile::Handle_GMCVar_AttrNameClashing ( )
protected

Definition at line 4968 of file HDF5GMCF.cc.

◆ Handle_GMCVar_NameClashing()

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

Definition at line 4956 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_AttrNameClashing()

void GMFile::Handle_GMSPVar_AttrNameClashing ( )
protected

Definition at line 4980 of file HDF5GMCF.cc.

◆ Handle_GMSPVar_NameClashing()

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

Definition at line 4962 of file HDF5GMCF.cc.

◆ Handle_GPM_l1_Coor_Attr()

void GMFile::Handle_GPM_l1_Coor_Attr ( ) const
protected

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

◆ Handle_Group_NameClashing()

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

Definition at line 1411 of file HDF5CF.cc.

◆ Handle_Group_Unsupported_Dtype()

void File::Handle_Group_Unsupported_Dtype ( )
protectedinherited

Definition at line 1016 of file HDF5CF.cc.

◆ Handle_GroupAttr_Unsupported_Dspace()

void File::Handle_GroupAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1214 of file HDF5CF.cc.

◆ Handle_Hybrid_EOS5()

void GMFile::Handle_Hybrid_EOS5 ( )

Definition at line 6547 of file HDF5GMCF.cc.

◆ Handle_LatLon_With_CoordinateAttr_Coor_Attr()

void GMFile::Handle_LatLon_With_CoordinateAttr_Coor_Attr ( )
protected

Definition at line 6306 of file HDF5GMCF.cc.

◆ Handle_Obj_AttrNameClashing()

void File::Handle_Obj_AttrNameClashing ( )
protectedinherited

Definition at line 1439 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 4937 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 4719 of file HDF5GMCF.cc.

◆ Handle_SpVar_ACOS_OCO2()

void GMFile::Handle_SpVar_ACOS_OCO2 ( )
protected

Definition at line 4761 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 6513 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 884 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 538 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 351 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 629 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 2647 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 846 of file HDF5GMCF.cc.

◆ Handle_Var_NameClashing()

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

Definition at line 1404 of file HDF5CF.cc.

◆ Handle_Var_Unsupported_Dtype()

void File::Handle_Var_Unsupported_Dtype ( )
protectedinherited

Definition at line 1096 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dspace()

void File::Handle_VarAttr_Unsupported_Dspace ( )
protectedinherited

Definition at line 1254 of file HDF5CF.cc.

◆ Handle_VarAttr_Unsupported_Dtype()

void File::Handle_VarAttr_Unsupported_Dtype ( )
protectedinherited

Definition at line 1136 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 1822 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 6798 of file HDF5GMCF.cc.

◆ HaveUnlimitedDim()

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

Has unlimited dimensions.

Definition at line 657 of file HDF5CF.h.

◆ ignored_dimscale_ref_list()

bool File::ignored_dimscale_ref_list ( const Var * var) const
protectedinherited

Definition at line 2523 of file HDF5CF.cc.

◆ Insert_One_NameSizeMap_Element()

void File::Insert_One_NameSizeMap_Element ( const 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 > & ,
const std::string & name,
hsize_t size,
bool unlimited ) const
protectedinherited

Definition at line 1557 of file HDF5CF.cc.

◆ Is_geolatlon()

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

Definition at line 2004 of file HDF5CF.cc.

◆ Is_Hybrid_EOS5()

bool GMFile::Is_Hybrid_EOS5 ( ) const

Definition at line 6518 of file HDF5GMCF.cc.

◆ Is_netCDF_Dimension()

bool GMFile::Is_netCDF_Dimension ( const Var * var) const
protected

Definition at line 6485 of file HDF5GMCF.cc.

◆ is_special_gpm_l3()

bool HDF5CF::GMFile::is_special_gpm_l3 ( ) const
inline

Definition at line 842 of file HDF5CF.h.

◆ 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 1810 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 ) const
protectedinherited

Definition at line 2164 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 3648 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 3688 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 3802 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,
const std::vector< GMCVar * > & cvar_1dlat,
const std::vector< GMCVar * > & cvar_1dlon,
std::map< std::string, int > & latlon2d_path_to_index )
protected

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

◆ release_standalone_GMCVar_vector()

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

Definition at line 6977 of file HDF5GMCF.cc.

◆ release_standalone_var_vector()

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

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

◆ Remove_EOS5_Strings()

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

Definition at line 6694 of file HDF5GMCF.cc.

◆ Remove_EOS5_Strings_NonEOS_Fields()

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

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

◆ Remove_Unneeded_Objects()

void GMFile::Remove_Unneeded_Objects ( )

Remove unneeded objects.

Definition at line 223 of file HDF5GMCF.cc.

◆ Remove_Unused_FakeDimVars()

void GMFile::Remove_Unused_FakeDimVars ( )

Unsupported datatype array may generate FakeDim. Remove them.

Definition at line 6806 of file HDF5GMCF.cc.

◆ Rename_NC4_NonCoordVars()

void GMFile::Rename_NC4_NonCoordVars ( ) const

Remove the _nc4_non_coord from the variable new names.

Definition at line 6851 of file HDF5GMCF.cc.

◆ Replace_Var_Attrs()

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

Definition at line 2132 of file HDF5CF.cc.

◆ Replace_Var_Info()

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

Definition at line 2075 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 1968 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 ) const
protectedinherited

Definition at line 594 of file HDF5CF.cc.

◆ Retrieve_H5_Attr_Value()

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

Definition at line 760 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 298 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 180 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 ( )
overridevirtual

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

Reimplemented from HDF5CF::File.

Definition at line 311 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 753 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 453 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 521 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 ) const
protectedinherited

Definition at line 487 of file HDF5CF.cc.

◆ Retrieve_Str_Attr_Value()

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

Definition at line 1797 of file HDF5CF.cc.

◆ setDap4()

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

Definition at line 662 of file HDF5CF.h.

◆ Update_Bounds_Attr()

void GMFile::Update_Bounds_Attr ( )

Update the Bounds attribute to follow the CF conventions.

Definition at line 6919 of file HDF5GMCF.cc.

◆ Update_M2DLatLon_Dimscale_CVs()

void GMFile::Update_M2DLatLon_Dimscale_CVs ( )
protected

Definition at line 3309 of file HDF5GMCF.cc.

◆ Update_NC4_PureDimSize()

void GMFile::Update_NC4_PureDimSize ( )

Update the netCDF-4 pure dimension size when the pure dimension is an unlimited dimension.

Definition at line 6950 of file HDF5GMCF.cc.

◆ Update_Product_Type()

void GMFile::Update_Product_Type ( )

Update "product type" attributes for general HDF5 products.

Definition at line 199 of file HDF5GMCF.cc.

Member Data Documentation

◆ _is_dap4

bool HDF5CF::File::_is_dap4 = false
protectedinherited

Definition at line 815 of file HDF5CF.h.

◆ addeddimindex

int HDF5CF::File::addeddimindex = 0
protectedinherited

Definition at line 809 of file HDF5CF.h.

◆ check_ignored

bool HDF5CF::File::check_ignored = false
protectedinherited

Definition at line 812 of file HDF5CF.h.

◆ dimname_to_dimsize

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

Definition at line 802 of file HDF5CF.h.

◆ dimname_to_unlimited

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

Definition at line 805 of file HDF5CF.h.

◆ dimnamelist

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

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

◆ dup_dimsize_dimname

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

Definition at line 810 of file HDF5CF.h.

◆ fileid

hid_t HDF5CF::File::fileid
protectedinherited

Definition at line 781 of file HDF5CF.h.

◆ groups

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

Non-root group vectors.

Definition at line 791 of file HDF5CF.h.

◆ have_ignored

bool HDF5CF::File::have_ignored = false
protectedinherited

Definition at line 813 of file HDF5CF.h.

◆ have_udim

bool HDF5CF::File::have_udim = false
protectedinherited

Definition at line 814 of file HDF5CF.h.

◆ ignored_msg

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

Definition at line 817 of file HDF5CF.h.

◆ iscoard

bool HDF5CF::File::iscoard = false
protectedinherited

Definition at line 816 of file HDF5CF.h.

◆ path

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

Definition at line 780 of file HDF5CF.h.

◆ root_attrs

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

Root attribute vectors.

Definition at line 788 of file HDF5CF.h.

◆ rootid

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

Definition at line 782 of file HDF5CF.h.

◆ unsupported_attr_dspace

bool HDF5CF::File::unsupported_attr_dspace = false
protectedinherited

Definition at line 797 of file HDF5CF.h.

◆ unsupported_attr_dtype

bool HDF5CF::File::unsupported_attr_dtype = false
protectedinherited

Definition at line 794 of file HDF5CF.h.

◆ unsupported_var_attr_dspace

bool HDF5CF::File::unsupported_var_attr_dspace = false
protectedinherited

Definition at line 798 of file HDF5CF.h.

◆ unsupported_var_dspace

bool HDF5CF::File::unsupported_var_dspace = false
protectedinherited

Definition at line 796 of file HDF5CF.h.

◆ unsupported_var_dtype

bool HDF5CF::File::unsupported_var_dtype = false
protectedinherited

Definition at line 793 of file HDF5CF.h.

◆ vars

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

Var vectors.

Definition at line 785 of file HDF5CF.h.


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