hdf images hdf images

This web site is no longer maintained (but will remain online).
Please see The HDF Group's new Support Portal for the latest information.

HDF5 C Examples in Source Code

HDF5 Introductory Examples for C  
Creates / Reads / Writes Attributes h5_attribute.c
Reads / Writes from a Chunked Dataset (reads file created by h5_extend_write.c) h5_chunk_read.c
Creates a compound datatype, writes array of compound and reads back fields' subsets h5_compound.c
Shows how to use virtual file drivers h5_drivers.c
Demonstrates how the data transform features in HDF5 work h5_dtransform.c
Windows to Unix traversal function for external links h5_elink_unix2win.c
Create and appends to an extendible dataset h5_extend_write.c
Create and uses external links in HDF5 h5_extlink.c
Creates a group with two datasets, creates hard link to group and uses iterator functions h5_group.c
Checks if group exists and creates intermediate groups h5_interm_group.c
Shows concept of mounting files h5_mount.c
Reads hyperslabs from file created with h5_write.c h5_read.c
Creates, stores, and dereferences references to dataset regions h5_ref2reg.c
Creates and reads object references h5_reference.c
Selects hyperslabs and elements to write selected data from memory to file h5_select.c
Creates a file using property lists to control which messages are shared (to save space) h5_shared_mesg.c
Creates a dataset using default properties h5_write.c
Example of using parallel HDF5 ph5example.c


- - Last modified: 04 November 2016