Skip to section navigationSkip to content

Open Source Software

Contact Us:

NASA's Goddard Space
Flight Center

Code 504
8800 Greenbelt Road
Greenbelt, MD 20771


OSI Certified

The Technology Transfer and Partnerships Office
XML to HDF-EOS Converter

Program that takes an XML representation of the contents of an HDF-EOS file and recreates the file from that description.

A. The Data Usability group created an XML Schema for HDF-EOS - a specification for representing the contents of an HDF-EOS dataset in XML. As part of testing to be sure the schema was adequate, we wrote programs to move HDF-EOS datasets into and out of the specified XML format.

B,C. HDF 4 and HDF 5 both have tools that dump datasets in human-readable form and turn that form back into a dataset. This program works with our HDF-EOS-specific schema and goes from XML, an industry standard serialization format.

D. The generic HDF 4 and 5 tools display a lot of internal structure not relevant to the primary HDF-EOS data model.

The program uses the GPL parser expat to parse XML and control extraction of data from input XML file.

XML to HDF-EOS Converter

This tool was developed as a demonstration of how to work with HDF-EOS data produced by NASA’s EOS program, including the standard products of the EOS Terra, Aqua and Aura missions and other EOSDIS standard products. The development of these tools is not ongoing and this source is offered “as is” with the hope that it may be useful.

XML to HDF-EOS Converter Goals

Functional Goals


Evolvability Goals


Usability Goals


Software Packages

This software is released under the terms and conditions of the NASA Open Source Agreement (NOSA) Version 1.1 or later.
XML to HDF-EOS Converter NOSA

XML to HDF-EOS Converter v.4
XML to HDF-EOS Converter v.5

NASA logo - link to
  • Page Last Updated: October 24, 2019
  • Page Editor: Adil Anis
  • NASA Official: Darryl Mitchell