[ HDF5 High Level Tutorial Top ] [ Next ] [ Prev ]

H5TB: HDF5 Table
Tables

Combine tables

Two tables can be combined into a third. We use the function H5TBcombine_tables. To use this function only the names of the tables is necessary. The following call combines "Table1" and "Table2" into a new table called "Table3".

H5TBcombine_tables( file_id1, "Table1", file_id2, "Table2", "Table3" );

The tables can be located on different files, identified by file_id1 and file_id2 (identifiers obtained with H5Fcreate). 

Programming Example

The following C program provides an example. The corresponding HDF5 file that is generated is also referenced here. You can use an HDF5 file browser to access this file by clicking on the link below.

NOTE: To download a tar file of all of the examples, including a Makefile, please go to the Index page.


HDF Help Desk
Last modified: November 18, 2002