Skip to content

Re-factor HDFFile

Afonso Mukai requested to merge refactor_hdf_file into master

Created by: SkyToGround

Description of work

  • Split the (1100 line) HDFFile.cpp-file into three new files.
  • Re-wrote the HDFFile class to inherit from a base class in order to better support unit testing.
  • Modified unit tests and supporting code to accommodate the changes to the HDFFile class.
  • Fixed bugs in writing of static data to the HDF file such that the code will now throw an error if the unit type is unknown instead of (as previously) fail silently.
  • Moved code for checking the HDF5 version from being executed when starting a job to being executed when starting the application.

Merge request reports