**DEPRECATED** Go bindings to the HDF5 library
Go Makefile
Latest commit f747bbf Jan 1, 2017 @sbinet doc: freeze package
Permalink
Failed to load latest commit information.
cmd all: put tests of commands under cmd/xyz Nov 4, 2014
.travis.yml travis: hack for go-1.{6,7}-cgorules Dec 15, 2016
LICENSE LICENSE: go-hdf5 Feb 6, 2015
Makefile make: simple makefile to document workflow Sep 30, 2014
README.md doc: freeze package Jan 1, 2017
cgoflags.go cgo linux flags Dec 15, 2016
errors.go Add function to check IDs more easily than h5err Sep 30, 2014
h5a.go Fix string attributes broken by new cgo rules May 4, 2016
h5a_test.go Fix string attributes broken by new cgo rules May 4, 2016
h5d.go Close datatypes explicitely Oct 1, 2014
h5d_test.go h5d: handle slices. improve test Sep 25, 2014
h5f.go Simplify bool returns Sep 30, 2014
h5f_test.go all: golint+gofmt Sep 25, 2014
h5g.go Update some comments Oct 1, 2014
h5g_test.go Refactored h5t.go. Datatype is not longer required when calling Datas… Sep 25, 2014
h5i.go Update some comments Oct 1, 2014
h5p.go Panic errors instead of strings Sep 30, 2014
h5pt.go Fix Close method for packet tables (so tests pass) Nov 6, 2014
h5pt_test.go all: fix tests Nov 4, 2014
h5s.go Panic errors instead of strings Sep 30, 2014
h5s_test.go Improved h5s docs a bit. Oct 29, 2013
h5t.go Fix insidious finalizer bug on compound datatypes Nov 6, 2014
h5t_shim.go Remove unused c header file. Sep 30, 2014
h5t_test.go Add test for finalizer bug Nov 6, 2014
hdf5.go Add function to check IDs more easily than h5err Sep 30, 2014
hdf5_test.go all: put tests of commands under cmd/xyz Nov 4, 2014

README.md

go-hdf5

Build Status GoDoc

Naive cgo bindings for the C-API of hdf5.

Status

FROZEN: this package is frozen. New developments should be requested to gonum/hdf5.

This package will stay as is to not break people relying on it. But NO new developments will happen. Requests for new features, bug fixes, etc... should be directed against gonum/hdf5 (but, do note that gonum/hdf5 API is still in flux).

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

Documentation

http://godoc.org/github.com/sbinet/go-hdf5

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