Code covered by the BSD License  

Highlights from
HDF5TOOLS

4.83333

4.8 | 6 ratings Rate this file 12 Downloads (last 30 days) File Size: 169.43 KB File ID: #17172

HDF5TOOLS

by John

 

25 Oct 2007 (Updated 21 Jun 2010)

Versatile HDF5 Utilities

| Watch this File

File Information
Description

Command-line utilities for use with HDF5 files. Included are

H5DUMP: dumps metadata to the screen
H5VARGET: reads hdf5 datasets
H5VARPUT: writes data to hdf5 datasets
H5ATTGET: reads hdf5 attributes
H5ATTPUT: writes hdf5 attributes
H5FILECREATE: create hdf5 file
H5DATACREATE: create hdf5 dataset
H5PROPINFO: retrieves property image information

MATLAB release MATLAB 7.5 (R2007b)
Other requirements Not tested on 2007a or below.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
22 May 2008 Mostafa Afgani

Excellent set of tools. I was looking for a straight-forward way to extract partial datasets from a HDF5 file and this was perfect for that.

08 Jul 2008 Anthony Kendall

Works exactly as it should. This mimics the higher-level MATLAB HDF5 functions in terms of simplicity, but gives access to lower-level functionality. Great!

14 Jan 2010 Joao  
29 Jan 2011 Saad  
26 Mar 2011 Piers

Very handy tools.
It took a while to figure out that 'chunk_size' is needed to set 'max_size' for h5datacreate.

I needed to set the fill value, so I added that option.
Also there is a small bug in 'max_size', inf isn't handled correctly.

see http://www.toverlamp.org/static/h5datacreate.m and incorporate changes if you want.

14 Jun 2011 Curtis Gehman

Basically what I was looking for. The help should indicate what happens when the read or write operations fail. A function to simply get the size and type of a data set would be handy.

Please login to add a comment or rating.
Updates
26 Oct 2007

Added H5VARPUT.
Added example for H5VARGET.

29 Oct 2007

Two additional function, H5ATTGET and H5ATTPUT

30 Oct 2007

Added read support for references in H5VARGET.

References now look the same as what the low-level interface expects.

Refactored H5ATTPUT, H5DUMP.

Got rid of mlint warnings.

Prints a placeholder for compound attributes in H5DUMP.

05 Nov 2007

Fix to compensate for enum byte swapping issue.
Added preference for full enumeration support.

05 Jan 2009

Added new H5PROPINFO m-file. Some error checking changes. Fixed int64 bug on H5ATTPUT on 32-bit platforms.

11 Jan 2009

Added int16 enum support, NaN support for fillvalues in double, single precision datasets. Fixed invalid fieldname issue in H5PROPINFO.

26 Jan 2009

Rewrite of H5DUMP. Added H5IMREAD, H5IMFINFO functions.

08 Feb 2009

Adjusted expected values for H5PROPINFO for the correct HDF5 library version.
Minor fixes to H5DUMP.

19 Feb 2009

Updated H5PROPINFO for new properties.
Removed garbage version of H5DUMP.
Fixed several testing issues.

08 Mar 2009

Fixed bug in fill value handling for H5VARGET and H5VARPUT. Added support for bit field datatypes in H5DUMP.

12 May 2009

fixed h5varput bug, 'H5S_ALL' is not appropriate for partial writes

27 May 2009

Credits The HDF Group for some of the test files.

27 Jul 2009

Bounds selection fix in H5VARGET, test suite fix. Thanks to Jon Olav for finding this.

07 Oct 2009

Updated H5DUMP for R2009b

15 Oct 2009

Allowing for 2D char attributes. Fixed typo for H5DUMP and clearly stated release requirements. Removed 3-argument signature for H5ATTPUT.

21 Jun 2010

Added two new functions suggested by customer. Optimized H5VARGET with better choice of H5D.read parameters.

Tag Activity for this File
Tag Applied By Date/Time
data import John 22 Oct 2008 09:32:55
data export John 22 Oct 2008 09:32:55
hdf5 John 22 Oct 2008 09:32:55
utilities John 22 Oct 2008 09:32:55
metadata John 22 Oct 2008 09:32:55
toold John 22 Oct 2008 09:32:55
dumps John 22 Oct 2008 09:32:55
data John 22 Oct 2008 09:32:55
data Sebastian Torrealba 17 Apr 2009 18:34:43

Contact us at files@mathworks.com