|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
This class retrieves all information from an HDF4 file. It is a container for SDS and Vdata. More...
#include <HDFSP.h>

Public Member Functions | |
| bool | Check_update_special (const std::string &gridname) throw (Exception) |
| const std::string & | getPath () const |
| Obtain the path of the file. More... | |
| SD * | getSD () const |
| Public interface to Obtain SD. More... | |
| SPType | getSPType () const |
| Obtain special HDF4 product type. More... | |
| const std::vector< VDATA * > & | getVDATAs () const |
| Public interface to Obtain Vdata. More... | |
| const std::vector< AttrContainer * > & | getVgattrs () const |
| Get attributes for all vgroups. More... | |
| void | Handle_AIRS_L23 () throw (Exception) |
| bool | Has_Dim_NoScale_Field () const |
| This file has a field that is a SDS dimension but no dimension scale. More... | |
| void | Prepare () throw (Exception) |
| The main step to make HDF4 SDS objects CF-complaint. All dimension(coordinate variables) information need to be ready. All special arrangements need to be done in this step. More... | |
| ~File () | |
Static Public Member Functions | |
| static File * | Read (const char *path, int32 sdid, int32 fileid) throw (Exception) |
| Retrieve SDS and Vdata information from the HDF4 file. More... | |
| static File * | Read_Hybrid (const char *path, int32 sdid, int32 fileid) throw (Exception) |
| Retrieve SDS and Vdata information from the hybrid HDF-EOS file. Currently we only support the access of additional SDS objects. More... | |
Protected Member Functions | |
| void | CheckSDType () throw (Exception) |
| This method will check if the HDF4 file is one of TRMM or OBPG products we supported. More... | |
| void | create_sds_dim_name_list () |
| Create the new dimension name set and the dimension name to size map. More... | |
| File (const char *path) | |
| void | handle_sds_coords (bool &COARDFLAG, std::string &lldimname1, std::string &lldimname2) throw (Exception) |
| Create "coordinates", "units" CF attributes. More... | |
| void | handle_sds_fakedim_names () throw (Exception) |
| Check name clashing for fields. Borrowed from HDFEOS.cc, unused. bool check_field_name_clashing (bool bUseDimNameMatching) const;. More... | |
| void | handle_sds_final_dim_names () throw (Exception) |
| Create the final CF-compliant dimension name list for each field. More... | |
| void | handle_sds_missing_fields () |
| Add the missing coordinate variables based on the corrected dimension name list. More... | |
| void | handle_sds_names (bool &COARDFLAG, std::string &lldimname1, std::string &lldimname2) throw (Exception) |
| Create the final CF-compliant field name list. More... | |
| void | handle_vdata () throw (Exception) |
| Handle Vdata. More... | |
| void | InsertOrigFieldPath_ReadVgVdata () throw (Exception) |
| The full path of SDS and Vdata will be obtained. More... | |
| void | obtain_path (int32 file_id, int32 sd_id, char *full_path, int32 pobj_ref) throw (Exception) |
| The internal function used by InsertOrigFieldPath_ReadVgVdata. More... | |
| bool | Obtain_TRMM_V7_latlon_name (const SDField *sdfield, const int latsize, const int lonsize, std::string &latname, std::string &lonname) throw (Exception) |
| void | Obtain_TRMML3S_V7_latlon_size (int &latsize, int &lonsize) throw (Exception) |
| void | obtain_vdata_path (int32 file_id, char *full_path, int32 pobj_ref) throw (Exception) |
| The internal function used to obtain the path for hybrid non-lone vdata. More... | |
| void | PrepareCERAVGSYN () throw (Exception) |
| Special method to prepare CERES AVG (CER_AVG_???) and CERES SYN(CER_SYN_???) latitude and longitude information. Latitude and longitude are provided; some redundant CO-Latitude and longitude are removed from the final DDS. More... | |
| void | PrepareCERES4IG () throw (Exception) |
| Special method to prepare CERES ES4 (CER_ES4_???) and CERES ISCCP GEO(CER_ISCCP__???GEO) latitude and longitude information. Essentially the lat/lon need to be condensed to 1-D for the geographic projection. More... | |
| void | PrepareCERSAVGID () throw (Exception) |
| Special method to prepare CERES SAVG (CER_SAVG_???) and CERES ISCCP DAYLIKE(CER_ISCCP__???DAYLIKE) latitude and longitude information. Essentially nested CERES 2-d lat/lon need to be provided. https://eosweb.larc.nasa.gov/sites/default/files/project/ceres/quality_summaries/srbavg_ed2d/nestedgrid.pdf. More... | |
| void | PrepareCERZAVG () throw (Exception) |
| Special method to prepare CERES Zonal Average latitude and longitude information. More... | |
| void | PrepareMODISARNSS () throw (Exception) |
| MODISARNSS is a special MODIS product saved as pure HDF4 files. Dimension names of different fields need to be changed to be consistent with lat/lon. More... | |
| void | PrepareOBPGL2 () throw (Exception) |
| Special method to prepare OBPG Level 2 latitude and longitude information. The latitude and longitude need to be interpolated. More... | |
| void | PrepareOBPGL3 () throw (Exception) |
| Special method to prepare OBPG Level 3 latitude and longitude information. The latitude and longitude are calculated by using the attributes. More... | |
| void | PrepareOTHERHDF () throw (Exception) |
| We still provide a hook for other HDF data product although no CF compliant is followed. More... | |
| void | PrepareTRMML2_V6 () throw (Exception) |
| Latitude and longitude are stored in one array(geolocation). Need to separate. More... | |
| void | PrepareTRMML2_V7 () throw (Exception) |
| Latitude and longitude are stored in different fields. Need to separate. More... | |
| void | PrepareTRMML3A_V6 () throw (Exception) |
| Special method to prepare TRMM Level 3A46 latitude and longitude information. More... | |
| void | PrepareTRMML3B_V6 () throw (Exception) |
| Special method to prepare TRMM Level 3B latitude and longitude information. More... | |
| void | PrepareTRMML3C_V6 () throw (Exception) |
| Special method to prepare TRMM Level 3 CSH latitude,longitude and Height information. More... | |
| void | PrepareTRMML3M_V7 () throw (Exception) |
| Special method to prepare TRMM multiple grid Level 3 geolocation fields(latitude,longitude,etc) information. More... | |
| void | PrepareTRMML3S_V7 () throw (Exception) |
| Special method to prepare TRMM single grid Level 3 geolocation fields(latitude,longitude,etc) information. More... | |
| void | ReadHybridNonLoneVdatas (File *) throw (Exception) |
| Handle non-attribute non-lone vdatas. Note: this function is only used for handling hybrid Vdata functions. More... | |
| void | ReadLoneVdatas (File *) throw (Exception) |
| Handle non-attribute lone vdatas. More... | |
| void | ReadVgattrs (int32 vgroup_id, char *fullpath) throw (Exception) |
| Obtain vgroup attributes. More... | |
Protected Attributes | |
| std::string | path |
| The absolute path of the file. More... | |
| SD * | sd |
| Pointer to the SD instance. There is only one SD instance in an HDF4 file. More... | |
| std::vector< VDATA * > | vds |
| Vdata objects in this file. More... | |
| std::vector< AttrContainer * > | vg_attrs |
| Vgroup attribute information. See the description of the class AttrContainer. More... | |
This class retrieves all information from an HDF4 file. It is a container for SDS and Vdata.
| bool File::Check_update_special | ( | const std::string & | gridname | ) | |
| throw | ( | Exception | |||
| ) | |||||
|
protected | |||||||||||||
This method will check if the HDF4 file is one of TRMM or OBPG products we supported.
Definition at line 1249 of file HDFSP.cc.
References MODISARNSS, OBPGL2, OBPGL3, OTHERHDF, TRMML2_V6, TRMML2_V7, TRMML3A_V6, TRMML3B_V6, TRMML3C_V6, TRMML3M_V7, and TRMML3S_V7.
Referenced by Prepare().
|
protected |
Create the new dimension name set and the dimension name to size map.
Definition at line 3558 of file HDFSP.cc.
References HDFSP::SD::fulldimnamelist, HDFSP::SD::n1dimnamelist, sd, and HDFSP::SD::sdfields.
Referenced by Prepare().
|
inline |
Obtain the path of the file.
Definition at line 766 of file HDFSP.h.
References path.
Referenced by HDFCFUtil::add_missing_cf_attrs(), and PrepareTRMML2_V7().
|
inline |
Public interface to Obtain SD.
Definition at line 772 of file HDFSP.h.
References sd.
Referenced by HDFCFUtil::add_missing_cf_attrs(), change_das_mod08_scale_offset(), HDFCFUtil::check_obpg_global_attrs(), HDFCFUtil::handle_merra_ceres_attrs_with_bes_keys(), HDFCFUtil::handle_otherhdf_special_attrs(), read_das_hdfsp(), read_das_special_eos2_core(), read_dds_hdfsp(), and read_dds_special_1d_grid().
|
inline |
Obtain special HDF4 product type.
Definition at line 750 of file HDFSP.h.
Referenced by HDFCFUtil::add_missing_cf_attrs(), HDFCFUtil::add_obpg_special_attrs(), HDFCFUtil::check_obpg_global_attrs(), HDFCFUtil::handle_merra_ceres_attrs_with_bes_keys(), HDFCFUtil::handle_otherhdf_special_attrs(), HDFCFUtil::handle_vdata_attrs_with_desc_key(), read_das_hdfsp(), and read_dds_hdfsp().
|
inline |
Public interface to Obtain Vdata.
Definition at line 778 of file HDFSP.h.
References vds.
Referenced by HDFCFUtil::handle_vdata_attrs_with_desc_key(), and read_dds_hdfsp().
|
inline |
Get attributes for all vgroups.
Definition at line 784 of file HDFSP.h.
References vg_attrs.
Referenced by read_das_hdfsp().
| void File::Handle_AIRS_L23 | ( | ) | ||
| throw | ( | Exception | ||
| ) | ||||
Definition at line 969 of file HDFSP.cc.
References basename(), HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, path, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, HDFSP::SDField::setUnits(), and HDFSP::Field::type.

|
protected | ||||||||||||||||||||||||
Create "coordinates", "units" CF attributes.
Definition at line 3843 of file HDFSP.cc.
References HDFSP::SD::dimcvarlist, sd, HDFSP::SD::sdfields, and throw3.
Referenced by Prepare().
|
protected | |||||||||||||
Check name clashing for fields. Borrowed from HDFEOS.cc, unused. bool check_field_name_clashing (bool bUseDimNameMatching) const;.
Handle SDS fakedim names: make the dimensions with the same dimension size share the same dimension name. In this way, we can reduce many fakedims.
Definition at line 3483 of file HDFSP.cc.
References OTHERHDF, sd, HDFSP::SD::sdfields, and throw5.
Referenced by Prepare().
|
protected | |||||||||||||
Create the final CF-compliant dimension name list for each field.
Handle dimension name clashings
Definition at line 3617 of file HDFSP.cc.
References HDFSP::SD::fulldimnamelist, HDFCFUtil::get_CF_string(), HDFCFUtil::Handle_NameClashing(), HDFCFUtil::insert_map(), HDFSP::SD::n2dimnamelist, sd, HDFSP::SD::sdfields, and throw5.
Referenced by Prepare().

|
protected |
Add the missing coordinate variables based on the corrected dimension name list.
Definition at line 3581 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::SD::n1dimnamelist, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().
|
protected | ||||||||||||||||||||||||
Create the final CF-compliant field name list.
Definition at line 3665 of file HDFSP.cc.
References CER_AVG, CER_CDAY, CER_CGEO, CER_ES4, CER_SRB, CER_SYN, CER_ZAVG, HDFCFUtil::check_beskeys(), HDFSP::SD::dimcvarlist, HDFCFUtil::get_CF_string(), HDFCFUtil::Handle_NameClashing(), HDFCFUtil::insert_map(), OTHERHDF, sd, HDFSP::SD::sdfields, and throw3.
Referenced by Prepare().

|
protected | |||||||||||||
Handle Vdata.
Definition at line 3926 of file HDFSP.cc.
References HDFCFUtil::check_beskeys(), HDFCFUtil::Handle_NameClashing(), and vds.
Referenced by Prepare().

|
inline |
This file has a field that is a SDS dimension but no dimension scale.
Definition at line 757 of file HDFSP.h.
Referenced by HDFCFUtil::handle_otherhdf_special_attrs(), read_das_hdfsp(), and read_dds_hdfsp().
|
protected | |||||||||||||
The full path of SDS and Vdata will be obtained.
Definition at line 2649 of file HDFSP.cc.
References _BACK_SLASH, _HDF_CHK_TBL_CLASS, free(), HDFCFUtil::get_CF_string(), HDFSP::VDATA::getFields(), HDFSP::VDATA::getTreatAsAttrFlag(), malloc(), MAX_FULL_PATH_LEN, HDFSP::VDATA::name, HDFSP::VDATA::newname, NULL, HDFSP::VDATA::Read(), throw1, throw3, throw5, and TRUE.
Referenced by Prepare().

|
protected | ||||||||||||||||||||||||||||
The internal function used by InsertOrigFieldPath_ReadVgVdata.
Definition at line 2974 of file HDFSP.cc.
References _BACK_SLASH, _HDF_CHK_TBL_CLASS, free(), HDFCFUtil::get_CF_string(), HDFSP::VDATA::getFields(), HDFSP::VDATA::getTreatAsAttrFlag(), malloc(), MAX_FULL_PATH_LEN, HDFSP::VDATA::name, HDFSP::VDATA::newname, NULL, HDFSP::VDATA::Read(), throw1, throw3, and TRUE.

|
protected | ||||||||||||||||||||||||||||||||
Definition at line 4155 of file HDFSP.cc.
Referenced by PrepareTRMML3M_V7(), and PrepareTRMML3S_V7().
|
protected | ||||||||||||||||||||
Definition at line 4134 of file HDFSP.cc.
References HDFCFUtil::parser_trmm_v7_gridheader().
Referenced by PrepareTRMML3S_V7().

|
protected | ||||||||||||||||||||||||
The internal function used to obtain the path for hybrid non-lone vdata.
Definition at line 3277 of file HDFSP.cc.
References _BACK_SLASH, _HDF_CHK_TBL_CLASS, free(), HDFCFUtil::get_CF_string(), HDFSP::VDATA::getFields(), HDFSP::VDATA::getTreatAsAttrFlag(), malloc(), MAX_FULL_PATH_LEN, HDFSP::VDATA::name, HDFSP::VDATA::newname, NULL, throw1, throw3, and TRUE.

| void File::Prepare | ( | ) | ||
| throw | ( | Exception | ||
| ) | ||||
The main step to make HDF4 SDS objects CF-complaint. All dimension(coordinate variables) information need to be ready. All special arrangements need to be done in this step.
Definition at line 3974 of file HDFSP.cc.
References CER_AVG, CER_CDAY, CER_CGEO, CER_ES4, CER_SRB, CER_SYN, CER_ZAVG, CheckSDType(), create_sds_dim_name_list(), handle_sds_coords(), handle_sds_fakedim_names(), handle_sds_final_dim_names(), handle_sds_missing_fields(), handle_sds_names(), handle_vdata(), InsertOrigFieldPath_ReadVgVdata(), MODISARNSS, OBPGL2, OBPGL3, OTHERHDF, PrepareCERAVGSYN(), PrepareCERES4IG(), PrepareCERSAVGID(), PrepareCERZAVG(), PrepareMODISARNSS(), PrepareOBPGL2(), PrepareOBPGL3(), PrepareOTHERHDF(), PrepareTRMML2_V6(), PrepareTRMML2_V7(), PrepareTRMML3A_V6(), PrepareTRMML3B_V6(), PrepareTRMML3C_V6(), PrepareTRMML3M_V7(), PrepareTRMML3S_V7(), sd, HDFSP::SD::sdfields, throw1, throw3, TRMML2_V6, TRMML2_V7, TRMML3A_V6, TRMML3B_V6, TRMML3C_V6, TRMML3M_V7, and TRMML3S_V7.
Referenced by read_das_hdfsp(), read_das_special_eos2(), and read_dds_hdfsp().

|
protected | |||||||||||||
Special method to prepare CERES AVG (CER_AVG_???) and CERES SYN(CER_SYN_???) latitude and longitude information. Latitude and longitude are provided; some redundant CO-Latitude and longitude are removed from the final DDS.
Definition at line 5573 of file HDFSP.cc.
References HDFSP::SD::nonmisscvdimnamelist, sd, HDFSP::SD::sdfields, and throw3.
Referenced by Prepare().
|
protected | |||||||||||||
Special method to prepare CERES ES4 (CER_ES4_???) and CERES ISCCP GEO(CER_ISCCP__???GEO) latitude and longitude information. Essentially the lat/lon need to be condensed to 1-D for the geographic projection.
Definition at line 5652 of file HDFSP.cc.
References HDFSP::SD::nonmisscvdimnamelist, sd, and HDFSP::SD::sdfields.
Referenced by Prepare().
|
protected | |||||||||||||
Special method to prepare CERES SAVG (CER_SAVG_???) and CERES ISCCP DAYLIKE(CER_ISCCP__???DAYLIKE) latitude and longitude information. Essentially nested CERES 2-d lat/lon need to be provided. https://eosweb.larc.nasa.gov/sites/default/files/project/ceres/quality_summaries/srbavg_ed2d/nestedgrid.pdf.
Definition at line 5785 of file HDFSP.cc.
References CER_CDAY, CER_SRB, HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().
|
protected | |||||||||||||
Special method to prepare CERES Zonal Average latitude and longitude information.
Definition at line 5928 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().
|
protected | |||||||||||||
MODISARNSS is a special MODIS product saved as pure HDF4 files. Dimension names of different fields need to be changed to be consistent with lat/lon.
Definition at line 5979 of file HDFSP.cc.
References if(), HDFSP::SD::nonmisscvdimnamelist, sd, and HDFSP::SD::sdfields.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare OBPG Level 2 latitude and longitude information. The latitude and longitude need to be interpolated.
Definition at line 5364 of file HDFSP.cc.
References HDFSP::SD::getAttributes(), if(), HDFSP::SD::nonmisscvdimnamelist, sd, HDFSP::SD::sdfields, throw1, and throw3.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare OBPG Level 3 latitude and longitude information. The latitude and longitude are calculated by using the attributes.
Definition at line 5449 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::SD::getAttributes(), if(), HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, throw3, and HDFSP::Field::type.
Referenced by Prepare().

|
protected | |||||||||||||
We still provide a hook for other HDF data product although no CF compliant is followed.
Definition at line 6031 of file HDFSP.cc.
References HDFSP::SD::getAttributes(), HDFCFUtil::insert_map(), HDFSP::SD::nonmisscvdimnamelist, path, sd, HDFSP::SD::sdfields, and throw2.
Referenced by Prepare().

|
protected | |||||||||||||
Latitude and longitude are stored in one array(geolocation). Need to separate.
Special method to prepare TRMM Level 2 latitude and longitude information. Latitude and longitude are stored in one array(geolocation). Need to separate.
Definition at line 4803 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldref, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, HDFSP::Field::rank, HDFSP::SDField::rootfieldname, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().
|
protected | |||||||||||||
Latitude and longitude are stored in different fields. Need to separate.
Definition at line 4179 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, getPath(), HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare TRMM Level 3A46 latitude and longitude information.
Definition at line 5051 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::getName(), if(), HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, throw5, and HDFSP::Field::type.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare TRMM Level 3B latitude and longitude information.
Definition at line 4947 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, throw5, and HDFSP::Field::type.
Referenced by Prepare().
|
protected | |||||||||||||
Special method to prepare TRMM Level 3 CSH latitude,longitude and Height information.
Definition at line 5214 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::getName(), HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, throw1, throw5, and HDFSP::Field::type.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare TRMM multiple grid Level 3 geolocation fields(latitude,longitude,etc) information.
Definition at line 4660 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldref, HDFSP::SDField::fieldtype, following, HDFSP::SD::getAttributes(), HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, Obtain_TRMM_V7_latlon_name(), HDFCFUtil::parser_trmm_v7_gridheader(), path, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().

|
protected | |||||||||||||
Special method to prepare TRMM single grid Level 3 geolocation fields(latitude,longitude,etc) information.
Definition at line 4328 of file HDFSP.cc.
References HDFSP::SDField::correcteddims, HDFSP::SDField::dims, HDFSP::SDField::fieldtype, HDFSP::Field::name, HDFSP::Field::newname, HDFSP::SD::nonmisscvdimnamelist, NULL, Obtain_TRMM_V7_latlon_name(), Obtain_TRMML3S_V7_latlon_size(), path, HDFSP::Field::rank, sd, HDFSP::SD::sdfields, and HDFSP::Field::type.
Referenced by Prepare().

Retrieve SDS and Vdata information from the HDF4 file.
Definition at line 196 of file HDFSP.cc.
References path, HDFSP::SD::Read(), ReadLoneVdatas(), sd, and throw2.
Referenced by read_das_hdfsp(), read_das_special_eos2(), and read_dds_hdfsp().

Retrieve SDS and Vdata information from the hybrid HDF-EOS file. Currently we only support the access of additional SDS objects.
Definition at line 249 of file HDFSP.cc.
References path, HDFSP::SD::Read_Hybrid(), ReadHybridNonLoneVdatas(), ReadLoneVdatas(), sd, and throw2.

Handle non-attribute non-lone vdatas. Note: this function is only used for handling hybrid Vdata functions.
Definition at line 527 of file HDFSP.cc.
References _BACK_SLASH, _HDF_CHK_TBL_CLASS, free(), HDFCFUtil::get_CF_string(), HDFSP::VDATA::getFields(), HDFSP::VDATA::getTreatAsAttrFlag(), malloc(), MAX_FULL_PATH_LEN, HDFSP::VDATA::name, HDFSP::VDATA::newname, NULL, HDFSP::VDATA::Read(), throw1, throw2, throw3, throw5, and TRUE.
Referenced by Read_Hybrid().

Handle non-attribute lone vdatas.
Definition at line 302 of file HDFSP.cc.
References _HDF_CHK_TBL_CLASS, CER_AVG, CER_AVG_NAME, CER_CDAY, CER_CDAY_NAME, CER_CGEO, CER_CGEO_NAME, CER_ES4, CER_ES4_NAME, CER_SRB, CER_SRB_NAME, CER_SYN, CER_SYN_NAME, CER_ZAVG, CER_ZAVG_NAME, CERE_META_FIELD_NAME, CERE_META_NAME, free(), HDFCFUtil::get_CF_string(), HDFSP::VDATA::getFields(), HDFSP::VDATA::getTreatAsAttrFlag(), malloc(), HDFSP::VDATA::newname, NULL, HDFSP::VDATA::Read(), throw1, throw2, throw3, throw5, and TRUE.
Referenced by Read(), and Read_Hybrid().

|
protected | ||||||||||||||||||||
Obtain vgroup attributes.
Definition at line 2598 of file HDFSP.cc.
References HDFSP::AttrContainer::attrs, HDFSP::Attribute::count, HDFCFUtil::get_CF_string(), HDFSP::Attribute::name, HDFSP::AttrContainer::name, HDFSP::Attribute::newname, NULL, throw1, throw3, HDFSP::Attribute::type, and HDFSP::Attribute::value.

|
protected |
The absolute path of the file.
Definition at line 800 of file HDFSP.h.
Referenced by getPath(), Handle_AIRS_L23(), PrepareOTHERHDF(), PrepareTRMML3M_V7(), PrepareTRMML3S_V7(), Read(), and Read_Hybrid().
|
protected |
Pointer to the SD instance. There is only one SD instance in an HDF4 file.
Definition at line 803 of file HDFSP.h.
Referenced by create_sds_dim_name_list(), getSD(), Handle_AIRS_L23(), handle_sds_coords(), handle_sds_fakedim_names(), handle_sds_final_dim_names(), handle_sds_missing_fields(), handle_sds_names(), Prepare(), PrepareCERAVGSYN(), PrepareCERES4IG(), PrepareCERSAVGID(), PrepareCERZAVG(), PrepareMODISARNSS(), PrepareOBPGL2(), PrepareOBPGL3(), PrepareOTHERHDF(), PrepareTRMML2_V6(), PrepareTRMML2_V7(), PrepareTRMML3A_V6(), PrepareTRMML3B_V6(), PrepareTRMML3C_V6(), PrepareTRMML3M_V7(), PrepareTRMML3S_V7(), Read(), and Read_Hybrid().
|
protected |
Vdata objects in this file.
Definition at line 806 of file HDFSP.h.
Referenced by getVDATAs(), and handle_vdata().
|
protected |
Vgroup attribute information. See the description of the class AttrContainer.
Definition at line 809 of file HDFSP.h.
Referenced by getVgattrs().