|
bool | close () |
| closes the opened file. More...
|
|
string | get_metadata (const std::string &metadataname, bool &suffix_is_num, std::vector< std::string > &non_num_names, std::vector< std::string > &non_num_data) |
| retrieves the merged metadata. More...
|
|
bool | open (const std::string &filename, const int sd_id, const int file_id) |
| openes \afilename HDF4 file. More...
|
|
void | set_DAS (libdap::DAS *das) |
| sets DAS pointer so that we can bulid attribute tables. More...
|
|
bool | set_non_ecsmetadata_attrs () |
|
bool | write_attribute (const std::string &gname, const std::string &fname, const std::string &newfname, int n_groups, int fieldtype) |
|
bool | write_attribute_coordinates (const std::string &varname, std::string coord) |
|
bool | write_attribute_FillValue (const std::string &varname, int type, float val) |
|
bool | write_attribute_units (const std::string &varname, std::string units) |
|
A class for writing attributes from an HDF-EOS2 file.
This class contains functions that generates SDS attributes and Vdata attributes. Since HDF-EOS2 library API don't have access to field attributes, we need to use generic HDF4 API.
For most HDF-EOS2 files, Grid doesn't use Vdata. Swath has Vdata but fields with Vdata normally contain attributes. However, we still check and provide ways to generate attributes.
- Author
- Hyo-Kyung Lee hyokl.nosp@m.ee@h.nosp@m.dfgro.nosp@m.up.o.nosp@m.rg
Definition at line 53 of file HE2CF.h.