This class retrieves all SDS objects and SD file attributes.
More...
#include <HDFSP.h>
|
static SD * | Read (int32 sdfileid, int32 hfileid) throw (Exception) |
| Read the information of all SDS objects from the HDF4 file. More...
|
|
static SD * | Read_Hybrid (int32 sdfileid, int32 hfileid) throw (Exception) |
| Read the information of all hybrid SDS objects from the HDF4 file. More...
|
|
|
| SD (int32 sdfileid, int32 hfileid) |
|
This class retrieves all SDS objects and SD file attributes.
Definition at line 557 of file HDFSP.h.
◆ ~SD()
◆ getAttributes()
const std::vector< Attribute * >& HDFSP::SD::getAttributes |
( |
| ) |
const |
|
inline |
Public interface to obtain the SD(file) attributes.
Definition at line 583 of file HDFSP.h.
◆ getFields()
const std::vector< SDField * >& HDFSP::SD::getFields |
( |
| ) |
const |
|
inline |
Redundant member function.
Public interface to obtain information of all SDS vectors(objects).
Definition at line 577 of file HDFSP.h.
◆ obtain_noneos2_sds_path()
void SD::obtain_noneos2_sds_path |
( |
int32 |
file_id, |
|
|
char * |
full_path, |
|
|
int32 |
pobj_ref |
|
) |
| |
throw | ( | Exception |
| ) | | |
Obtain SDS path, this is like a clone of obtain_path in File class, except the Vdata and some minor parts.
Definition at line 3316 of file HDFSP.cc.
◆ Read()
SD * SD::Read |
( |
int32 |
sdfileid, |
|
|
int32 |
hfileid |
|
) |
| |
throw | ( | Exception |
| ) | | |
|
static |
Read the information of all SDS objects from the HDF4 file.
Definition at line 1599 of file HDFSP.cc.
◆ Read_Hybrid()
SD * SD::Read_Hybrid |
( |
int32 |
sdfileid, |
|
|
int32 |
hfileid |
|
) |
| |
throw | ( | Exception |
| ) | | |
|
static |
Read the information of all hybrid SDS objects from the HDF4 file.
Definition at line 1948 of file HDFSP.cc.
◆ attrs
SD attributes stored in vectors.
Definition at line 605 of file HDFSP.h.
◆ dimcvarlist
std::map< std::string, std::string > HDFSP::SD::dimcvarlist |
|
protected |
dimension name to coordinate variable name list: the key list to generate CF "coordinates" attributes.
Definition at line 629 of file HDFSP.h.
◆ fulldimnamelist
std::set< std::string > HDFSP::SD::fulldimnamelist |
|
protected |
Full dimension name list set.
Definition at line 621 of file HDFSP.h.
◆ n1dimnamelist
std::map< std::string, int32 > HDFSP::SD::n1dimnamelist |
|
protected |
Unique dimension name to its size map, may be replaced in the current implementation.
Still leave it here for potential fakeDim handling in the future.
Definition at line 615 of file HDFSP.h.
◆ n2dimnamelist
std::map< std::string, std::string > HDFSP::SD::n2dimnamelist |
|
protected |
Original dimension name to corrected dimension name map.
Definition at line 618 of file HDFSP.h.
◆ nonmisscvdimnamelist
std::set< std::string > HDFSP::SD::nonmisscvdimnamelist |
|
protected |
This set stores non-missing coordinate variable dimension names. Many third dimensions of HDF4 files have to be treated as missing coordinate variables. But latitude and longitude's corresponding dimensions are normally provided in the file. So this set is used to exclude these dimensions when creating the corresponding missing fields.
Definition at line 626 of file HDFSP.h.
◆ refindexlist
std::map< int32, int > HDFSP::SD::refindexlist |
|
protected |
SDS reference number to index map, use to quickly obtain the SDS id.
Definition at line 611 of file HDFSP.h.
◆ sdfields
std::vector< SDField * > HDFSP::SD::sdfields |
|
protected |
SDS objects stored in vectors.
Definition at line 602 of file HDFSP.h.
◆ sds_ref_list
std::list<int32> HDFSP::SD::sds_ref_list |
|
protected |
SDS reference number list.
Definition at line 608 of file HDFSP.h.
The documentation for this class was generated from the following files: