The HDF-EOS Metadata Reader is a tool that reads metadata from an
HDF-EOS2
file
and writes the metadata to an ASCII text file. Compared to
HDF-EOS Metadata Updator (HEMU),
this tool cannot replace or update metadata. This program accesses CoreMetadata
,
ArchiveMetadata
, InventoryMetadata
, CollectionMetadata
,
StructMetadata
and ProductMetadata
. This program does not support HDF-EOS5 files.
This tool requires the
HDF4
library, but does not require the
HDF-EOS2
library.
The HMR package includes
Makefile
, and the user may need to set
IFLAG
and LFLAG
in this file according to the path to the HDF4 library.
Also, the user may need to add the path to the szip library to LFLAG
and
-lsz
flag to LIBFLAG
if HDF4 is built with the szip library as follows:
This program is very simple to use. This program takes two command-line arguments; the first argument is the input HDF-EOS2 file name, and the second argument is the output file name.