/hdf5

hdf5 is a wrapper for the HDF5 library

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

hdf5

Build status Build Status GoDoc

Naive cgo bindings for the C-API of hdf5.

WIP: No stable API for this package yet.

NOTE that starting with Go >= 1.6, one needs to run with GODEBUG=cgocheck=0 to disable the new stricter CGo rules.

Example

Note

  • Only version 1.8.x of HDF5 is supported.
  • In order to use HDF5 functions in more than one goroutine simultaneously, you must build the HDF5 library with threading support. Many binary distributions (RHEL/centos/Fedora packages, etc.) do not have this enabled. Therefore, you must build HDF5 yourself on these systems.

Known problems

  • the h5pt packet table interface is broken.
  • support for structs with slices and strings as fields is broken

License

Please see github.com/gonum/gonum for general license information, contributors, authors, etc on the Gonum suite of packages.