|
bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
#include <HE2CF.h>

Public Member Functions | |
| bool | close () |
| closes the opened file. | |
| 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. | |
| bool | open (const std::string &filename, const int sd_id, const int file_id) |
| openes \afilename HDF4 file. | |
| void | set_DAS (libdap::DAS *das) |
| sets DAS pointer so that we can bulid attribute tables. | |
| 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, const std::string &coord) |
| bool | write_attribute_FillValue (const std::string &varname, int type, float val) |
| bool | write_attribute_units (const std::string &varname, const 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.
| void HE2CF::set_DAS | ( | libdap::DAS * | das | ) |
| bool HE2CF::write_attribute_coordinates | ( | const std::string & | varname, |
| const std::string & | coord ) |
| bool HE2CF::write_attribute_units | ( | const std::string & | varname, |
| const std::string & | units ) |