Skip to main content
QUICK REVIEW

[Paper Review] Is HDF5 a good format to replace UVFITS?

Danny C. Price, Benjamin R. Barsdell|arXiv (Cornell University)|Nov 3, 2014
Fluorine in Organic ChemistryPharmacology, Toxicology and Pharmaceutics3 references5 citations
TL;DR

This paper evaluates HDF5 as a replacement for UVFITS in radio astronomy, proposing a direct mapping of FITS data models to HDF5 to preserve compatibility while leveraging HDF5's superior performance in I/O, compression, and scalability. The authors implement tools (fits2hdf and ms2hdf) that convert UVFITS and MeasurementSet data to HDF5 with minimal loss, achieving 1.65x compression in 7.5 seconds using bitshuffle—outperforming gzip by 1.40x in 53 seconds.

ABSTRACT

The FITS (Flexible Image Transport System) data format was developed in the late 1970s for storage and exchange of astronomy-related image data. Since then, it has become a standard file format not only for images, but also for radio interferometer data (e.g. UVFITS, FITS-IDI). But is FITS the right format for next-generation telescopes to adopt? The newer Hierarchical Data Format (HDF5) file format offers considerable advantages over FITS, but has yet to gain widespread adoption within radio astronomy. One of the major holdbacks is that HDF5 is not well supported by data reduction software packages. Here, we present a comparison of FITS, HDF5, and the MeasurementSet (MS) format for storage of interferometric data. In addition, we present a tool for converting between formats. We show that the underlying data model of FITS can be ported to HDF5, a first step toward achieving wider HDF5 support.

Motivation & Objective

  • Address the limitations of FITS and UVFITS in handling next-generation radio astronomy datasets.
  • Assess HDF5 as a viable alternative for storing visibility data due to its advanced storage model and performance features.
  • Enable backward compatibility by mapping FITS and MeasurementSet data models to HDF5 without requiring changes to existing software.
  • Develop practical tools to convert between FITS, MS, and HDF5 formats for seamless data migration.
  • Demonstrate that HDF5 can support existing astronomical data conventions while improving efficiency and scalability.

Proposed method

  • Map FITS HDUs to HDF5 groups, FITS cards to HDF5 attributes, and FITS data payloads to HDF5 datasets.
  • Implement a Python-based tool, fits2hdf, using PyFITS and h5py to convert any valid FITS file to HDF5 with a standardized HDFITS data model.
  • Use the bitshuffle filter in HDF5 to optimize compression of visibility data, leveraging its efficiency for scientific data.
  • Extend the conversion pipeline to support MeasurementSet (MS) format by creating an HDF-MS data model within HDF5 using the ms2hdf utility.
  • Ensure reversibility by maintaining a restricted subset of HDF5 that allows lossless conversion back to FITS or MS.
  • Validate the approach using a 1.2 GB LEDA correlator dataset to compare compression ratios and write times.

Experimental results

Research questions

  • RQ1Can the FITS data model for visibility data be effectively mapped to the HDF5 data model without breaking compatibility?
  • RQ2Does HDF5 offer measurable improvements in I/O performance and data compression over FITS for radio interferometric data?
  • RQ3Can existing data reduction software be adapted to read HDF5-stored visibility data with minimal modification?
  • RQ4What is the performance of HDF5 with the bitshuffle filter on real-world radio astronomy datasets?
  • RQ5Is it feasible to maintain backward compatibility while transitioning from UVFITS and MeasurementSet to HDF5?

Key findings

  • The HDF5 format supports the FITS and MeasurementSet data models through a structured mapping that preserves data semantics and enables lossless conversion.
  • Using the bitshuffle filter, HDF5 achieved a 1.65x compression ratio on a 1.2 GB visibility dataset in 7.5 seconds, outperforming standard gzip, which achieved 1.40x compression in 53.0 seconds.
  • The fits2hdf and ms2hdf tools successfully convert UVFITS and MeasurementSet files to HDF5 while maintaining data integrity and enabling reverse conversion.
  • HDF5’s native support for parallel I/O, data chunking, and external storage makes it well-suited for large-scale, next-generation radio telescope data.
  • The HDFITS data model is a restricted subset of HDF5, ensuring that any HDFITS file can be converted back to FITS without data loss.
  • The study demonstrates that HDF5 can serve as a scalable, efficient, and extensible replacement for UVFITS without requiring a complete overhaul of existing software ecosystems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.