Skip to content

new functionality for HDF5 I/O and for LALDict, LALList, and LALValue

Jolien Creighton requested to merge jolien-creighton/lalsuite:update-hdf5 into master

Description

This adds new functionality to the HDF5 interface, to LALValue, LALList, and LALDict. Specifically:

  • Added ability to read/write variable length string datasets in HDF5
  • Dynamically allocate keys in LALDict (allows for long keynames)
  • New BLOB type for LALValue to store arbitrary binary data
  • Routines to convert LALDict, LALList, LALValue to strings
  • Improved print routines for LALDict, LALList, LALValue (using strings)

Many of these changes will be needed for LAL to read the new HDF5-based CBC injection files, and to increase functionality of the new CBC waveform generation interface. The old print routines for LALDict, LALList, and LALValue didn't work correctly; this addresses that.

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

Review Status

There are no reviews related to this.

Merge request reports