Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.03 KB

This library provides a high-level Clojure interface to the HDF5 library for storing scientific data. It is built on top of the JHDF5 library, which provides a high-level Java interface. While JHDF5 can be used directly from Clojure, this additional layer adds a lot of convenience:

  • Uses Clojure vectors rather than Java arrays for array I/O.
  • Multimethods reduce the huge Java API to just a few functions.

This library is work in progress. Only scalar and 1D array data are supported at the moment, both for datasets and attributes.

Building:

This build depends on a local jar for JHDF5. Build is managed by Leiningen, and the local jar dependency is resolved by creating a local maven repository more or less like:

mvn deploy:deploy-file -DgroupId=cisd -DartifactId=jhdf5 \
-Dversion=12.02.3 -Dpackaging=jar \
-Dfile=/path/to/cisd-jhdf5-batteries_included_lin_win_mac_sol.jar \
-Durl=file:repo

Links:

HDF5

http://www.hdfgroup.org/

JHDF5

https://wiki-bsse.ethz.ch/display/JHDF5/JHDF5+(HDF5+for+Java)