A computer program partly automates the task of determining whether an HDF-EOS 5 file is valid in that it conforms to specifications for such characteristics as attribute names, dimensionality of data products, and ranges of legal data values. [“HDF-EOS” and variants thereof are defined in “Converting EOS Data From HDF-EOS to netCDF” (GSC-15007-1), which is the first of several preceding articles in this issue of NASA Tech Briefs.] Previously, validity of a file was determined in a tedious and error-prone process in which a person examined human-readable dumps of data-file-format information.
The present software helps a user to encode the specifications for an HDF-EOS 5 file, and then inspects the file for conformity with the specifications: First, the user writes the specifications in Extensible Markup Language (XML) by use of a document type definition (DTD) that is part of the program. Next, the portion of the program (denoted the validator) that performs the inspection is executed, using, as inputs, the specifications in XML and the HDF-EOS 5 file to be validated. Finally, the user examines the output of the validator.
This program was written by Richard Ullman of Goddard Space Flight Center; Bob Bane of Global Science & Technology, Inc.; and Jingli Yang of Earth Resources Technology, Inc.