Page tree

The license could not be verified: License Certificate has expired!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These examples are used in the Learning The Basics topic of the HDF5 Tutorial. See Compiling Your HDF5 Applications for details on compiling them. PLEASE NOTE that the example programs are listed in the order they are expected to be run. Some example programs use files created in earlier examples.

 These examples (C, C++, Fortran) are provided in the HDF5 source code and (Unix) binaries.

FeatureLanguage Examples*Comments
Create a file                               Java C   Fortran    C++  Java    Python
 
Create a dataset C   Fortran   C++   Java    Java    Python
 
Read and write to a dataset C   Fortran   C++   Java    Java    Python  
Create an attribute C   Fortran   C++   Java    Java    Python  
Create a group C   Fortran   C++   Java    Java    Python  
Create groups in a file using absolute and relative paths C   Fortran   Fortran   C++   Java    Java    Python  
Create datasets in a group C   Fortran   Fortran   C++   Java    Java    Python  
Create a file and dataset and select/read a subset from the dataset C   Fortran   Fortran   C++   Java    Python
Also see examples to Write by row (and column) below.
Create an extendible (unlimited dimension) dataset C   Fortran   Fortran   C++   Java    Python
Also see examples to Extend by row (and column) below.
Create a chunked and compressed dataset C   Fortran   Fortran   C++   Java    Python
 

 

Create a dataseth5_crtdat.f90
Read and write to a dataseth5_rdwt.f90
Create an attributeh5_crtatt.f90
Create a grouph5_crtgrp.f90
Create groups in a file using absolute and relative pathsh5_crtgrpar.f90
Create datasets in a grouph5_crtgrpd.f90
Create a file and dataset and select/read a subset from the dataset  h5_subset.f90
Create an extendible (unlimited dimension) dataseth5_extend.f90
Create a chunked and compressed dataseth5_cmprss.f90

 

 

*See HDF5Mathematica for user-contributed HDF5 Mathematica Wrappers and Introductory Tutorial Examples. The examples use P/Invoke.

Anchor
changingex
changingex
Additional Examples

These examples make minor changes to the tutorial examples.

FeatureExamples
Write by rowC  Fortran
Write by columnC  Fortran
Extend by rowC  Fortran
Extend by columnC  Fortran