Wrote a library function that generates a metadata structure from GAMMA DEM par file. Extended the calc_stats function for use in write_hdf5_xml tool.