Skip to content

ocramz/hdf5-lite

Repository files navigation

hdf5-lite

Build Status

Bindings to the HDF5 "lite" interface: https://support.hdfgroup.org/HDF5/doc/HL/RM_H5LT.html

Warning

Experimental, partly tested and incomplete, not meant for production use.

Dependencies

  • The HDF5 library headers must be correctly installed at /usr/local/hdf5/include. In particular, the file /usr/local/hdf5/include/hdf5_hl.h must be present

  • The stack build tool

  • The c2hs tool (in case you don't have it, stack install c2hs)

Installation

  • make
    • generates the Haskell types by running c2hs. This is necessary since HDF5 may be configured to use specific numerical precisions etc.
    • runs stack build

Credits

Inspiration : hnetcdf